Jass:ReducePlayerTechMaxAllowed
Aus Mappedia
| Funktion: ReducePlayerTechMaxAllowed | |
|---|---|
| Parameter: | player integer integer |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function ReducePlayerTechMaxAllowed takes player whichPlayer, integer techId, integer limit returns nothing local integer oldMax = GetPlayerTechMaxAllowed(whichPlayer, techId) // A value of -1 is used to indicate no limit, so check for that as well. if (oldMax < 0 or oldMax > limit) then call SetPlayerTechMaxAllowed(whichPlayer, techId, limit) endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| player | whichPlayer | |
| integer | techId | |
| integer | limit |

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