• 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

Ability that works when....

Pezmerga

Well-known member
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.


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:
Back
Top