Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Timing problem (http://forums.wolflair.com/showthread.php?t=67522)

Lord Magus December 26th, 2022 11:35 AM

Timing problem
 
I have created a skill. At certain total skill levels, it grants benefits to different spells: bonuses to DC or caster level.

However, Total Skill Level is calculated at Final/26000, whereas spell DC and CL are around Final/25000.

I have thought about defining a variable at Final/24990 that would essentially compute the total skill level (adding Ranks and the different bonuses and penalties), and using said variable to determine if bonuses to DC and CL are applicable.

Is there a simpler workaround?

Mathias December 26th, 2022 06:01 PM

This skill grants bonuses based on the final bonus? So if you get heroism cast on you, that can change the bonus and maybe push you past a threshold? It's not just calculated based on the ranks in the skill, which is a pretty permanent thing (and the skRanks field is calculated early enough that it shouldn't be a timing issue).


If it is based on the final bonus, then you'll have to manually calculate the bonus yourself, by assembling the various values.

Lord Magus December 26th, 2022 07:56 PM

Indeed, based on the final bonus (including all the buffs...). Thanks for the quick answer!


All times are GMT -8. The time now is 07:01 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.