diff --git a/data/json/monster_special_attacks/yrax_special_attacks.json b/data/json/monster_special_attacks/yrax_special_attacks.json index b74fa8c5d8a31..b94a463d585e6 100644 --- a/data/json/monster_special_attacks/yrax_special_attacks.json +++ b/data/json/monster_special_attacks/yrax_special_attacks.json @@ -162,9 +162,13 @@ "type": "effect_on_condition", "id": "EOC_QUADRAPHRACT_CONTROL", "effect": [ - { "run_eocs": "eoc_update_quadraphract_walkers" }, { "run_eocs": [ + { + "id": "eoc_start_update_quadraphract_walkers", + "condition": { "math": [ "updating_quadraphracts", "!=", "1" ] }, + "effect": [ { "run_eocs": "eoc_update_quadraphract_walkers" } ] + }, { "id": "quadraphract_setup", "condition": { "math": [ "u_setup", "!=", "1" ] }, @@ -220,11 +224,17 @@ "id": "eoc_update_quadraphract_walkers", "type": "effect_on_condition", "global": true, - "recurrence": "1 seconds", "condition": { "math": [ "u_monsters_nearby('mon_yrax_quadraphract', 'radius': 60)", ">=", "1" ] }, "effect": [ - { "u_run_monster_eocs": [ "eoc_quadraphract_walker" ], "monster_range": 65, "mtype_ids": [ "mon_yrax_quadraphract" ] } - ] + { "math": [ "updating_quadraphracts", "=", "1" ] }, + { "queue_eocs": "eoc_update_quadraphract_walkers", "time_in_future": 1 }, + { + "u_run_monster_eocs": [ "eoc_quadraphract_walker" ], + "monster_range": 65, + "mtype_ids": [ "mon_yrax_quadraphract" ] + } + ], + "false_effect": [ { "math": [ "updating_quadraphracts", "=", "0" ] } ] }, { "id": "eoc_quadraphract_walker", diff --git a/data/json/monster_weakpoints/yrax_weakpoints.json b/data/json/monster_weakpoints/yrax_weakpoints.json index f155bb8f6eecb..a68bea1f19032 100644 --- a/data/json/monster_weakpoints/yrax_weakpoints.json +++ b/data/json/monster_weakpoints/yrax_weakpoints.json @@ -37,9 +37,17 @@ "name": "a lightly armored segment", "coverage": 10, "difficulty": { "melee": 3, "ranged": 6 }, - "coverage_mult": { "ranged": 2.5 }, + "coverage_mult": { "ranged": 1.5 }, "armor_mult": { "all": 0.75 } }, + { + "id": "weak_point", + "name": "a weak segment", + "coverage": 5, + "difficulty": { "melee": 6, "ranged": 8 }, + "coverage_mult": { "ranged": 2 }, + "armor_mult": { "all": 0.1 } + }, { "id": "heavy_armor", "name": "a segment of sloped armor", diff --git a/data/json/monsters/yrax.json b/data/json/monsters/yrax.json index cb93e19f9e132..3114f88a9905d 100644 --- a/data/json/monsters/yrax.json +++ b/data/json/monsters/yrax.json @@ -226,6 +226,7 @@ "weight": "8282 kg", "diff": 40, "speed": 60, + "material": [ "gold", "steel" ], "symbol": "A", "aggression": 70, "aggro_character": false,