Modding
Discord Wishlist on Steam

Node book›Fighting

Deal a blow

call/Damagable.Damage

A full blow from a graph: how hard, which way, what kind, who struck, where.

Deal a blowDamagabledamagedirectiondamage typepoise damage0.0attackerhit partwound
Does
An action: done when the run reaches it
Runs
Where the game is decided: single player, the host, the server
Listed under
Fighting › Harm
In a file
call/Damagable.Damage

Pins

  • inDamagabletargeta damagable

    Who is struck.

  • indamagea number

    How much health.

  • indirectiona position

    Which way the blow travels; none for no reaction.

  • indamageTypeone of Physical, Magical, Mental, True

    What kind of harm.

  • inpoiseDamagea number

    How much it wears the stance; 0 never staggers.

    Starts as 0.0

  • inattackera character

    Who struck, for kill credit; empty for the world.

  • inhitParta hurtbox

    The body part struck.

  • inwoundone of Cut, Stab, Blunt, Arrow, Burn

    The wound it leaves.