Jass:MeleeDoVictoryEnum
Aus Mappedia
| Funktion: MeleeDoVictoryEnum | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function MeleeDoVictoryEnum takes nothing returns nothing local player thePlayer = GetEnumPlayer() local integer playerIndex = GetPlayerId(thePlayer) if (not bj_meleeVictoried[playerIndex]) then set bj_meleeVictoried[playerIndex] = true call CachePlayerHeroData(thePlayer) call RemovePlayerPreserveUnitsBJ(thePlayer, PLAYER_GAME_RESULT_VICTORY, false) endif endfunction
