diff -r e312e2616b75 -r 291ce8641578 LuaAPI.wiki
--- a/LuaAPI.wiki Tue Sep 26 14:14:08 2017 +0100
+++ b/LuaAPI.wiki Tue Sep 26 15:16:46 2017 +0100
@@ -1319,6 +1319,16 @@
=== !SendGameResultOff() (0.9.23) ===
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()`.
+=== !GetTeamStats(teamname) (0.9.23) ===
+Returns a table of internal stats of a team. This table has the following fields:
+
+* `Kills`: Number of kills
+* `Suicides`: Number of suicides (kamikaze, piano strikes)
+* `AIKills`: Number of AI kills
+* `TeamKills`: Number of defeated teams
+* `TurnSkips`: Number of skipped turns
+* `TeamDamage`
+
== Math Functions ==
=== div(dividend, divisor) ===