Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old April 10th, 2011, 08:49 AM
Could somebody point me to an example of an ability (or item) which would nullify ongoing bonuses? A thread would also be great!

eg: an ability that would cancel ongoing morale bonuses, whichever they are (which could be applied through the adjustments tab)

If there are no such examples, general pointers on how to code that would be appreciated!

Thanks!
Lord Magus is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 10th, 2011, 10:29 AM
This will be very difficult - you'll need to know the exact phase and priority when the miscellaneous bonuses for that specific mechanic are merged, and then one or two priority steps before that, set the BonMorale field to 0.
Mathias is online now   #2 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old April 10th, 2011, 11:14 AM
Just for my enlightenment... why wouldn't it work to set the BonMorale field to 0 very late in the Final Phase? I'm no programmer (of course), I'm puzzled by the need to set the field to 0 BEFORE the ability that sets it > 0 is actually applied.
Lord Magus is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 10th, 2011, 12:31 PM
You're not setting it to 0 before the other thing sets it to not-0. You're setting it to 0 after the other thing has set it to not-0, but before it's used to calculate the final attack bonus/ac bonus/etc.
Mathias is online now   #4 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:31 AM.


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