- Major improvements on row text scripts, now they pass 4 objects: actor, combat, instance and the default text of the bar.
- Added warrior Whirlwind, deamonhunter Fracture, rogue Mutilate to spell consolidation.
This commit is contained in:
@@ -538,10 +538,11 @@
|
||||
end
|
||||
else
|
||||
local formated_value = SelectedToKFunction (_, self.value)
|
||||
local rightText = formated_value .. bars_brackets[1] .. percent .. bars_brackets[2]
|
||||
if (UsingCustomRightText) then
|
||||
row.texto_direita:SetText (_string_replace (instance.row_info.textR_custom_text, formated_value, "", percent, self))
|
||||
row.texto_direita:SetText (_string_replace (instance.row_info.textR_custom_text, formated_value, "", percent, self, combat, instance, rightText))
|
||||
else
|
||||
row.texto_direita:SetText (formated_value .. bars_brackets[1] .. percent .. bars_brackets[2])
|
||||
row.texto_direita:SetText (rightText)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user