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

Adds a magical appendage to Manatouched #78946

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
21 changes: 21 additions & 0 deletions data/mods/Magiclysm/Spells/manatouched.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,26 @@
"sound_description": "a zing",
"flags": [ "CHANNELING_SPELL", "RANDOM_DAMAGE", "RANDOM_TARGET", "SOMATIC", "NO_LEGS", "MUST_HAVE_CLASS_TO_LEARN" ],
"extra_effects": [ { "id": "magic_missile" }, { "id": "magic_missile" }, { "id": "magic_missile" }, { "id": "magic_missile" } ]
},
{
"id": "viktorhand_manatouched_deathray",
"type": "SPELL",
"name": "Death Ray",
"effect": "attack",
"shape": "line",
"description": "An orb of mana concentrates within your grasping appendage before rupturing in a line to ravage your enemies.",
"valid_targets": [ "hostile", "ground" ],
"energy_source": "MANA",
"base_energy_cost": "1000",
"damage_type": "nether",
"max_level":0,
"min_damage": 80,
"max_damage": 80,
"min_range": 15,
"max_range": 15,
"min_bash_scaling": 2,
"max_bash_scaling": 2,
"base_casting_time": 200,
"flags": [ "IGNORES_WALLS", "NO_FAIL"]
}
]
24 changes: 24 additions & 0 deletions data/mods/Magiclysm/items/integrated.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
[
{
"id": "vitkorhand_manatouched_item",
"type": "TOOL",
"name": { "str_sp": "grasping appendage" },
"description": "Your photophore, contaminated by extreme mana exposure, has mutated into a magical limb capable of magically suspending objects midair and using that same magic to project a concussive beam of force.",
"material": [ { "type": "arcane_skin" }, { "type": "flesh" } ],
"color": "blue",
"symbol": "/",
"techniques": ["VIKTORHAND_MANATOUCHED_BLAST"],
"flags": [ "INTEGRATED", "UNBREAKABLE", "AURA", "NO_SALVAGE", "TARDIS", "ZERO_WEIGHT", "PROVIDES_TECHNIQUES"],
"pocket_data": [
{
"pocket_type": "CONTAINER",
"holster": true,
"max_contains_volume": "10000 L",
"max_contains_weight": "1000 kg",
"max_item_length": "3000 cm",
"moves": 5,
"weight_multiplier": 0.0,
"volume_multiplier": 0.0,
"volume_encumber_modifier": 0
}
]
},
{
"id": "integrated_goblin_teeth",
"copy-from": "integrated_fangs",
Expand Down
28 changes: 28 additions & 0 deletions data/mods/Magiclysm/techniques.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,33 @@
],
"description": "Cut damage multiply by 2, crit only",
"attack_vectors": [ "vector_null" ]
},
{
"type": "technique",
"id": "VIKTORHAND_MANATOUCHED_BLAST",
"name": "magichand manablast",
"//": "supposed to simulate a chaser attack. You attack, and then your mana-hand pitches in another blast.",
"melee_allowed": true,
"unarmed_allowed": true,
"reach_ok": true,
"crit_ok": true,
"weighting": 5,
"eocs": [
{
"id": "tec_VITKORHAND_MANATOUCHED_BLAST",
"effect": [
{ "math": [ "damagetracker1 = u_val('mana')/500" ] },
{ "math": [ "damagetracker2 = u_skill('spellcraft')" ] },
{ "math": [ "_damagetracker3 = damagetracker1 + damagetracker2" ] },
{
"u_message": "Your appendage blasts the <npc_name> for <context_val:damagetracker3> damage!",
"type": "good"
},
CwasCard marked this conversation as resolved.
Show resolved Hide resolved
{ "npc_message": "<npc_name>'s appendage blasts the %s!", "type": "good" },
{ "npc_deal_damage": "pure", "amount": { "math": [ "(u_val('mana')/500)+u_skill('spellcraft')" ] } }
]
}
],
"attack_vectors": [ "vector_wrist" ]
}
]
15 changes: 14 additions & 1 deletion data/mods/Magiclysm/traits/manatouched.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
"type": "mutation",
"id": "BIOLUM0",
"copy-from": "BIOLUM0",
"extend": { "category": [ "MANATOUCHED" ] }
"extend": { "category": [ "MANATOUCHED" ] },
"changes_to": ["VIKTORHAND_MANATOUCHED"]
},
{
"type": "mutation",
Expand Down Expand Up @@ -324,5 +325,17 @@
"copy-from": "MORE_PAIN",
"valid": true,
"extend": { "category": [ "MANATOUCHED", "SPECIES_ELF" ] }
},
{
"type": "mutation",
"id": "VIKTORHAND_MANATOUCHED",
"name": "Grasping Appendage",
"//": "give me a better name and that'll be the name",
"points": 8,
"description": "Your photophore, contaminated by extreme mana pollution, has mutated into a manipulator capable of magically suspending objects midair and using that same magic to project a concussive beam of force, both from range and in melee.",
"integrated_armor": ["vitkorhand_manatouched_item"],
"spells_learned": [["viktorhand_manatouched_deathray", 0]],
"category": ["MANATOUCHED"],
"threshreq": ["THRESH_MANA"]
}
]
Loading