• 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

Caster Level (Arcane/Divine)

Frodie

Well-known member
I need to assign caster level based on if it Arcane or Divine spells, like when you multi-class with Cleric and Wizard. I was thinking a loop of some kind would work, but any examples to look at, that yall can think of, before I get too deep.

Thanks yall
 
A Custom Ability. Kind of like the Vigilante class where you get spellcasting, but you can take both a divine and/or arcane Talent that will give you spellcasting in both. To be honest I don't know if I can do this. I can adjust the overall CL but not sure how to break it down between arcane/divine. I wonder if you can for each talent? That might work.
 
Well, the medium does a thing where when you add certain custom specials it uses the secondary spell slots to hold a different type of magic. Look at the Archmage's Arcane Surge ability for an example. Hope that helps!
 
What is a good timing for spells DC (sDCLevel)?

This is what I have ATM


Code:
Post levels 10000

field[abValue].value = field[abUserVal].value

foreach pick in hero from BaseSpell where "SpCastSrc.Divine"
   eachpick.field[sDCLevel].value += field[abValue].value 
nexteach
 
Last edited:
Never mind the timing is fine, seems it's the "SpCastSrc.Divine" in the script. Hum, the spell says the tag is there. Maybe I can look for something else or the timing. It's a new tag, maybe it comes in at a weird time.

Found it, the tags come in at final 10000, so I moved the timing to final 15000 and all is good.
 
Last edited:
Are you sure you need to add to the level field? I'd expect you'd add to the Misc field instead, which supports tracking.
 
Yea, it's all kind of weird and hard to explain. But it works ATM. They also wanted the caster level tracked not by class level, but how many times the Talent was taken. So I got it, it's crazy with scripts and tags all over the place, but works, lol.
 
This is how it turned out (I added an Increment to add the levels)

Code:
 Final 15000

field[abValue2].value = field[abUserVal].value 
field[abValue3].value = round(field[abValue2].value/2, 0, -1)

foreach pick in hero from BaseSpell where "SpCastSrc.Divine"
   eachpick.field[sCL].value += field[abUserVal].value 
   eachpick.field[sDCLevel].value += field[abValue3].value 
nexteach


and also so we meet feat pre-reqs

Code:
 Final 5000

herofield[tMaxCaster].value += field[abUserVal].value

And added the text in the abSumm

Code:
 Render 20000

field[abValue].value = field[abUserVal].value 
field[abValue].value += 1

field[abSumm].text = "Caster Level: " & field[abValue].value & "  Vs. SR: " & "+" & field[abValue].value & "  Conc. Check: " & "+" & field[abValue].value

field[sbName].text = "Divine Spellcasting"

and a bunch other "this and that", lol
 
Last edited:
Uhg, now they are going back to CL= class level. Uhg, days of work down the tubes, lol. Thanks yall for the help though, hopefully it will help someone else.
 
Back
Top