Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MoM] Nether-void edits #75654

Merged
merged 3 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion data/mods/MindOverMatter/effectoncondition/eoc_misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@
"id": "EOC_PSIONICS_PSI_NEUTRALIZED_ENDS_ALL_POWERS",
"eoc_type": "EVENT",
"required_event": "character_gains_effect",
"condition": { "compare_string": [ "effect_psi_neutralized", { "context_val": "effect" } ] },
"condition": {
"or": [
{ "compare_string": [ "effect_psi_neutralized", { "context_val": "effect" } ] },
{ "compare_string": [ "effect_psi_turn_off_powers", { "context_val": "effect" } ] }
]
},
"effect": [ { "run_eocs": [ "EOC_END_PSI_POWERS" ] } ]
},
{
Expand Down
8 changes: 8 additions & 0 deletions data/mods/MindOverMatter/effects/effects_penalty.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@
"rating": "bad",
"flags": [ "NO_PSIONICS" ]
},
{
"type": "effect_type",
"id": "effect_psi_turn_off_powers",
"//": "This exists to trigger EoCs or as a rider on other psi effects",
"name": [ "" ],
"desc": [ "" ],
"flags": [ "NO_PSIONICS" ]
},
{
"type": "effect_type",
"id": "effect_psi_neutralized",
Expand Down
7 changes: 7 additions & 0 deletions data/mods/MindOverMatter/emits.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
"intensity": 3,
"qty": 120
},
{
"id": "emit_anti_psi_void",
"type": "emit",
"field": "fd_neutralizing_field",
"intensity": 3,
"qty": 120
},
{
"id": "emit_shock_burst_electrokin_overload",
"type": "emit",
Expand Down
33 changes: 33 additions & 0 deletions data/mods/MindOverMatter/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,39 @@
"half_life": "1 minutes",
"phase": "gas"
},
{
"id": "fd_neutralizing_field",
"type": "field_type",
"intensity_levels": [
{
"name": "droning hum",
"effects": [
{
"effect_id": "effect_psi_null",
"intensity": 10,
"min_duration": "100 seconds",
"max_duration": "350 seconds",
"immune_inside_vehicle": false
},
{
"effect_id": "effect_psi_turn_off_powers",
"intensity": 1,
"min_duration": "1 seconds",
"max_duration": "1 seconds",
"immune_inside_vehicle": false
}
]
},
{ "//": "repeat last entry" },
{ "//": "repeat last entry" }
],
"decay_amount_factor": 5,
"gas_absorption_factor": 15,
"percent_spread": 5,
"priority": 8,
"half_life": "1 minutes",
"phase": "gas"
},
{
"id": "fd_photokin_light_1",
"type": "field_type",
Expand Down
14 changes: 10 additions & 4 deletions data/mods/MindOverMatter/monsters/zombies.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"cooldown": { "math": [ "7 + rand(19)" ] },
"damage_max_instance": [ { "damage_type": "bash", "amount": 6, "armor_multiplier": 0.8 } ],
"effects": [ { "id": "effect_psi_neutralized", "duration": 15 } ],
"effects_require_dmg": false,
"hit_dmg_u": "%1$s strikes at your %2$s!",
"hit_dmg_npc": "%1$s strikes at <npcname>!",
"miss_msg_u": "%1$s strikes at you, but you dodge!",
Expand All @@ -85,6 +86,7 @@
"id": "zombie_null_nether_banish_monster",
"type": "spell",
"spell_data": { "id": "nether_banish_monster" },
"condition": { "npc_has_species": "NETHER" },
"cooldown": { "math": [ "10 + rand(25)" ] },
"monster_message": "%1$s looks at %3$s and the static on the edge of your vision flickers."
}
Expand Down Expand Up @@ -124,7 +126,7 @@
"grab_strength": 30,
"special_attacks": [
{ "id": "grab" },
{ "id": "bite_humanoid", "cooldown": 5 },
{ "id": "bite_humanoid", "cooldown": { "math": [ "2 + rand(5)" ] } },
{
"id": "scratch",
"cooldown": { "math": [ "5 + rand(13)" ] },
Expand All @@ -140,7 +142,8 @@
"id": "zombie_anti_concentration_spell",
"type": "spell",
"spell_data": { "id": "null_break_concentration_spell" },
"cooldown": { "math": [ "7 + rand(19)" ] },
"condition": "npc_is_character",
"cooldown": { "math": [ "5 + rand(13)" ] },
"monster_message": "%1$s looks at %3$s and the static on the edge of your vision flickers."
}
],
Expand Down Expand Up @@ -173,13 +176,14 @@
"melee_dice_sides": 5,
"melee_damage": [ { "damage_type": "bash", "amount": 2 } ],
"dodge": 5,
"attack_effs": [ { "id": "effect_psi_neutralized", "duration": 5 } ],
"bleed_rate": 50,
"vision_day": 35,
"vision_night": 5,
"emit_fields": [ { "emit_id": "emit_anti_psi", "delay": "1 s" } ],
"emit_fields": [ { "emit_id": "emit_anti_psi_void", "delay": "1 s" } ],
"grab_strength": 50,
"special_attacks": [
{ "id": "ranged_pull", "range": 3 },
{ "id": "ranged_pull", "range": 3, "no_adjacent": true },
{ "id": "grab_drag", "cooldown": { "math": [ "2 + rand(3)" ] } },
{ "id": "drag_followup" },
{ "id": "bite_humanoid", "cooldown": { "math": [ "2 + rand(5)" ] } },
Expand All @@ -188,6 +192,7 @@
"cooldown": { "math": [ "6 + rand(15)" ] },
"damage_max_instance": [ { "damage_type": "bash", "amount": 6, "armor_multiplier": 0.8 } ],
"effects": [ { "id": "effect_psi_neutralized", "duration": 30 } ],
"effects_require_dmg": false,
"hit_dmg_u": "%1$s strikes at your %2$s!",
"hit_dmg_npc": "%1$s strikes at <npcname>!",
"miss_msg_u": "%1$s strikes at you, but you dodge!",
Expand All @@ -207,6 +212,7 @@
"id": "zombie_void_nether_banish_monster",
"type": "spell",
"spell_data": { "id": "nether_banish_monster_greater" },
"condition": { "npc_has_species": "NETHER" },
"cooldown": { "math": [ "7 + rand(19)" ] },
"monster_message": "%1$s looks at %3$s and the static on the edge of your vision creeps inward for a moment."
}
Expand Down
2 changes: 1 addition & 1 deletion data/mods/MindOverMatter/ter_transform/ter_transform.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"type": "ter_furn_transform",
"id": "ter_null_zombie_delete_fields",
"field": [ { "result": "fd_null", "valid_field": [ "fd_nullifying_field" ] } ]
"field": [ { "result": "fd_null", "valid_field": [ "fd_nullifying_field", "fd_neutralizing_field" ] } ]
},
{
"type": "ter_furn_transform",
Expand Down
Loading