Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
February 2nd, 2020, 06:47 AM
|
Just use the #applybonus macro, since bonuses of the same type should never stack (except dodge).
You're original code was using the "+=" operator, which just adds your new value to the existing value.
Farling
Author of the Realm Works Import tool, Realm Works Output tool and Realm Works to Foundry module
Donations gratefully received via Patreon, Ko-Fi or Paypal
|
#5
|
|