1361 Prevents the engine of setting the game result text at the top of the stats screen, e.g. “Team 1 wins!” when the game ends normally. This function needs to be called inside `onGameStart()`. |
1361 Prevents the engine of setting the game result text at the top of the stats screen, e.g. “Team 1 wins!” when the game ends normally. This function needs to be called inside `onGameStart()`. |
1362 |
1362 |
1363 === <tt>!GetTeamStats(teamname)</tt> (0.9.23) === |
1363 === <tt>!GetTeamStats(teamname)</tt> (0.9.23) === |
1364 Returns a table of internal stats of a team. This table has the following fields: |
1364 Returns a table of internal stats of a team. This table has the following fields: |
1365 |
1365 |
1366 * `Kills`: Number of kills |
1366 * `Kills`: Number of kills |
1367 * `Suicides`: Number of suicides (not yet working) |
1367 * `Suicides`: Number of suicides (not yet working) |
1368 * `AIKills`: Number of AI kills |
1368 * `AIKills`: Number of AI kills |
1369 * `TeamKills`: Number of hedgehogs killes in own team (excluding current hedghog) |
1369 * `TeamKills`: Number of hedgehogs killes in own team (excluding current hedghog) |
1370 * `TurnSkips`: Number of skipped turns |
1370 * `TurnSkips`: Number of skipped turns |
1371 * `TeamDamage`: Damage inflicted to own team (excluding current hedgehog) |
1371 * `TeamDamage`: Damage inflicted to own team (excluding current hedgehog) |
1372 |
1372 |
1373 == Math Functions == |
1373 == Math Functions == |
1374 |
1374 |
1375 === <tt>div(dividend, divisor)</tt> === |
1375 === <tt>div(dividend, divisor)</tt> === |
1376 Performs an integer division and returns the result. |
1376 Performs an integer division and returns the result. |