GearTypes: Add hog damage
authorWuzzy
Sun, 02 Jun 2019 12:04:37 +0100
changeset 1914 180d42ef766d
parent 1913 db5fab5b31da
child 1915 a043892f9a4d
GearTypes: Add hog damage
GearTypes.wiki
--- a/GearTypes.wiki	Sun Jun 02 09:59:00 2019 +0100
+++ b/GearTypes.wiki	Sun Jun 02 12:04:37 2019 +0100
@@ -178,7 +178,7 @@
  * `Radius`: Collision radius. Default: 9
  * `Boom`: Explosion size and damage caused when the hedgehog dies (default: 30)
  * `FlightTime`: Time (in milliseconds) since the hedgehog stood the last time on solid ground
- * `dX`: Contains the horizontal speed (obviously). But also tells you which way the hog is looking. If negative, hog is facing left, otherwise it's facing right
+ * `Damage`: Amount of damage the hog took in this turn. At the end of turn, the health will be reduced accordingly and the `Damage` is reset to 0
 
 Hedgehogs also make heavy use of the gear state, see [States]. [GearMessages Gear messages] are used for controlling a hedgehogs movement and actions (e.g. moving left, attacking, jumping, etc.)