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/skeleton.yaml | 76 +++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 37 deletions(-) (limited to 'data/mobs/examples/skeleton.yaml') diff --git a/data/mobs/examples/skeleton.yaml b/data/mobs/examples/skeleton.yaml index 2431215..f1d9ed5 100644 --- a/data/mobs/examples/skeleton.yaml +++ b/data/mobs/examples/skeleton.yaml @@ -1,40 +1,42 @@ -name: skeleton -description: "An animated pile of bones, held together by dark energy." -idle_descriptions: - - "rattles ominously" - - "clicks its jaw open and shut" - - "stares with empty eye sockets" -drops: - remains: bones - loot: - - item_id: credits - weight: 70 - quantity: 30 - - item_id: credits - weight: 30 - quantity: 100 combat: - kind: combat - stats: - hp: 22 - attack: 8 - strength: 6 - defense: 8 - attack_type: stab - speed: 5 aggressive: true + attack_types: + - stab + kind: combat respawn_ticks: 30 - bonuses: - attack_bonus: 6 - strength_bonus: 4 - science_bonus: 0 - science_percent_bonus: 0 - ranged_bonus: 0 - ranged_strength_bonus: 0 - defenses: - stab_defense: 10 - slash_defense: 18 - crush_defense: -5 - science_defense: -8 - ranged_defense: 10 - size: medium + size: medium + stats: + attack: 8 + bonuses: + attack_bonus: 6 + ranged_bonus: 0 + ranged_strength_bonus: 0 + science_bonus: 0 + science_percent_bonus: 0 + strength_bonus: 4 + defense: 8 + defenses: + crush_defense: -5 + ranged_defense: 10 + science_defense: -8 + slash_defense: 18 + stab_defense: 10 + hp: 22 + max_melee_hit: 2 + speed: 5 + strength: 6 +description: An animated pile of bones, held together by dark energy. +drops: + loot: + - item_id: credits + quantity: 30 + weight: 70 + - item_id: credits + quantity: 100 + weight: 30 + remains: bones +idle_descriptions: + - rattles ominously + - clicks its jaw open and shut + - stares with empty eye sockets +name: skeleton -- cgit v1.2.3