tooltiperror
Super Moderator
- Reaction score
- 231
Well do you know how that would look in GUI code? If you can't do it in GUI, you certainly can't do it in JASS.
function name takes nothing returns nothing
call UnitMakeAbilityPermanent(Beastmaster, true, A02T)
endfunction
function Trig_Beastmastery_Actions takes nothing returns nothing
native UnitMakeAbilityPermanent
set Beastmaster=GetTriggerUnit()
local unit Beastmaster=CreateUnit(Nbst,player,x,y,0.)
takes unit Beastmaster, boolean permanent, integer 'A02T' returns
endfunction
//===========================================================================
function InitTrig_Beastmastery takes nothing returns nothing
set gg_trg_Beastmastery = CreateTrigger( )
call TriggerAddAction( gg_trg_Beastmastery, function Trig_Beastmastery_Actions )
endfunction