1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. API Functions
damage

ID:4
Icon:ibulletpoint.2xn

damage

This table contains information about an ongoing damage calculation. Damage reports you modify may be modifed again by the game engine if circumstances of an attack change.

integer amount

Amount of damage being caused, in hit points.

integer kind

Kind of damage reported. 0 for normal damage, 1 for a critical hit, 3 for damage greatly reduced (like getting hit with fire while wearing fur clothes), and 4 for damage greatly increased (like hitting Imps with ice damage).