- Joined
- Aug 26, 2010
- Messages
- 573
Guy, I have a problem :|
Every such piece of code doesn't add second ability...
Both abilities with such IDs exist in my map but after this code execution first ability is deleted and second isn't added.
I need this working to make a toggling spell.
Every such piece of code doesn't add second ability...
Both abilities with such IDs exist in my map but after this code execution first ability is deleted and second isn't added.
JASS:
call UnitRemoveAbility(GetSpellAbilityUnit(), 'SFiE')
call UnitAddAbility(GetSpellAbilityUnit(), 'DFiE')