Weep
Godspeed to the sound of the pounding
- Reaction score
- 400
I recently put
to good work to let me set data in the object editor and retrieve it in triggers. Granted, it's not any of the data fields, but I can do something like:
Art - Effect: _,10,15,20
[ljass]set cooldown = S2R(GetAbilityEffectById('Abil', EFFECT_TYPE_EFFECT, GetUnitAbilityLevel(GetTriggerUnit(), 'Abil')))[/ljass]
JASS:
native GetAbilityEffectById takes integer abilityId, effecttype t, integer index returns string
to good work to let me set data in the object editor and retrieve it in triggers. Granted, it's not any of the data fields, but I can do something like:
Art - Effect: _,10,15,20
[ljass]set cooldown = S2R(GetAbilityEffectById('Abil', EFFECT_TYPE_EFFECT, GetUnitAbilityLevel(GetTriggerUnit(), 'Abil')))[/ljass]