• 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

Changing damage types

jjashley

Well-known member
Is there a way via script to change the damage type of a single weapon from say piercing to bludgeoning? I know the tag is DamageType.dtPiercing, and the field is wDmgType, just not sure how to actually change it from piercing to bludgeoning or slashing or whatever. Any help will as always be appreciated.

I thought maybe this would do it but alas I was wrong again:

~ If we're disabled, do nothing
doneif (tagis[Helper.Disable] = 1)

eachpick.field[wDmgType].text &= "bludgeoning"
nexteach
 
ok I was looking in the wrong place on the github because I did look thru the material there just not at the right stuff apparently. Thanks Dungeon.
 
Will that work for an existing weapon, or is that only for other natural weapons melee or ranged? I used perform eachpick.assign[DamTypeOvr.dtBludgeon] on a morning star and when I check the tags for the weapon it shows a DamTypeOvr tag with Bludgeoning but it still shows Piercing as the Damage type. I was to not have to do an other natural melee but if that's the way I need to do it then that's what I'll do.
 
You might want to take a look at the scripting involved for the 'Weapon, Damage Type' adjustment in the Equipment section of the Adjustments tab.
 
Thanks Mergon, I didn't know that adjustment existed. With that then I don't feel a need to do anything more.
 
Back
Top