Skip to content

Commit

Permalink
[magiclysm] optical sneeze beam
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT authored and kevingranade committed Apr 23, 2020
1 parent b459021 commit b2532d1
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 1 deletion.
47 changes: 47 additions & 0 deletions data/mods/Magiclysm/Spells/technomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,53 @@
"max_duration": 9600000,
"duration_increment": 200
},
{
"id": "overcharge_burn",
"type": "SPELL",
"name": "Overcharge Burn",
"description": "The side effects of casting the overcharge spell.",
"message": "",
"effect": "spawn_item",
"effect_str": "overcharge_burn_scar",
"min_damage": 1,
"max_damage": 1,
"min_duration": 500,
"duration_increment": -10,
"max_duration": 200,
"max_level": 30,
"valid_targets": [ "none" ]
},
{
"id": "overcharge_eyes",
"type": "SPELL",
"name": "Optical Sneeze Beam",
"description": "You overcharge your internal batteries to send a semi-directed beam from your face. The inventor of this spell must have had some weird sense of humor.",
"message": "You overcharge your bionic energy through what ley lines you have left, and channel it through the center of your face.",
"sound_description": "bzzzzzzt!",
"sound_ambient": true,
"effect": "cone_attack",
"extra_effects": [ { "id": "overcharge_burn", "self": true } ],
"min_damage": 90,
"damage_increment": 5.0,
"max_damage": 200,
"min_range": 8,
"range_increment": 0.35,
"max_range": 20,
"min_aoe": 10,
"aoe_increment": 0.17,
"max_aoe": 15,
"base_energy_cost": 500,
"final_energy_cost": 500,
"spell_class": "TECHNOMANCER",
"energy_source": "BIONIC",
"damage_type": "cut",
"difficulty": 1,
"max_level": 30,
"base_casting_time": 120,
"final_casting_time": 120,
"valid_targets": [ "hostile", "ground" ],
"flags": [ "LOUD", "VERBAL", "NO_HANDS", "NO_LEGS" ]
},
{
"type": "SPELL",
"name": "X-ray Vision",
Expand Down
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/itemgroups/spellbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
[ "spell_scroll_invisibility", 10 ],
[ "spell_scroll_obfuscated_body", 10 ],
[ "spell_scroll_lava_bomb", 5 ],
[ "spell_scroll_druidic_healing", 20 ]
[ "spell_scroll_druidic_healing", 20 ],
[ "spell_scroll_overcharge_eyes", 50 ]
]
},
{
Expand Down
27 changes: 27 additions & 0 deletions data/mods/Magiclysm/items/ethereal_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,33 @@
"environmental_protection": 2,
"flags": [ "ONLY_ONE", "OVERSIZE", "PERSONAL", "STURDY" ]
},
{
"id": "burn_scar",
"type": "effect_type",
"desc": [ "This burn really hurts!" ],
"max_duration": "10 second",
"rating": "bad",
"base_mods": { "pain_amount": [ 20 ] }
},
{
"id": "ench_overcharge_burn_scar",
"type": "enchantment",
"ench_effects": [ { "effect": "burn_scar", "intensity": 1 } ]
},
{
"id": "overcharge_burn_scar",
"type": "ARMOR",
"name": { "str": "overcharge burn" },
"description": "Ouch, this really smarts! It'll go away soon, maybe?",
"weight": "1 g",
"volume": "1 ml",
"symbol": "~",
"color": "light_red",
"covers": [ "EYES", "MOUTH" ],
"encumbrance": 18,
"relic_data": { "passive_effects": [ { "id": "ench_overcharge_burn_scar" } ] },
"flags": [ "NO_TAKEOFF", "TRADER_AVOID", "BLIND" ]
},
{
"id": "protect_env",
"type": "ARMOR",
Expand Down
9 changes: 9 additions & 0 deletions data/mods/Magiclysm/items/spell_scrolls.json
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,15 @@
"description": "You fire a cone of X-rays that magically allow you to see that area for a short time.",
"use_action": { "type": "learn_spell", "spells": [ "x-ray" ] }
},
{
"type": "GENERIC",
"copy-from": "spell_scroll",
"id": "spell_scroll_overcharge_eyes",
"//": "Technomancer spell",
"name": { "str": "Scroll of Overcharge", "str_pl": "Scrolls of Overcharge" },
"description": "You overcharge your internal batteries to send a semi-directed beam from your face.",
"use_action": { "type": "learn_spell", "spells": [ "overcharge_eyes" ] }
},
{
"type": "GENERIC",
"copy-from": "spell_scroll",
Expand Down

0 comments on commit b2532d1

Please sign in to comment.