Skip to content

Commit

Permalink
[magiclysm] add mana siphon trait to manatouched
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT authored and kevingranade committed Apr 5, 2020
1 parent 4f257b9 commit f76aa54
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 6 deletions.
70 changes: 65 additions & 5 deletions data/mods/Magiclysm/traits/manatouched.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"name": { "str": "Mana Solidification" },
"points": 1,
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"description": "Your internal ley lines have become much easier for you to control, resulting in you being able to naturally create crystallized mana.",
"spells_learned": [ [ "manatouched_crystal", 5 ] ]
},
Expand All @@ -43,6 +44,7 @@
"lumination": [ [ "HAND_R", 8 ], [ "HAND_L", 8 ] ],
"prereqs": [ "MANA_LUM" ],
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"spells_learned": [ [ "manatouched_seeker_bolts", 0 ] ]
},
{
Expand Down Expand Up @@ -111,6 +113,7 @@
"bodytemp_modifiers": [ 100, 100 ],
"description": "Your body discards unusable mana as light and heat, making you glow softly.",
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"lumination": [ [ "TORSO", 8 ] ]
},
{
Expand All @@ -121,14 +124,71 @@
},
{
"type": "mutation",
"id": "FLIMSY2",
"copy-from": "FLIMSY2",
"id": "ROT2",
"copy-from": "ROT2",
"extend": { "category": [ "MANATOUCHED" ] }
},
{
"id": "sp_mana_siphon",
"type": "SPELL",
"name": "Mana Siphon",
"description": "This is the spell portion of the mana siphon series of mutations. If you have this spell you probably debugged it in.",
"valid_targets": [ "self" ],
"min_damage": 5,
"damage_increment": 5.0,
"max_damage": 180,
"max_level": 35,
"effect": "recover_energy",
"effect_str": "MANA",
"flags": [ "SILENT", "NO_LEGS", "NO_HANDS" ]
},
{
"type": "enchantment",
"id": "ench_mana_siphon_1",
"hit_you_effect": [ { "id": "sp_mana_siphon", "hit_self": true, "once_in": 5, "message": "You recover some mana." } ]
},
{
"type": "enchantment",
"id": "ench_mana_siphon_2",
"hit_you_effect": [ { "id": "sp_mana_siphon", "hit_self": true, "min_level": 3, "once_in": 5, "message": "You recover some mana." } ]
},
{
"type": "enchantment",
"id": "ench_mana_siphon_3",
"hit_you_effect": [ { "id": "sp_mana_siphon", "hit_self": true, "min_level": 6, "once_in": 5, "message": "You recover some mana." } ]
},
{
"type": "mutation",
"id": "ROT2",
"copy-from": "ROT2",
"extend": { "category": [ "MANATOUCHED" ] }
"id": "MANA_SIPHON_1",
"name": { "str": "Mana Siphon" },
"points": 1,
"description": "Violence excites your ley lines. Whenever you hit an enemy in melee, you have a chance of regaining some mana.",
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"changes_to": [ "MANA_SIPHON_2" ],
"enchantments": [ "ench_mana_siphon_1" ]
},
{
"type": "mutation",
"id": "MANA_SIPHON_2",
"name": { "str": "Mana Drain" },
"points": 2,
"description": "Violence excites your ley lines. Whenever you hit an enemy in melee, you have a chance of regaining some mana.",
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"prereqs": [ "MANA_SIPHON_1" ],
"changes_to": [ "MANA_SIPHON_3" ],
"enchantments": [ "ench_mana_siphon_2" ]
},
{
"type": "mutation",
"id": "MANA_SIPHON_3",
"name": { "str": "Mana Vortex" },
"points": 3,
"description": "Violence excites your ley lines. Whenever you hit an enemy in melee, you have a chance of regaining some mana.",
"category": [ "MANATOUCHED" ],
"threshreq": [ "THRESH_MANA" ],
"prereqs": [ "MANA_SIPHON_2" ],
"enchantments": [ "ench_mana_siphon_3" ]
}
]
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/traits/mutation.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"prereqs": [ "MANA_REGEN2" ],
"cancels": [ "BAD_MANA_REGEN1", "BAD_MANA_REGEN2", "BAD_MANA_REGEN3" ],
"types": [ "MANA_REGEN" ],
"threshreq": [ "THRESH_PLANT" ],
"threshreq": [ "THRESH_PLANT", "THRESH_MANA" ],
"category": [ "PLANT", "MANATOUCHED" ],
"flags": [ "NON_THRESH" ],
"mana_regen_multiplier": 1.5
Expand Down

0 comments on commit f76aa54

Please sign in to comment.