Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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! |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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.
|
#2 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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.
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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.
|
#4 |
|
|