Cokemonkey11
Spell Reviewer
- Joined
- May 9, 2006
- Messages
- 3,575
JASS:
scope knife initializer i
globals
private constant integer KNIFECODE='A004'
endglobals
private function c takes nothing returns boolean
return GetSpellAbilityId()==KNIFECODE
endfunction
private function a takes nothing returns nothing
call BJDebugMsg("rawr")
endfunction
private function i takes nothing returns nothing
local trigger t=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t,Condition(function c))
call TriggerAddAction(t,function a)
endfunction
endscope
Any reason the debug message wouldn't be displayed? The spell is based on banish.