Mortem Metallum Script Now

@OnForge $player => result = "blacksteel_sword"; soul_effect = "cursed_edge"; ; Modifiers add secondary effects to an action.

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

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

| 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 |

%var = %var - (5 * seconds_out_of_combat) @OnForge $player =&gt

@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 | result = "blacksteel_sword"

| Action | Syntax | Effect | |--------|--------|--------| | Set damage | damage = X | Override base damage | | Heal | heal = X | Restore HP | | Apply soul effect | soul_effect = "name" | Fear, Rage, Slow | | Spawn entity | spawn = "item_id" | Drop a resource | | Forge result | result = "weapon_id" | Crafting output | | Teleport | teleport = vector3 | Move entity |

o SSL