From c14c2e403c75a913e1a6d962fb6fe64f013adae5 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 22:30:31 -0400 Subject: fix: combat formulas and mob attack types (mobs switch attack styles if safespotting) --- data/mobs/examples/iron_sentinel.yaml | 76 ++++++++++++++++++----------------- 1 file changed, 39 insertions(+), 37 deletions(-) (limited to 'data/mobs/examples/iron_sentinel.yaml') diff --git a/data/mobs/examples/iron_sentinel.yaml b/data/mobs/examples/iron_sentinel.yaml index 48b2dbe..9628db1 100644 --- a/data/mobs/examples/iron_sentinel.yaml +++ b/data/mobs/examples/iron_sentinel.yaml @@ -1,40 +1,42 @@ -name: iron sentinel -description: "A massive bipedal automaton forged from pre-regression alloys. Its joints grind with each deliberate step." -idle_descriptions: - - "stands motionless, servos whining softly" - - "turns its armored head with a mechanical grind" - - "vents steam from exhaust ports" - - "scans the area with a red optical sensor" -drops: - loot: - - item_id: scrap - weight: 30 - quantity: 5 - - item_id: credits - weight: 60 - quantity: 5000 combat: - kind: combat - stats: - hp: 180 - attack: 25 - strength: 30 - defense: 45 - attack_type: crush - speed: 6 aggressive: true + attack_types: + - crush + kind: combat respawn_ticks: 100 - bonuses: - attack_bonus: 40 - strength_bonus: 35 - science_bonus: 0 - science_percent_bonus: 0 - ranged_bonus: 0 - ranged_strength_bonus: 0 - defenses: - stab_defense: 80 - slash_defense: 80 - crush_defense: 70 - science_defense: -30 - ranged_defense: 50 - size: large + size: large + stats: + attack: 25 + bonuses: + attack_bonus: 40 + ranged_bonus: 0 + ranged_strength_bonus: 0 + science_bonus: 0 + science_percent_bonus: 0 + strength_bonus: 35 + defense: 45 + defenses: + crush_defense: 70 + ranged_defense: 50 + science_defense: -30 + slash_defense: 80 + stab_defense: 80 + hp: 180 + max_melee_hit: 6 + speed: 6 + strength: 30 +description: A massive bipedal automaton forged from pre-regression alloys. Its joints grind with each deliberate step. +drops: + loot: + - item_id: scrap + quantity: 5 + weight: 30 + - item_id: credits + quantity: 5000 + weight: 60 +idle_descriptions: + - stands motionless, servos whining softly + - turns its armored head with a mechanical grind + - vents steam from exhaust ports + - scans the area with a red optical sensor +name: iron sentinel -- cgit v1.2.3