Skip to content

Commit

Permalink
Crystalize Mana Unification (CleverRaven#52466)
Browse files Browse the repository at this point in the history
* Crystalize Mana Unification

The two spells is now joined into a single one with variable outcomes based on the Mana Solidification trait.

* FIx of missing spaces

Co-authored-by: Binrui Dong <[email protected]>

* FIx of missing spaces

Co-authored-by: Binrui Dong <[email protected]>

Co-authored-by: Binrui Dong <[email protected]>
  • Loading branch information
Owlfren and BrettDong authored Nov 14, 2021
1 parent 1165e06 commit 5eb505a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 6 deletions.
59 changes: 54 additions & 5 deletions data/mods/Magiclysm/Spells/classless.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,70 @@
"description": "Crystallizes mana into solid form",
"valid_targets": [ "self" ],
"spell_class": "NONE",
"flags": [ "PERMANENT", "NO_LEGS", "CONCENTRATE" ],
"flags": [ "NO_LEGS", "CONCENTRATE" ],
"difficulty": 3,
"min_damage": 1,
"max_damage": 1,
"duration_increment": 1,
"effect": "spawn_item",
"effect_str": "crystallized_mana",
"effect": "effect_on_condition",
"effect_str": "eoc_crystal_spawn",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 1000,
"final_energy_cost": 1000,
"base_casting_time": 720000,
"final_casting_time": 720000,
"base_casting_time": 600000,
"final_casting_time": 600000,
"extra_effects": [ { "id": "mana_fatigue" } ]
},
{
"type": "effect_on_condition",
"id": "eoc_crystal_spawn",
"effect": { "u_cast_spell": { "id": "crystallize_mana_crystal_5" } },
"false_effect": { "u_cast_spell": { "id": "crystallize_mana_1" } },
"condition": { "u_has_trait": "MANA_CRYST_MANA" }
},
{
"id": "crystallize_mana_1",
"type": "SPELL",
"name": "Crystallize Mana (1)",
"description": "Mana Crystal Spawner. If you can see this you probably debugged it in.",
"valid_targets": [ "self" ],
"spell_class": "NONE",
"flags": [ "PERMANENT", "NO_LEGS", "CONCENTRATE" ],
"difficulty": 1,
"min_damage": 1,
"max_damage": 1,
"duration_increment": 1,
"effect": "spawn_item",
"effect_str": "crystallized_mana",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 0,
"final_energy_cost": 0,
"base_casting_time": 0,
"final_casting_time": 0
},
{
"id": "crystallize_mana_crystal_5",
"type": "SPELL",
"name": "Crystallize Mana (5)",
"description": "Mana Crystal Spawner. If you can see this you probably debugged it in.",
"valid_targets": [ "self" ],
"spell_class": "NONE",
"flags": [ "PERMANENT", "NO_LEGS", "CONCENTRATE" ],
"effect": "spawn_item",
"effect_str": "crystallized_mana",
"difficulty": 1,
"min_damage": 5,
"max_damage": 5,
"duration_increment": 1,
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": 0,
"final_energy_cost": 0,
"base_casting_time": 0,
"final_casting_time": 0
},
{
"id": "mana_fatigue",
"type": "SPELL",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/traits/manatouched.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"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 ] ]
"spells_learned": [ [ "crystallize_mana", 1 ] ]
},
{
"type": "mutation",
Expand Down

0 comments on commit 5eb505a

Please sign in to comment.