# HG changeset patch # User Wuzzy # Date 1536008945 -3600 # Node ID 38fa37ffb9153e1ac8eb18ae76a89230be47f91e # Parent 9faad9be6e0e6cc919dbdd46d63a9b2289ccf098 LuaAPI: Fix inconsistent vars for SendStat diff -r 9faad9be6e0e -r 38fa37ffb915 LuaAPI.wiki --- a/LuaAPI.wiki Mon Sep 03 22:06:49 2018 +0100 +++ b/LuaAPI.wiki Mon Sep 03 22:09:05 2018 +0100 @@ -1497,12 +1497,12 @@ || `siPointType` || Replaces the word “kills” in the ranking list. You have to call this each time before you report the score or kills of a team with `siPlayerKills`. Sadly, grammatical number is currently not respected at all here. || No || || `siPlayerKills` || The number of kills for the specified team (converted to a string), as shown in the ranking list. Unless the word “kills” has been replaced by `siPointType`, then that word is used instead. Only integers (converted to string) are possible. || Yes || || `siClanHealth` || Value of a data point. This sets a single data point on the graph for the specified team. All teams will be converted to clans prior to drawing, there can only be one chart per clan. Subsequent calls will draw the next point along the horizontal axis; the frontend will then simply connect the dots in the final chart. Only whole numbers are supported. There must be at least 2 data points for any given clan, otherwise there won't be much to look at. ;-) You also should have called `SendHealthStatsOff` if to prevent the default health graphs to be drawn. || Yes || -|| `siMaxStepKills` || Most hedgehogs killed in a round. `statText` must be in format “` ()`”. || No || -|| `siMaxTeamDamage` || Team with most damage inflicted to self. `statText` must be in the format “` `”. || No || +|| `siMaxStepKills` || Most hedgehogs killed in a round. `statMessage` must be in format “` ()`”. || No || +|| `siMaxTeamDamage` || Team with most damage inflicted to self. `statMessage` must be in the format “` `”. || No || || `siKilledHHs` || Total number of killed hedgehogs (converted to string). || No || || `siTeamStats` || Sets the ranking of each team. Use number 0 for default ranking. Format: “`::::`” (and so on) || No || -|| `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statText` must be in format “` ()`”. || No || -|| `siMaxTurnSkips` || Team with most skips. `statText` must be of format “` `”. || No || +|| `siMaxStepDamage` || Most damage in one turn for the “best shot award”. `statMessage` must be in format “` ()`”. || No || +|| `siMaxTurnSkips` || Team with most skips. `statMessage` must be of format “` `”. || No || Examples: