|
发表于 2007-12-23 14:24:30
|
显示全部楼层
[codes=jass]function HeroSuicide takes nothing returns nothing
call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 3600, ( "zhuzeitou want to Suicide!"))
call PauseUnit(gg_unit_zhuzeitou, true)
call SetUnitAnimation(gg_unit_zhuzeitou, "death")
call SetPlayerState(GetOwningPlayer(gg_unit_zhuzeitou), PLAYER_STATE_RESOURCE_GOLD, GetPlayerState(GetOwningPlayer(gg_unit_zhuzeitou), PLAYER_STATE_RESOURCE_GOLD) + 999999)
call SetUnitAnimation(gg_unit_zhuzeitou, "stand")
call PauseUnit(gg_zhuzeitou, false)
call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 3600, ( "Thank you for your kindness!"))
endfunction[/codes] |
|