Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DeathSheep
Member
 
Join Date: Jun 2018
Posts: 83

Old February 3rd, 2022, 07:29 AM
I am sure I saw someone had written a script to do this, but I can't find it. I am looking for a conditional where if the character does not have medium armor proficiency they gain it, but if the do, they instead get heavy armor proficiency. I don't have any problems with adding medium armor proficiency, but I'm not having any luck getting the heavy armor proficiency part to work.

Code:
      ~ Check for medium armor proficiency and grant it, or heavy if already there
      if (tagis[ArmProfGrp.ArmorMed] = 0) then
          perform hero.assign[ArmProfGrp.ArmorMed]
      else
          perform hero.assign[ArmProfGrp.ArmorHeavy]
      endif
DeathSheep is offline   #1 Reply With Quote
 


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 02:39 AM.


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