Hero Lab 4e

Herolab D&D 4e Development => Herolab 4e Development => Script Repository => Topic started by: Sean Abel on August 04, 2014, 11:46:32 PM

Title: Eval Script to add a shield Bonus
Post by: Sean Abel on August 04, 2014, 11:46:32 PM
Phase: Setup Priority:1001 Index:1
Script
~+2 shield bonus to AC
      #traitmodify[defAC,trtShield,2,""]

NOTE 2 is the bonus you want to add change this number for the correct amount.
Title: Re: Eval Script to add a shield Bonus
Post by: Cryptoknight on September 18, 2014, 10:12:52 PM
Adding it to items that only impact AC when equipped in offhand is done like this


doneif (parent.tagis[Helper.EqpOff] = 0 )
#traitmodify[defAC,trtShield,1,""]