Skip to content

Commit

Permalink
Merge pull request #78602 from Standing-Storm/archmage-bonus
Browse files Browse the repository at this point in the history
[Magiclysm] Progressive Difficulty reduction the more spells of that school you know
  • Loading branch information
Maleclypse authored Dec 16, 2024
2 parents e26a6c5 + 97d5898 commit 8ee7e77
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions data/mods/Magiclysm/eoc_difficulty_reduction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[
{
"type": "effect_on_condition",
"id": "EOC_ARCHMAGE_BENEFITS_PROGRESSIVE_SCHOOL_DIFFICULTY_REDUCTIONS",
"eoc_type": "EVENT",
"required_event": "opens_spellbook",
"effect": [
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'ANIMIST' )",
"=",
"max((trunc(u_spell_level_sum('school': 'ANIMIST') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'BIOMANCER' )",
"=",
"max((trunc(u_spell_level_sum('school': 'BIOMANCER') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'DRUID' )",
"=",
"max((trunc(u_spell_level_sum('school': 'DRUID') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'EARTHSHAPER' )",
"=",
"max((trunc(u_spell_level_sum('school': 'EARTHSHAPER') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'KELVINIST' )",
"=",
"max((trunc(u_spell_level_sum('school': 'KELVINIST') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'MAGUS' )",
"=",
"max((trunc(u_spell_level_sum('school': 'MAGUS') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'STORMSHAPER' )",
"=",
"max((trunc(u_spell_level_sum('school': 'STORMSHAPER') / 75) * -1),-6)"
]
},
{
"math": [
"u_spellcasting_adjustment('difficulty', 'school': 'TECHNOMANCER' )",
"=",
"max((trunc(u_spell_level_sum('school': 'TECHNOMANCER') / 75) * -1),-6)"
]
}
]
}
]

0 comments on commit 8ee7e77

Please sign in to comment.