- Joined
- Mar 10, 2005
- Messages
- 55
hey,
I've heard, that Jass can read an items gold value. Is it true?
and if yes, how is it done?
im not sure about the GetItemValue nor the rest of the line.
I just want to get the gold value of the item with 10 life.
greetings Mc
I've heard, that Jass can read an items gold value. Is it true?
and if yes, how is it done?
JavaScript:
function Trig_Paladin_Xtra_Spelldamage_Copy_Copy_Actions takes nothing returns nothing
local integer i = 2
loop
exitwhen i> 6
if GetItemLifeBJ(UnitItemInSlotBJ(GetSpellAbilityUnit(), i)) == 10.00 then
set udg_Paladin_Xtra_Spelldamage_Int = GetItemValue('ratc'(UnitItemInSlotBJ(GetSpellAbilityUnit(), i))
endif
set i= i+ 1
endloop
endfunction
im not sure about the GetItemValue nor the rest of the line.
I just want to get the gold value of the item with 10 life.
greetings Mc