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

[Magiclysm] Add mana zombies of various kinds #78920

Draft
wants to merge 1 commit 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
16 changes: 12 additions & 4 deletions data/mods/Magiclysm/monstergroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@
"type": "monstergroup",
"name": "GROUP_ZOMBIE",
"monsters": [
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 4720 },
{ "monster": "mon_zombie_thaumic", "weight": 240 },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 8000 },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 10, "cost_multiplier": 7, "pack_size": [ 5, 20 ] },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 10, "cost_multiplier": 13, "pack_size": [ 15, 40 ] },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 10, "cost_multiplier": 20, "pack_size": [ 25, 60 ] }
Expand All @@ -171,6 +172,7 @@
"type": "monstergroup",
"name": "GROUP_ZOMBIE_GASSTATION",
"monsters": [
{ "monster": "mon_zombie_thaumic", "weight": 15 },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 472 },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 1, "cost_multiplier": 7, "pack_size": [ 5, 20 ] },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 1, "cost_multiplier": 13, "pack_size": [ 15, 40 ] },
Expand All @@ -180,7 +182,7 @@
{
"name": "GROUP_PARK_DOG",
"type": "monstergroup",
"monsters": [ { "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 125 } ]
"monsters": [ { "monster": "mon_zombie_thaumic", "weight": 5 }, { "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 125 } ]
},
{
"name": "GROUP_PARK_PLAYGROUND",
Expand All @@ -190,12 +192,15 @@
{
"name": "GROUP_PARK_SCENIC",
"type": "monstergroup",
"monsters": [ { "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 100 } ]
"monsters": [ { "monster": "mon_zombie_thaumic", "weight": 7 }, { "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 100 } ]
},
{
"name": "GROUP_ROOF_ZOMBIE",
"type": "monstergroup",
"monsters": [ { "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 100, "pack_size": [ 2, 3 ] } ]
"monsters": [
{ "monster": "mon_zombie_thaumic", "weight": 5 },
{ "group": "GROUP_ZOMBIE_FANTASY_SPECIES", "weight": 100, "pack_size": [ 2, 3 ] }
]
},
{
"type": "monstergroup",
Expand All @@ -211,6 +216,7 @@
"type": "monstergroup",
"name": "GROUP_LAB",
"monsters": [
{ "monster": "mon_zombie_thaumic", "weight": 50 },
{ "monster": "mon_feral_lab_magician", "weight": 25, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer", "weight": 8, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer_enhanced", "weight": 2, "cost_multiplier": 10 }
Expand All @@ -220,6 +226,7 @@
"type": "monstergroup",
"name": "GROUP_LAB_SURFACE",
"monsters": [
{ "monster": "mon_zombie_thaumic", "weight": 50 },
{ "monster": "mon_feral_lab_magician", "weight": 25, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer", "weight": 8, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer_enhanced", "weight": 2, "cost_multiplier": 10 },
Expand All @@ -230,6 +237,7 @@
"type": "monstergroup",
"name": "GROUP_MICROLAB",
"monsters": [
{ "monster": "mon_zombie_thaumic", "weight": 50 },
{ "monster": "mon_feral_lab_magician", "weight": 2, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer", "weight": 2, "cost_multiplier": 5 },
{ "monster": "mon_feral_technomancer_enhanced", "weight": 1, "cost_multiplier": 50 }
Expand Down
50 changes: 50 additions & 0 deletions data/mods/Magiclysm/monsters/zombies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"type": "MONSTER",
"id": "mon_zombie_thaumic",
"name": { "str": "thaumic zombie" },
"copy-from": "mon_zombie_base",
"description": "A human body, swaying as it moves, an unstoppable rage visible in its oily black eyes. Faint blue lines are visible beneath parts of its exposed skin, letting off an eldritch glow.",
"symbol": "Z",
"color": "cyan",
"luminance": 4,
"extend": { "armor": { "poison": 14, "nether": 10, "psionic": 14 } },
"special_attacks": [
[ "PARROT", 400 ],
[ "PARROT_AT_DANGER", 0 ],
{ "id": "grab", "eoc": [ "EOC_THAUMIC_ZOMBIE_MANA_DRAIN" ] },
{ "id": "bite_humanoid", "cooldown": 5, "eoc": [ "EOC_THAUMIC_ZOMBIE_MANA_DRAIN_BITE" ] },
{
"type": "monster_attack",
"attack_type": "melee",
"id": "thaumic_zombie_drain_hit",
"cooldown": 0,
"move_cost": 100,
"damage_max_instance": [ { "damage_type": "bash", "amount": 6 } ],
"dodgeable": true,
"blockable": true,
"eoc": [ "EOC_THAUMIC_ZOMBIE_MANA_DRAIN" ],
"condition": { "and": [ { "not": { "u_has_flag": "GRAB_FILTER" } }, { "not": { "u_has_effect": "maimed_arm" } } ] },
"hit_dmg_u": "%1$s hits your %2$s!",
"hit_dmg_npc": "%1$s hits <npcname>!",
"miss_msg_u": "%1$s misses you.",
"miss_msg_npc": "%1$s misses <npcname>.",
"no_dmg_msg_u": "%1$s hits your %2$s, but your armor protects you.",
"no_dmg_msg_npc": "%1$s hits <npcname>, but their armor protects them."
}
],
"upgrades": { "half_life": 30, "into_group": "GROUP_ZOMBIE_THAUMIC" }
},
{
"type": "effect_on_condition",
"id": "EOC_THAUMIC_ZOMBIE_MANA_DRAIN",
"condition": "npc_is_character",
"effect": [ { "math": [ "n_val('mana')", "-=", "5" ] }, { "npc_message": "The EoC is firing." } ]
},
{
"type": "effect_on_condition",
"id": "EOC_THAUMIC_ZOMBIE_MANA_DRAIN_BITE",
"condition": "npc_is_character",
"effect": [ { "math": [ "n_val('mana')", "-=", "15" ] }, { "npc_message": "The EoC is firing." } ]
}
]
Loading