Wearing light or no armor, not encumbered, and not using a shield unless it's a buckler.
this is what I have in trying to check and see if a shield is a buckler. It works regardless of shield type.
I figure checking on the armor won't be much different than checking on the shield.
this is what I have in trying to check and see if a shield is a buckler. It works regardless of shield type.
I figure checking on the armor won't be much different than checking on the shield.
Code:
Post Attributes, 5000
foreach pick in hero from BaseArmor where "(Hero.MainHand | Hero.OffHand)"
if (eachpick.field[gIsEquip].value = 1) then
if (eachpick.tagis[IsArmor.shBuckler] = 0) then
perform hero.child[cBravado].assign[Helper.SpcDisable]
endif
endif
nexteach
If (hero.tagis[Encumbered.Light] = 0) then
perform hero.child[cBravado].assign[Helper.SpcDisable]
endif
~only perform the calculations for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)
~ Get the lower of our int bonus and duelist level and add it to our
~ dexterity modifier (min 0).
field[abValue].value += minimum(#attrbonus[aCHA], field[xAllLev].value)
field[livename].text = "Bravado +" & field[abValue].value
hero.child[ArmorClass].field[tACDexMod].value += field[abValue].value
Last edited: