LuaAPI.wiki
changeset 1042 907b28073cfa
parent 1041 faa8819c9a9b
child 1043 ad936934f97b
equal deleted inserted replaced
1041:faa8819c9a9b 1042:907b28073cfa
  1321 
  1321 
  1322 === <tt>!GetTeamStats(teamname)</tt> (0.9.23) ===
  1322 === <tt>!GetTeamStats(teamname)</tt> (0.9.23) ===
  1323 Returns a table of internal stats of a team. This table has the following fields:
  1323 Returns a table of internal stats of a team. This table has the following fields:
  1324 
  1324 
  1325 * `Kills`: Number of kills
  1325 * `Kills`: Number of kills
  1326 * `Suicides`: Number of suicides (kamikaze, piano strikes)
  1326 * `Suicides`: Number of suicides
  1327 * `AIKills`: Number of AI kills
  1327 * `AIKills`: Number of AI kills
  1328 * `TeamKills`: Number of defeated teams
  1328 * `TeamKills`: Number of hedgehogs killes in own team (excluding current hedghog)
  1329 * `TurnSkips`: Number of skipped turns
  1329 * `TurnSkips`: Number of skipped turns
  1330 * `TeamDamage`: Damage inflicted to own team
  1330 * `TeamDamage`: Damage inflicted to own team (excluding current hedgehog)
  1331 
  1331 
  1332 == Math Functions ==
  1332 == Math Functions ==
  1333 
  1333 
  1334 === <tt>div(dividend, divisor)</tt> ===
  1334 === <tt>div(dividend, divisor)</tt> ===
  1335 Performs an integer division and returns the result.
  1335 Performs an integer division and returns the result.