|
- function Trig_ssl_Actions takes nothing returns nothing
- call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(GetTriggerPlayer()) + "|cffe55bb0哈哈,5点全属性就这么来啦!|r" ) )
- call ModifyHeroStat( bj_HEROSTAT_STR, GetTriggerUnit(), bj_MODIFYMETHOD_ADD, 5 )
- call ModifyHeroStat( bj_HEROSTAT_AGI, GetTriggerUnit(), bj_MODIFYMETHOD_ADD, 5 )
- call ModifyHeroStat( bj_HEROSTAT_INT, GetTriggerUnit(), bj_MODIFYMETHOD_ADD, 5 )
- endfunction
- function InitTrig_ssl takes nothing returns nothing
- set gg_trg_ssl = CreateTrigger(  )
- call TriggerRegisterPlayerChatEvent(gg_trg_ssl, Player(0), "ssl", true )
- call TriggerRegisterPlayerChatEvent(gg_trg_ssl, Player(1), "ssl", true )
- call TriggerRegisterPlayerChatEvent(gg_trg_ssl, Player(2), "ssl", true )
- call TriggerRegisterPlayerChatEvent(gg_trg_ssl, Player(3), "ssl", true )
- call TriggerRegisterPlayerChatEvent(gg_trg_ssl, Player(4), "ssl", true )
- call TriggerAddAction(gg_trg_ssl,function Trig_ssl_Actions)
- endfunction
复制代码 |
|