--- a/LuaAPI.wiki Mon Sep 25 21:45:35 2017 +0100
+++ b/LuaAPI.wiki Tue Sep 26 13:17:57 2017 +0100
@@ -1261,7 +1261,7 @@
|| `siMaxStepKills` || Most hedgehogs killed in a round. `statText` must be in format “`<kills> <name of killer hedgehog> (<team name of killer>)`”. || No ||
|| `siMaxTeamDamage` || Hedgehog with most damage inflicted to his own team. `statText` must be in the format “`<damage> <hedgehog name>`”. || No ||
|| `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No ||
-|| `siTeamStats` || Increases the wins of local teams in case the given number is greater than 0. || No ||
+|| `siTeamStats` || Sets the ranking of each team. Use number 0 for default ranking. Format: “`<team name 1>:<rank 1>:<team name 2>:<rank 2>:`” (and so on) || No ||
|| `siMaxStepDamage` || Best shot award (most damage in one turn). `statText` must be in format “`<damage> <hedgehog name> (<team name>)`”. || No ||
|| `siMaxTurnSkips` || Team with most skips. `statText` must be of format “`<number> <teamName>`”. || No ||
@@ -1289,8 +1289,8 @@
SendStat(siMaxTeamDamage, "100 hedgeHogName")
-- total number of killed hedgehogs
SendStat(siKilledHHs, "1")
--- increases the wins of local teams in case the given number is greater than 0
-SendStat(siTeamStats, "teamName:0:")
+-- ranking: sets rank of Megateam to 1 and rank of Superteam to 2
+SendStat(siTeamStats, "Megateam:1:Superteam:2:")
-- best shot award
SendStat(siMaxStepDamage, "30 hedgeHogName (teamName)")
-- team with most kills of own hedgehogs