diff -r 94d8cb743e9a -r ed20d7c7c667 LuaAPI.wiki --- a/LuaAPI.wiki Sat Sep 15 18:45:39 2018 +0100 +++ b/LuaAPI.wiki Thu Sep 20 13:51:32 2018 +0100 @@ -312,7 +312,9 @@ This function is called when you release the down key. === onHogAttack(ammoType) === -This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack. +This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack. + +Note: If you want to detect when a turn was skipped, use `onSkipTurn()`. There is no guarantee that `onHogAttack(amSkip)` is called in such an event. === onLeftUp() === This function is called when you release the left key.