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] Add the Silent One #73628

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,28 @@
]
},
"effect": [ ]
},
{
"type": "effect_on_condition",
"id": "EOC_CONDITION_MONSTER_MAINTAINING_PSI_POWER",
"condition": {
"or": [
{ "u_has_effect": "effect_monster_hardened_skin" },
{ "u_has_effect": "effect_monster_heightened_reflex" },
{ "u_has_effect": "effect_monster_heightened_reflex_enhanced" },
{ "u_has_effect": "effect_psi_biokin3_hurricane_blows" },
{ "u_has_effect": "effect_feral_regeneration" },
{ "u_has_effect": "effect_pattern_screamer_rock_thrower" },
{ "u_has_effect": "effect_monster_neuro_acceleration" },
{ "u_has_effect": "effect_monster_neuro_acceleration_enhanced" },
{ "u_has_effect": "effect_monster_pyrokinetic_fire_immunity" },
{ "u_has_effect": "effect_monster_momentum_alteration" },
{ "u_has_effect": "effect_monster_inertial_barrier" },
{ "u_has_effect": "effect_monster_inertial_barrier_improved" },
{ "u_has_effect": "effect_feral_regeneration" },
{ "u_has_effect": "effect_telepath_network_monster_effect" }
]
},
"effect": [ ]
}
]
20 changes: 20 additions & 0 deletions data/mods/MindOverMatter/effects/effects_monster.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,25 @@
{ "str": "You are in constant communication with your allies, looking out for each other in combat.", "//~": "NO_I18N" }
],
"base_mods": { "bash_mod": [ 1.5 ], "cut_mod": [ 1.5 ], "dodge_mod": [ 1.5 ], "hit_mod": [ 1.5 ] }
},
{
"type": "effect_type",
"id": "effect_nether_silent_one_resistances",
"name": [ "" ],
"desc": [ "" ],
"enchantments": [ { "values": [ { "value": "ARMOR_HEAT", "multiply": -0.8 }, { "value": "ARMOR_ELEC", "multiply": -0.95 } ] } ]
},
{
"type": "effect_type",
"id": "effect_silent_one_monster_drain",
"name": [ "" ],
"desc": [ "" ],
"max_intensity": 50,
"int_add_val": 1,
"int_decay_step": -1,
"int_decay_tick": 1800,
"int_decay_remove": true,
"base_mods": { "hit_mod": [ -0.2 ], "dodge_mod": [ -0.2 ], "speed_mod": [ -1 ] },
"scaling_mods": { "hit_mod": [ -0.2 ], "dodge_mod": [ -0.2 ], "speed_mod": [ -1 ] }
}
]
98 changes: 98 additions & 0 deletions data/mods/MindOverMatter/monsters/monster_eoc_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,5 +435,103 @@
{ "u_add_effect": "telepathic_ignorance", "duration": { "math": [ "n_power_obscurity_duration" ] } },
{ "npc_add_effect": "telepathic_ignorance_self", "duration": { "math": [ "n_power_obscurity_duration" ] } }
]
},
{
"id": "silent_one_drain_monster",
"type": "SPELL",
"name": { "str": "[Ψ]Silent One Draining attack", "//~": "NO_I18N" },
"description": { "str": "Silent One's draining attack. It's a bug if you have it.", "//~": "NO_I18N" },
"valid_targets": [ "hostile" ],
"message": "",
"flags": [ "NO_EXPLOSION_SFX" ],
"effect": "effect_on_condition",
"effect_str": "EOC_SILENT_ONE_DRAINING_POWER",
"shape": "blast",
"min_range": 10
},
{
"type": "effect_on_condition",
"id": "EOC_SILENT_ONE_DRAINING_POWER",
"condition": "u_is_character",
"effect": [
{ "math": [ "u_val('focus')", "-=", "2" ] },
{
"u_add_morale": "morale_silent_one_drain",
"bonus": -5,
"max_bonus": -200,
"duration": "24 hours",
"decay_start": "12 hours"
},
{ "u_add_effect": "effect_nether_attunement_health_penalty", "duration": "10 seconds" },
{ "math": [ "u_calories()", "-=", "125" ] },
{ "math": [ "u_calories('dont_affect_weariness': true)", "+=", "125" ] },
{ "u_message": "You feel a sudden wave of fatigue!", "type": "bad" },
{ "math": [ "n_val('anger')", "-=", "rand(3) + 1" ] }
],
"false_effect": [
{ "math": [ "u_val('anger')", "-=", "rand(5) + 3" ] },
{ "math": [ "u_val('morale')", "-=", "rand(10) + 5" ] },
{ "u_add_effect": "effect_silent_one_monster_drain", "duration": 1800 },
{ "math": [ "n_val('anger')", "-=", "rand(3) + 1" ] }
]
},
{
"id": "silent_one_apply_buffs",
"type": "SPELL",
"name": { "str": "[Ψ]Silent One Applying Buffs attack", "//~": "NO_I18N" },
"description": { "str": "Silent One's applying buffs to itself. It's a bug if you have it.", "//~": "NO_I18N" },
"valid_targets": [ "self" ],
"message": "",
"flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
"effect": "effect_on_condition",
"effect_str": "EOC_SILENT_ONE_BUFF_SELF",
"shape": "blast"
},
{
"type": "effect_on_condition",
"id": "EOC_SILENT_ONE_BUFF_SELF",
"effect": [
{ "u_add_effect": "eff_mind_seeing_bonus_5", "duration": "PERMANENT" },
{ "u_add_effect": "eff_mind_seeing_bonus_10", "duration": "PERMANENT" },
{ "u_add_effect": "eff_mind_seeing_bonus_30", "duration": "PERMANENT" },
{ "u_add_effect": "effect_nether_silent_one_resistances", "duration": "PERMANENT" }
]
},
{
"id": "silent_one_detect_psionic_activity",
"type": "SPELL",
"name": { "str": "[Ψ]Silent One Detect Psi", "//~": "NO_I18N" },
"description": { "str": "Silent One's detecting of psionic activity. It's a bug if you have it.", "//~": "NO_I18N" },
"valid_targets": [ "ally", "hostile" ],
"message": "",
"flags": [ "NO_PROJECTILE", "NO_EXPLOSION_SFX", "IGNORE_WALLS" ],
"effect": "effect_on_condition",
"effect_str": "EOC_SILENT_ONE_DETECT_PSIONIC_ACTIVITY",
"shape": "blast",
"min_aoe": 45,
"max_aoe": 45
},
{
"type": "effect_on_condition",
"id": "EOC_SILENT_ONE_DETECT_PSIONIC_ACTIVITY",
"condition": "u_is_character",
"effect": [
{
"if": { "math": [ "u_vitamin('vitamin_maintained_powers') >= 1" ] },
"then": [
{ "math": [ "n_val('anger')", "+=", "rand(5) + 1" ] },
{
"u_message": "The hairs rise on the back of your neck as you feel a sudden sense of menace.",
"type": "bad"
}
]
}
],
"false_effect": [
{
"if": { "test_eoc": "EOC_CONDITION_MONSTER_MAINTAINING_PSI_POWER" },
"then": { "math": [ "n_val('anger')", "+=", "rand(5) + 1" ] }
}
]
}
]
83 changes: 83 additions & 0 deletions data/mods/MindOverMatter/monsters/nether.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,88 @@
"MIND_SEEING"
],
"path_settings": { "avoid_traps": true, "avoid_dangerous_fields": true }
},
{
"id": "mon_nether_silent_one",
"type": "MONSTER",
"name": { "str": "silent one" },
"description": "A patch of gray cloud that sometimes collapses into the distinct form of a robed and cowled figure. The depths of the cowl are empty, and no hands or legs extend out of the robe. It floats above the ground, the cowl never looking to the left or the right, but you have the uncanny sense that it's watching you.",
"default_faction": "nether",
"species": [ "NETHER" ],
"hp": 180,
"speed": 105,
"volume": "92500 ml",
"weight": "20500 g",
"material": [ "wind" ],
"symbol": "S",
"color": "dark_gray",
"morale": 100,
"aggression": -5,
"melee_skill": 5,
"melee_dice": 1,
"melee_dice_sides": 1,
"dodge": 4,
"armor": { "stab": 85, "cut": 50, "bullet": 1000, "psi_telekinetic_damage": 300 },
"bleed_rate": 0,
"vision_day": 0,
"vision_night": 0,
"harvest": "exempt",
"special_attacks": [
{
"id": "silent_one_spirit_drain_attack",
"type": "spell",
"spell_data": { "id": "silent_one_drain_monster" },
"cooldown": { "math": [ "2 + rand(2)" ] },
"monster_message": "%1$s's empty cowl turns toward %3$s."
},
{
"id": "silent_one_buff_self",
"type": "spell",
"spell_data": { "id": "silent_one_apply_buffs", "hit_self": true },
"condition": {
"or": [
{ "not": { "u_has_effect": "eff_mind_seeing_bonus_10" } },
{ "not": { "u_has_effect": "eff_mind_seeing_bonus_5" } },
{ "not": { "u_has_effect": "eff_mind_seeing_bonus_30" } },
{ "not": { "u_has_effect": "effect_nether_silent_one_resistances" } }
]
},
"allow_no_target": true,
"cooldown": 1,
"monster_message": ""
},
{
"id": "silent_one_detect_psionic_activity",
"type": "spell",
"spell_data": { "id": "silent_one_detect_psionic_activity" },
"cooldown": { "math": [ "3 + rand(5)" ] },
"allow_no_target": true,
"monster_message": ""
}
],
"anger_triggers": [ "HURT" ],
"death_function": { "corpse_type": "NO_CORPSE", "message": "The %s melts away." },
"flags": [
"SEES",
"HEARS",
"WARM",
"NO_BREATHE",
"NOHEAD",
"FLIES",
"BIOLOGICALPROOF",
"COLDPROOF",
"HAS_MIND",
"NO_FUNG_DMG",
"STUN_IMMUNE",
"PATH_AVOID_DANGER",
"PATH_AVOID_FIRE",
"ACIDPROOF",
"NOGIB",
"PLASTIC",
"SILENTMOVES",
"TELEKIN_IMMUNE",
"MIND_SEEING",
"WEBWALK"
]
}
]
5 changes: 5 additions & 0 deletions data/mods/MindOverMatter/morale_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"id": "morale_telepathy",
"type": "morale_type",
"text": "Thought-Editing"
},
{
"id": "morale_silent_one_drain",
"type": "morale_type",
"text": "Malaise"
}
]
Loading