• 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

+X to DR or gain DR X/Magic?

TCArknight

Well-known member
Is there an example of an ability that adds X to existing DR or provides X/<specific> DR? The ability is:
provides an additional 3 points of damage reduction (or damage reduction 3/magic if it does not already have damage reduction).
 
No sorry I can't think of anything that does that. :(

What you would have to do is loop through all the "DR" on a creature, they all use tag "SpecType.DR" and check its abValue field and Value.? tag. If these all end with with a value of Zero then you could apply DR 3/Magic. Else give a bonus of X to the DR found.

My question is what happens if you find Multiple DR types? Do all of them get the X bonus?
 
Thanks Shadow. I got to thinking, that because the Racial ability is meant for a creature that can have Magic DR already, then the 3 should be just added if it had it, and gain if it didn't.
 
Back
Top