Mortem Metallum Script -

| Predefined Soul Var | Meaning | |--------------------|---------| | %ferrum_essence | Base soul (physical damage) | | %aethel_metal | Magic resistance | | %umbra_alloy | Stealth/invisibility | | %mortem_force | Execution threshold bonus |

@OnStrike $victim => damage = 25 | bleed(2); Inside {} braces, you can set or modify properties. Mortem Metallum Script

@OnForge $player => result = "blacksteel_sword"; soul_effect = "cursed_edge"; ; Modifiers add secondary effects to an action. damage = 25 | bleed(2)

| Event | Fires When | |-------|-------------| | @OnStrike | Weapon hits a living target | | @OnParry | Blocking an attack perfectly | | @OnDeath | Entity dies (user = killer, target = victim) | | @OnForge | Creating an item at an anvil | | @OnSoulDrain | Absorbing soul essence from a corpse | | @OnHeat | Metal temperature exceeds threshold | | @OnBreak | Tool/weapon durability reaches 0 | Inside {} braces

@OnStrike $nearest_enemy => damage = 18 | bleed(5) | leech(40); Use if and & (alloy) to combine conditions.

| Modifier | Syntax | Effect | |----------|--------|--------| | Bleed | \| bleed(seconds) | Damage over time | | Soul Leech | \| leech(percentage) | Heal % of damage dealt | | Shatter | \| shatter(chance%) | Destroy enemy armor | | Overheat | \| overheat(value) | Increase target's metal temp | | Chain | \| chain(targets) | Hit additional enemies |

%var = %var - (5 * seconds_out_of_combat)