• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Increase max spell casting level?

Androktasie

New member
Hello,

Our GM recently gave us a powerful artifact that allows casting of certain spells above our level. For instance, a 6th level Hunter (able to cast up to level 2 spells) is now able to cast 4th level spells like Cure Serious Wounds.

I was able to adjust the Spells Known and Spells per Day in the Personal tab so that I could add the spell in the Hunter class tab, but it still appears greyed out since normally my character wouldn't be able to cast spells of that level just yet. Likewise, the added spell is hidden from the Spells tab.

I'd like to make a new Adjustment that allows raising the max spell casting level so the spellcasting can be tracked in the Spells tab. I think the value I'm looking for is [tMaxSpLev] (?), but so far I haven't been able to see any effect. Could someone please help with this adjustment? Also, what phase and what priority should this be?

Code:
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

      ~ Add to Max Spellcasting Level
      herofield[tMaxSpLev].value += field[pAdjust].value

Thanks!
 
Wonder if this could be better served pulling from the prestige classes that add casting levels.
 
tMaxSpLev's name is "maximum spell level", and its purpose is for prereqs like "Ability to cast 3rd level spells required", so it's a report of the highest level spells available to any of your classes, not a control that limits those classes.

If you want to adjust a particular class' spellcasting abilities, look for fields on that class, not a herofield[].
 
Got it working. Thank you for pointing me in the right direction!

Show Menu: Classes
Other adjustment subcategory: class

Eval Script:

Phase: Post Attributes
Priority: 20001

Code:
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)
      ~ If nothing chosen, get out now
      doneif (field[pChosen].ischosen <> 1)

      ~ Adjust the max caster level up or down
      field[pChosen].chosen.field[cMaxSpLev].value += field[pAdjust].value
 
Your comment does not match the effects of the line of code below it. cMaxSpLev is maximum spell level, not caster level (so telling a Hunter that their spells stop at 6th level, but a druid's cMaxSpLev would be 9). cMagicLev is the effective magic level of a class.
 
Ah, right. Good catch.

Code:
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)
      ~ If nothing chosen, get out now
      doneif (field[pChosen].ischosen <> 1)

      ~ Adjust the maximum level of spells cast up or down
      field[pChosen].chosen.field[cMaxSpLev].value += field[pAdjust].value
 
Back
Top