Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - 4th Edition (http://forums.wolflair.com/forumdisplay.php?f=60)
-   -   ITEM: Battlestrider Greaves (http://forums.wolflair.com/showthread.php?t=52257)

DMayhew469 February 21st, 2015 04:13 AM

ITEM: Battlestrider Greaves
 
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 February 26th, 2015 01:10 PM

I found it.

doneif (hero.haschild[Armor,"Equipped.Equipped & ArmorCat.Heavy"] = 0)


All times are GMT -8. The time now is 10:01 AM.

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