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] Tune channeling spells with scale modifier #72805

Merged
merged 5 commits into from
Apr 4, 2024
Merged
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
38 changes: 19 additions & 19 deletions data/mods/Magiclysm/Spells/animist.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"name": "Life Conversion",
"description": "You channel lifeforce itself into your spiritual energy. You consume a rune to regain mana.",
"valid_targets": [ "self" ],
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(75)" ] },
"damage_increment": { "math": [ "channeling_proficiency_bonus_calculate(15)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(600)" ] },
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(75, 1)" ] },
"damage_increment": { "math": [ "channeling_proficiency_bonus_calculate(15, 0.03)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(600, 1)" ] },
"max_level": 35,
"effect": "recover_energy",
"effect_str": "MANA",
"shape": "blast",
"spell_class": "ANIMIST",
"energy_source": "MANA",
"components": "spell_components_rune_animist",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(500)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(500, 4)" ] },
"flags": [ "SOMATIC", "VERBAL", "SILENT", "NO_LEGS", "CONSUMES_RUNES" ],
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"difficulty": 3
Expand All @@ -53,16 +53,16 @@
"name": "Mind over Pain",
"description": "With an intense ritual that resembles crossfit, you manage to put some of your pain at bay.",
"valid_targets": [ "self" ],
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(10)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(100)" ] },
"damage_increment": 2.0,
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(10, 1)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(100, 1)" ] },
"damage_increment": { "math": [ "channeling_proficiency_bonus_calculate(2.0, 0.022)" ] },
"max_level": 45,
"spell_class": "ANIMIST",
"effect": "recover_energy",
"effect_str": "PAIN",
"shape": "blast",
"energy_source": "STAMINA",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(50000)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(50000, 100)" ] },
"base_energy_cost": 5000,
"energy_increment": 500.0,
"flags": [ "SOMATIC", "VERBAL", "PAIN_NORESIST" ],
Expand Down Expand Up @@ -423,7 +423,7 @@
"effect": "spawn_item",
"effect_str": "rune_animist",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(5000)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(5000, 10)" ] },
"base_energy_cost": 5,
"min_duration": 1,
"max_duration": 2,
Expand Down Expand Up @@ -454,7 +454,7 @@
"min_range": 4,
"max_range": 26,
"range_increment": 1.1,
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(400)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(400, 1)" ] },
"spell_class": "ANIMIST",
"difficulty": 6,
"max_level": 20,
Expand All @@ -464,9 +464,9 @@
"min_duration": 36000,
"max_duration": 1080000,
"duration_increment": 36000,
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(300)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(30)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-14)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(300, 1)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(30, 1)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-14, 0.051)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"energy_source": "MANA"
},
Expand Down Expand Up @@ -510,7 +510,7 @@
"//": "would be cool to make it deal damage the same as hp of the monster, but not possible sadly",
"min_damage": { "math": [ "evocation_proficiency_bonus_calculate(20)" ] },
"max_damage": { "math": [ "evocation_proficiency_bonus_calculate(180)" ] },
"damage_increment": 6.4,
"damage_increment": { "math": [ "evocation_proficiency_bonus_calculate(6.4)" ] },
"spell_class": "ANIMIST",
"difficulty": 5,
"max_level": 25,
Expand All @@ -536,9 +536,9 @@
"spell_class": "ANIMIST",
"difficulty": 4,
"max_level": 10,
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(30000)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(1000)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-200)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(30000, 10)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(1000, 10)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-200, 0.007)" ] },
"energy_source": "MANA",
"extra_effects": [ { "id": "create_rune_animist", "hit_self": true }, { "id": "eoc_channeling_setup" } ]
},
Expand Down Expand Up @@ -1047,8 +1047,8 @@
"difficulty": 5,
"max_level": 15,
"energy_source": "MANA",
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(550)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(90000)" ] }
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(550, 5)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(90000, 100)" ] }
},
{
"type": "effect_on_condition",
Expand Down
4 changes: 2 additions & 2 deletions data/mods/Magiclysm/Spells/attunements/Artificer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
"min_duration": 1500,
"duration_increment": 115,
"max_duration": 5500,
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(140)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(140, 1.5)" ] },
"components": "spy_wasp",
"field_id": "fd_clairvoyant",
"min_field_intensity": 1,
"max_field_intensity": 1,
"spell_class": "ARTIFICER",
"difficulty": 3,
"max_level": 35,
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(700)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(700, 1.5)" ] },
"energy_source": "MANA"
},
{
Expand Down
8 changes: 4 additions & 4 deletions data/mods/Magiclysm/Spells/attunements/Biotek.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"max_level": 35,
"effect": "attack",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(500)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"energy_increment": { "math": [ "channeling_proficiency_negate_calculate(-20)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(100)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(500, 1)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 1)" ] },
"energy_increment": { "math": [ "channeling_proficiency_negate_calculate(-20, 0.03)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(100, 1)" ] },
"components": "jury_rig",
"flags": [ "SOMATIC", "VERBAL", "NO_LEGS", "CONCENTRATE", "MUST_HAVE_CLASS_TO_LEARN" ],
"spell_class": "BIOTEK",
Expand Down
6 changes: 3 additions & 3 deletions data/mods/Magiclysm/Spells/attunements/Cleansing_Flame.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"max_level": 1,
"base_casting_time": {
"math": [
"u_effect_intensity('effect_burning_trail') > -1 ? 0 : 50 - ((u_proficiency('prof_magic_enhancement_beginner', 'format': 'percent') * 1) / 10) + ((u_proficiency('prof_magic_enhancement_apprentice', 'format': 'percent') * 1) / 10) + ((u_proficiency('prof_magic_enhancement_master', 'format': 'percent') * 1) / 10)"
"u_effect_intensity('effect_burning_trail') > -1 ? 0 : 50 - ((u_proficiency('prof_magic_enhancement_beginner', 'format': 'percent') * 1) / 10) - ((u_proficiency('prof_magic_enhancement_apprentice', 'format': 'percent') * 1) / 10) - ((u_proficiency('prof_magic_enhancement_master', 'format': 'percent') * 1) / 10)"
]
},
"base_energy_cost": 25
Expand Down Expand Up @@ -155,8 +155,8 @@
"valid_targets": [ "self" ],
"effect": "attack",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(350)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(350, 1.5)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 1.5)" ] },
"energy_source": "MANA",
"difficulty": 10,
"min_damage": -20,
Expand Down
8 changes: 4 additions & 4 deletions data/mods/Magiclysm/Spells/attunements/Gaias_Chosen.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"effect": "attack",
"effect_str": "cureall",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(60000)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(60000, 100)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 10)" ] },
"energy_source": "MANA",
"difficulty": 8,
"min_damage": -20,
Expand All @@ -30,8 +30,8 @@
"effect_str": "EOC_DUST_REBORN_INITIAL",
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(2160000)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(2160000, 1000)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000, 20)" ] },
"energy_source": "MANA",
"flags": [ "SOMATIC", "VERBAL", "CONCENTRATE", "MUST_HAVE_CLASS_TO_LEARN" ],
"spell_class": "GAIAS_CHOSEN",
Expand Down
12 changes: 6 additions & 6 deletions data/mods/Magiclysm/Spells/attunements/Permafrost_Mage.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"energy_source": "MANA",
"difficulty": 9,
"max_level": 35,
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-15)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(200)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"energy_increment": { "math": [ "channeling_proficiency_negate_calculate(-15)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(400)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600, 5)" ] },
"casting_time_increment": { "math": [ "channeling_proficiency_negate_calculate(-15, 0.0375)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(200, 5)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 5)" ] },
"energy_increment": { "math": [ "channeling_proficiency_negate_calculate(-15, 0.0375)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(400, 5)" ] },
"min_damage": 1,
"max_damage": 1,
"min_duration": 10000,
Expand Down
20 changes: 10 additions & 10 deletions data/mods/Magiclysm/Spells/biomancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"range_increment": 0.75,
"effect": "attack",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(300)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(300, 3)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 10)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"flags": [ "SOMATIC", "VERBAL", "NO_PROJECTILE" ],
"spell_class": "BIOMANCER",
Expand All @@ -30,8 +30,8 @@
"valid_targets": [ "self" ],
"effect": "pain_split",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(100)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(100, 1)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(800, 10)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"energy_source": "MANA",
"flags": [ "SOMATIC", "NO_LEGS", "CONCENTRATE" ],
Expand Down Expand Up @@ -229,7 +229,7 @@
"effect": "spawn_item",
"effect_str": "rune_biomancer",
"shape": "blast",
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(5000)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(5000, 15)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"base_energy_cost": 5,
"min_duration": 1,
Expand Down Expand Up @@ -521,12 +521,12 @@
"max_level": 15,
"energy_source": "MANA",
"min_range": 1,
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1500)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_bonus_calculate(180000)" ] },
"min_duration": { "math": [ "channeling_proficiency_bonus_calculate(4500000)" ] },
"max_duration": { "math": [ "channeling_proficiency_bonus_calculate(45000000)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1500, 10)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_bonus_calculate(180000, 1000)" ] },
"min_duration": { "math": [ "channeling_proficiency_bonus_calculate(4500000, 10000)" ] },
"max_duration": { "math": [ "channeling_proficiency_bonus_calculate(45000000, 10000)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"duration_increment": { "math": [ "channeling_proficiency_bonus_calculate(2700000)" ] }
"duration_increment": { "math": [ "channeling_proficiency_bonus_calculate(2700000, 10000)" ] }
},
{
"id": "biomancer_carrion_feast",
Expand Down
24 changes: 12 additions & 12 deletions data/mods/Magiclysm/Spells/classless.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"effect_str": "eoc_crystal_spawn",
"shape": "blast",
"energy_source": "MANA",
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600000)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600000)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000, 10)" ] },
"final_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(1000, 10)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600000, 4000)" ] },
"final_casting_time": { "math": [ "channeling_proficiency_negate_calculate(600000, 4000)" ] },
"extra_effects": [ { "id": "mana_fatigue" }, { "id": "eoc_channeling_setup" } ]
},
{
Expand Down Expand Up @@ -125,7 +125,7 @@
"min_damage": { "math": [ "evocation_proficiency_bonus_calculate(30)" ] },
"max_damage": { "math": [ "evocation_proficiency_bonus_calculate(100)" ] },
"extra_effects": [ { "id": "eoc_evocation_setup" } ],
"damage_increment": 3.5,
"damage_increment": { "math": [ "evocation_proficiency_bonus_calculate(3.5)" ] },
"min_range": 3,
"max_range": 12,
"range_increment": 0.45,
Expand Down Expand Up @@ -432,13 +432,13 @@
"shape": "blast",
"sound_description": "a loud, high pitched sound",
"damage_type": "sonic",
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(12)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(120)" ] },
"min_damage": { "math": [ "channeling_proficiency_bonus_calculate(12, 0.5)" ] },
"max_damage": { "math": [ "channeling_proficiency_bonus_calculate(120, 0.5)" ] },
"damage_increment": 5,
"min_range": 5,
"max_range": 55,
"range_increment": 2,
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(125)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(125, 1)" ] },
"spell_class": "NONE",
"difficulty": 3,
"max_level": 25,
Expand Down Expand Up @@ -469,8 +469,8 @@
"duration_increment": 720000,
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"energy_source": "MANA",
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(50)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(6000)" ] }
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(50, 0.5)" ] },
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(6000, 15)" ] }
},
{
"id": "classless_clean_clothing_and_self",
Expand All @@ -486,9 +486,9 @@
"difficulty": 2,
"max_level": 15,
"energy_source": "MANA",
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(75)" ] },
"base_energy_cost": { "math": [ "channeling_proficiency_negate_calculate(75, 0.5)" ] },
"extra_effects": [ { "id": "eoc_channeling_setup" } ],
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(3000)" ] }
"base_casting_time": { "math": [ "channeling_proficiency_negate_calculate(3000, 12)" ] }
},
{
"type": "effect_on_condition",
Expand Down
Loading
Loading