View Single Post
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old August 8th, 2018, 05:23 AM
I'm not sure when these tags were added or if we've just never discovered them, but I figured I would share these tags for those of you that wanted to know what tags on weapons or natural attacks can easily modify the attacks (Hex warrior scripting I'm looking to refine you now). I'm adding them to the github wiki entry for natural attacks just in case:

DamageOpt.aDEX <- adding this tag asks the weapon attack to take the higher of Dexterity or whatever it normally uses (aSTR for melee weapons. You could easily ask it to use aWIS, aINT or anything.

DamageOver.aWIS <- this tag forces wisdom to be the damage calculation attribute, can use any of the attribute tags.

MelAttOver.aCHA <- this tag forces Charisma to be the melee hit modifier.

RanAttOver.aWIS <- this tag forces Wisdom as the ranged hit modifier.

MelAttOpt.aCON <- this tag asks it to determine which is higher, CON or STR for melee.

RanAttOpt.aCHA <- this tag asks to calculate which is higher Cha or Dex for ranged attacks.

For all the above examples, the second part of the tag can be any attribute modifier (aSTR, aDEX, aCON, aINT, aWIS, aCHA), not just the one I listed.

For all I know, these were added in a stealth update or maybe just missed in documentation somewhere. It reduces a lot of manual calculations that I've seen for things (specifically like the Hex Warrior ability scripting).
dungeonguru is offline   #1 Reply With Quote