Here's the add ability function
But I want replace
call UnitAddAbility(GetTriggerUnit(), 'A005' )
But I want replace
'A005'
with a variable of some sort, I tried several times but experience compile error everytime. I have the ability saved as a string and integer is the hashtable. What I'm doing wrong?