Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old September 20th, 2023, 12:39 PM
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 by Enforcer84; September 20th, 2023 at 12:42 PM.
Enforcer84 is offline   #1 Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:48 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.