MeleeDoVictoryEnum
- comment
- patch
1.00
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source 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