Skip to content

Commit

Permalink
Yrax Quadraphract adjustments (#73335)
Browse files Browse the repository at this point in the history
* Material for quadraphracts

* .50bmg can damage quad legs.

* Better designed update EOC
  • Loading branch information
John-Candlebury authored Apr 27, 2024
1 parent 1c16921 commit a927dff
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
18 changes: 14 additions & 4 deletions data/json/monster_special_attacks/yrax_special_attacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ] },
Expand Down Expand Up @@ -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",
Expand Down
10 changes: 9 additions & 1 deletion data/json/monster_weakpoints/yrax_weakpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions data/json/monsters/yrax.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
"weight": "8282 kg",
"diff": 40,
"speed": 60,
"material": [ "gold", "steel" ],
"symbol": "A",
"aggression": 70,
"aggro_character": false,
Expand Down

0 comments on commit a927dff

Please sign in to comment.