Hadezown
TH.net Regular
- Reaction score
- 5
What's the method for calling the raw data name of an ability for example: Acid Bomb is 'ANab'
thanks
thanks
local integer spellId = GetSpellAbilityId()
constant native AbilityId2String takes integer abilityId returns string
call UnitAddAbilityBJ('ANab', GetSpellAbilityUnit())
local integer spellId = GetSpellAbilityId()
call UnitAddAbilityBJ(spellId, GetSpellAbilityUnit())
UnitAddAbility takes unit a, integer id returns nothing
BTW, use [ jass ] [/ jass ]
It's useless to change the ID into the raw code. Also, use the native
JASS:UnitAddAbility takes unit a, integer id returns nothing