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/greater_drone.yaml | 80 ++++++++++++++++++----------------- 1 file changed, 42 insertions(+), 38 deletions(-) (limited to 'data/mobs/examples/greater_drone.yaml') diff --git a/data/mobs/examples/greater_drone.yaml b/data/mobs/examples/greater_drone.yaml index 93993ea..08ecd33 100644 --- a/data/mobs/examples/greater_drone.yaml +++ b/data/mobs/examples/greater_drone.yaml @@ -1,41 +1,45 @@ -name: greater drone -description: "A large, heavily armored drone with multiple energy emitters. Red warning lights pulse along its hull." -idle_descriptions: - - "projects a defensive energy shield" - - "recalibrates its targeting array" - - "emits a warning klaxon" - - "deploys sensor probes" -drops: - loot: - - item_id: scrap - weight: 40 - quantity: 3 - - item_id: credits - weight: 60 - quantity: 1500 combat: - kind: combat - stats: - hp: 120 - attack: 1 - strength: 1 - defense: 30 - science: 40 - attack_type: science - speed: 4 aggressive: true + attack_types: + - crush + - science + kind: combat respawn_ticks: 80 - bonuses: - attack_bonus: 0 - strength_bonus: 0 - science_bonus: 0 - science_percent_bonus: 0 - ranged_bonus: 0 - ranged_strength_bonus: 0 - defenses: - stab_defense: 55 - slash_defense: 55 - crush_defense: 50 - science_defense: 40 - ranged_defense: -20 - size: medium + size: medium + stats: + attack: 30 + bonuses: + attack_bonus: 0 + ranged_bonus: 0 + ranged_strength_bonus: 0 + science_bonus: 0 + science_percent_bonus: 0 + strength_bonus: 0 + defense: 30 + defenses: + crush_defense: 50 + ranged_defense: -20 + science_defense: 40 + slash_defense: 55 + stab_defense: 55 + hp: 120 + max_melee_hit: 6 + max_science_hit: 8 + science: 40 + speed: 4 + strength: 30 +description: A large, heavily armored drone with multiple energy emitters. Red warning lights pulse along its hull. +drops: + loot: + - item_id: scrap + quantity: 3 + weight: 40 + - item_id: credits + quantity: 1500 + weight: 60 +idle_descriptions: + - projects a defensive energy shield + - recalibrates its targeting array + - emits a warning klaxon + - deploys sensor probes +name: greater drone -- cgit v1.2.3