• 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

Custom Ability Questions

AndrewD2

Well-known member
I'm not exactly sure where to go with this ability. It requires adding spellcasting ability through a custom ability.

The ability is as such:

Folk Magic (Requires Brandish Magical Might and 5 ranks in Spellcraft): His studies with the lore of the common folk enable the enlightened scholar to become a unique spellcaster. He gains the ability to cast and ready certain spells. The enlightened scholar may choose to prepare any spell from the divination and illusion schools of magic and any spells with the curse, darkness, light, mind affecting, negative energy, and positive energy descriptors (regardless of school of magic), provided he can cast spells of that level (see the table). He prepares spells ahead of time, any of which he can cast up to the maximum number of spell slots available to him for each given level. To prepare or cast a spell, an enlightened scholar must have a Wisdom score of at least 10 + the spell’s level. The Difficulty Class for a saving throw against an enlightened scholar’s spell is 10 + the spell’s level + the enlightened scholar’s Wisdom modifier. An enlightened scholar’s spells always have both somatic and verbal components. Bonus spells for enlightened scholars are based on Wisdom. The enlightened scholar’s spellcaster level is equal to his class level -3; +1 for each enlightened path ability selected from the folk magic enlightened path; his spellcaster level may never exceed his enlightened scholar class level. For the number of spell slots and spells readied per day, see the tables.

Improved: This ability can be taken multiple times, equating to a rank; the first time it is referred to as Least Folk Magic. The ranks for each additional time are Minor (2nd), Lesser (3rd), Advanced (4th), Greater (5th), Master (6th), and Legendary (7th). Each time it is taken, the enlightened scholar gains extra spell slots and spells readied as outlined.

I figure I can use xCount for the naming, but I'm not sure about how to actually give the spellcasting ability and spell slots.
 
I think what I would do is after you add this custom ability have it give a warning message that you have to add an Archetype. Then have the archetype require the above ability. Then I am pretty sure having the archetype add spellcasting is pretty easy.

If you really really want this to add spellcasting I did recently do that. It took awhile to find all the tags and stuff. I could post that code for you later tonight if you want. Basically I think I set all the arrays up in the editor and then just really early set all the tags on the class so that it suddenly thinks its a spellcaster.

Its pretty crazy to watch the screen change to suddenly having spells. :)
 
I am interested in seeing what you did. I'm not so sure an archetype would really work with the way the ability works ... although I suppose it could.
 
Guess it took me allot longer to track down then to code. :p

First/100
You will most likely have to change "root" to I think "linkage
" as your running a custom ability not a class special that is directly bootstrapped to the class. I am sorry I am too exhausted right now to double check that "linkage
" is correct... :(
Code:
   perform root.assign[CasterType.MemAll]
   perform root.assign[sClass.cHelpClr]
   perform root.assign[CasterSrc.Divine]

The above will have to be changed some. I am saying its a Divine caster and gets Cleric Spells to choose from. Now you still setup some of the values on the class itself. Especially the Spell arrays:
Noname.jpg
 
Back
Top