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/moss_giant.yaml | 78 +++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 38 deletions(-) (limited to 'data/mobs/examples/moss_giant.yaml') diff --git a/data/mobs/examples/moss_giant.yaml b/data/mobs/examples/moss_giant.yaml index 9b07a37..cff159a 100644 --- a/data/mobs/examples/moss_giant.yaml +++ b/data/mobs/examples/moss_giant.yaml @@ -1,41 +1,43 @@ -name: moss giant -description: "A towering creature covered in moss and vines, its rocky skin dripping with moisture." -idle_descriptions: - - "surveys its territory with dull eyes" - - "pulls a vine from its shoulder" - - "stamps the ground, sending tremors" - - "scratches its mossy hide" -drops: - remains: bones - loot: - - item_id: credits - weight: 50 - quantity: 120 - - item_id: credits - weight: 50 - quantity: 500 combat: - kind: combat - stats: - hp: 60 - attack: 12 - strength: 14 - defense: 10 - attack_type: crush - speed: 7 aggressive: true + attack_types: + - crush + kind: combat respawn_ticks: 45 - bonuses: - attack_bonus: 10 - strength_bonus: 12 - science_bonus: 0 - science_percent_bonus: 0 - ranged_bonus: 0 - ranged_strength_bonus: 0 - defenses: - stab_defense: 15 - slash_defense: 12 - crush_defense: 18 - science_defense: -5 - ranged_defense: 15 - size: massive + size: massive + stats: + attack: 12 + bonuses: + attack_bonus: 10 + ranged_bonus: 0 + ranged_strength_bonus: 0 + science_bonus: 0 + science_percent_bonus: 0 + strength_bonus: 12 + defense: 10 + defenses: + crush_defense: 18 + ranged_defense: 15 + science_defense: -5 + slash_defense: 12 + stab_defense: 15 + hp: 60 + max_melee_hit: 3 + speed: 7 + strength: 14 +description: A towering creature covered in moss and vines, its rocky skin dripping with moisture. +drops: + loot: + - item_id: credits + quantity: 120 + weight: 50 + - item_id: credits + quantity: 500 + weight: 50 + remains: bones +idle_descriptions: + - surveys its territory with dull eyes + - pulls a vine from its shoulder + - stamps the ground, sending tremors + - scratches its mossy hide +name: moss giant -- cgit v1.2.3