Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old November 3rd, 2010, 04:48 PM
Okay i've tried to work the "Arcane Decay" Script onto a test item that applies two penalties to the Constitution score. Black Lotus Extract (poison)

However if I assign two Helper ShowSpec and ShowCharges fields to the gear then I get a duplicate Helper error. I presume that its an all or nothing penalty!!

If I remove the Helper for one of the charges then the item works fine, the Charge list shows on the in play tab but when I add a charge then the Constitution attribute is reduced by 2 and not 1 as I expected.

Heres the code i've got at the moment. Screenshots attached

HTML Code:
Black lotus extract

Contact DC 20

Initial Damage 3d6 Con

Secondary Damage 3d6 Con

Perils Of Using Poison

A character has a 5% chance of exposing himself to a poison whenever he applies it to a weapon or otherwise readies it for use. Additionally, a character who rolls a natural 1 on an attack roll with a poisoned weapon must make a DC 15 Reflex save or accidentally poison himself with the weapon. A creature with a poison attack is immune to its own poison and the poison of others of its kind.
Code:
~Primary CON penalty
hero.child[aCON].field[Penalty].value -= field[hUsed].value
~Secondary CON penalty
hero.child[aCON].field[Penalty].value -= field[hUsed].value
[IMG]file:///C:/DOCUME%7E1/RDBRAD%7E1/LOCALS%7E1/Temp/moz-screenshot.png[/IMG]
Attached Images
File Type: jpg Field Values.JPG (34.7 KB, 5 views)
File Type: jpg Edit Tags.JPG (49.9 KB, 4 views)
File Type: jpg Eval Scripts.JPG (37.7 KB, 4 views)
File Type: jpg Error Message.JPG (67.3 KB, 4 views)
File Type: jpg Gear Screen.JPG (107.2 KB, 5 views)
bodrin is offline   #11 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 11:17 PM.


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