What a spell definition looks like in Hex. (Patreon)
Published:
2023-04-25 13:00:06
Imported:
2023-04
Content
I just thought maybe this would be interesting to see. This is the spell "cleave" which is a black magic spell that consumes the wound stacks on the target for a damage boost. This is actually one of the simpler spells in the game; most have several dozen lines of code in their onCast or onHit handlers.