update default unit prototype
This commit is contained in:
parent
00d1d99c51
commit
0756c77923
1 changed files with 3 additions and 3 deletions
|
|
@ -1220,7 +1220,7 @@ end
|
|||
specId = 0,
|
||||
specName = "",
|
||||
role = "",
|
||||
renown = 1,
|
||||
legendaryEnchant = 0,
|
||||
covenantId = 0,
|
||||
talents = {},
|
||||
conduits = {},
|
||||
|
|
@ -1306,9 +1306,9 @@ end
|
|||
unitInfo.nameFull = unitName
|
||||
end
|
||||
|
||||
function openRaidLib.UnitInfoManager.AddUnitInfo(unitName, specId, renown, covenantId, talentsTableUnpacked, conduitsTableUnpacked, pvpTalentsTableUnpacked)
|
||||
function openRaidLib.UnitInfoManager.AddUnitInfo(unitName, specId, legendaryEnchant, covenantId, talentsTableUnpacked, conduitsTableUnpacked, pvpTalentsTableUnpacked)
|
||||
local unitInfo = openRaidLib.UnitInfoManager.GetUnitInfo(unitName, true)
|
||||
openRaidLib.UnitInfoManager.SetUnitInfo(unitName, unitInfo, specId, renown, covenantId, talentsTableUnpacked, conduitsTableUnpacked, pvpTalentsTableUnpacked)
|
||||
openRaidLib.UnitInfoManager.SetUnitInfo(unitName, unitInfo, specId, legendaryEnchant, covenantId, talentsTableUnpacked, conduitsTableUnpacked, pvpTalentsTableUnpacked)
|
||||
openRaidLib.publicCallback.TriggerCallback("UnitInfoUpdate", openRaidLib.GetUnitID(unitName), openRaidLib.UnitInfoManager.UnitData[unitName], openRaidLib.UnitInfoManager.GetAllUnitsInfo())
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue