• 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

Griffon's Saddlebag: Vainglorious Armor

Enforcer84

Well-known member
So I'm looking at placing this in, and it would be easy enough to just leave this as text and do an adjustment for the AC bonus, but what's the fun in that?

The torso of this glimmering ring mail is guarded by hundreds of golden, interlocked signet rings. It's always magically clean. While wearing it, you gain a bonus to AC equal to your Charisma modifier (maximum 5). When you make an ability check, saving throw, or attack roll and roll a 20 on the d20, you're bolstered by a wave of confidence: you have advantage on the next Charisma check or Charisma saving throw you make within the next minute.

The armor grants an enchantment bonus to AC based on Charisma Modifier, Max +5.

doneif (field[gIsEquip].value = 0)
doneif (field[gIsAttuned].value = 0)

hero.child[ArmorClass].field[Bonus].value += maximum(#attrmod[aCHA],5]

I found the maximum(1,#attrmod[aCHA]) argument on a class ability.
I got an error with my cludged attempt at maximum. I can add it as #attrmod and it compiles but it doesn't actually change the AC.


edit: Timing is Pre-Attributes 10000
 
Last edited:
Back
Top