Jass:MeleeTriggerActionPlayerDefeated
Aus Mappedia
| Funktion: MeleeTriggerActionPlayerDefeated | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function MeleeTriggerActionPlayerDefeated takes nothing returns nothing local player thePlayer = GetTriggerPlayer() call CachePlayerHeroData(thePlayer) if (MeleeGetAllyCount(thePlayer) > 0) then // If at least one ally is still alive and kicking, share units with // them and proceed with death. call ShareEverythingWithTeam(thePlayer) if (not bj_meleeDefeated[GetPlayerId(thePlayer)]) then call MeleeDoDefeat(thePlayer) endif else // If no living allies remain, swap all units and buildings over to // neutral_passive and proceed with death. call MakeUnitsPassiveForTeam(thePlayer) if (not bj_meleeDefeated[GetPlayerId(thePlayer)]) then call MeleeDoDefeat(thePlayer) endif endif call MeleeCheckForLosersAndVictors() endfunction

russische Team, stehen wir nun im Halbfinale vor einem weiteren Giganten der e-Sports-Szene:
Finnland! Die Skandinavier hatten es im Gegensatz zu unserem