Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - 4th Edition

Notices

Reply
 
Thread Tools Display Modes
DMayhew469
Member
 
Join Date: Aug 2011
Posts: 73

Old February 21st, 2015, 04:13 AM
I'm trying to add a script to add the benefits of this magic item I have added the +1 to speed. However, I would like to add some logic so that the increase only applies if the Hero is wearing Heavy armor. Does anyone know how to determine the armor type worn? Looking for something like:

doneif (Wearing Heavy Armor)

Thanks
DMayhew469 is offline   #1 Reply With Quote
DMayhew469
Member
 
Join Date: Aug 2011
Posts: 73

Old February 26th, 2015, 01:10 PM
I found it.

doneif (hero.haschild[Armor,"Equipped.Equipped & ArmorCat.Heavy"] = 0)
DMayhew469 is offline   #2 Reply With Quote
Reply

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 08:01 AM.


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