• 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

Class Custom abilites

DeltaMasterMind

Well-known member
Is it possible to pull Class Levels through the Class Custom Ability objects? It is no problem to do so in class specials, but I can't use the same code in the Class Custom Abilities and this is making it troublesome in keep everything as cleaned up as I want. If not is there a code that can be used to make a object forward level values that I can tap into. xIndex isn't working quite right for me yet in class custom abilities and xCount and xAllLev just won't work there. Alot of the work I need to do requires Class Level counts to be taken as a value to achieve the proper setup. The tutorial isn't providing an answer as far as I have read. :(
 
There are probably hundreds of custom special abilities which use the level of their linked class. Copy and look at the script of any of those.
 
Is it possible to pull Class Levels through the Class Custom Ability objects? It is no problem to do so in class specials, but I can't use the same code in the Class Custom Abilities and this is making it troublesome in keep everything as cleaned up as I want. If not is there a code that can be used to make a object forward level values that I can tap into. xIndex isn't working quite right for me yet in class custom abilities and xCount and xAllLev just won't work there. Alot of the work I need to do requires Class Level counts to be taken as a value to achieve the proper setup. The tutorial isn't providing an answer as far as I have read. :(
As Aaron said or look at Mathias article on Location Location Location. A custom ability is at a different location/level than a class ability and you have to adjust your script logic to match. :)
 
Yeah I still have up that web page, the Location x3. Same with the Tutorial from Herolab on the Alchemist. I have learned alot and I got it working. Granted I used field[abValue].value = #levelcount and then did some repeat fields to get what I wanted. I didn't think that would work but it did and is flexible with the timings. Sometimes I just forget where to look. Thanks though.
 
I'd advise against using #levelcount macros for this. There is a field which stores the effective level for this custom special, and unlike levelcount that will give you the level regardless of what class adds it. For example, both Bards and Skalds can use certain rage powers. If we'd built those powers using the levelcount macro, once skalds could use them we'd have had to go through and update every one of those scripts.
 
Back
Top