• 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

Scripting Help: Replacing DamageType

Mergon

Well-known member
I am creating an Adjustment for Spiritual Weapon. It selects a non-magical melee weapon that the hero is carrying from a drop down.

What I have forgotten is how to find and remove the existing DamageType from the weapon so I can replace it with DamageType.dtForce.

Any help would be appreciated. :confused:
 
If you have the community pack look at p5CWepDT in the PHB-Adjustments (Weapon, Damage Type), it shows how to use the DamTypeOvr.? tags to overwrite weapon tags.

I think in this case though you would just push or assign the tag DamTypeOvr.dtForce on the chosen weapon.
 
<lol>

I just figured out how to delete the tag of the selected weapon. :)

DamTypeOvr is nice to know though. It's a new one for me.

Thanks.
 
Back
Top