Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Greylin
Member
 
Join Date: Jul 2014
Posts: 39

Old August 6th, 2018, 02:52 PM
Hi, sorry for the basic question. A minor magical monocle that adds +2 Search, +2 Sense Motive, +1 Intimidate (big scary magnified eye), -1 Diplomacy (big scary magnified eye).

I've cribbed the below from other items in Eval Scripts (Pre-Levels, Priority 5000) but the -1 Diplomacy penalty is not working. Can you help please?

--snip--


if (field[gIsEquip].value <> 0) then

#competencebonus[hero.childfound[kSearch], 2]
#competencebonus[hero.childfound[kSenseMot], 2]
#competencebonus[hero.childfound[kIntim], 1]
#competencebonus[hero.childfound[kDiplomacy],-1]

endif
Greylin is offline   #1 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Overland Park, Kansas
Posts: 1,191

Old August 6th, 2018, 04:46 PM
Try adding it as a penalty (if there is one) as #competencepenalty.

Vist my D&D 3.5 homebrew campaign! http://daelund.kendallhub.net
Kendall-DM is offline   #2 Reply With Quote
Greylin
Member
 
Join Date: Jul 2014
Posts: 39

Old August 8th, 2018, 03:37 PM
Unspecified scripting error.
Greylin is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 2,593

Old August 9th, 2018, 11:23 AM
Quote:
Originally Posted by Greylin View Post
Hi, sorry for the basic question. A minor magical monocle that adds +2 Search, +2 Sense Motive, +1 Intimidate (big scary magnified eye), -1 Diplomacy (big scary magnified eye).

I've cribbed the below from other items in Eval Scripts (Pre-Levels, Priority 5000) but the -1 Diplomacy penalty is not working. Can you help please?

--snip--


if (field[gIsEquip].value <> 0) then

#competencebonus[hero.childfound[kSearch], 2]
#competencebonus[hero.childfound[kSenseMot], 2]
#competencebonus[hero.childfound[kIntim], 1]
#competencebonus[hero.childfound[kDiplomacy],-1]

endif
The Bonus fields cannot drop below zero. I don't know if there's an equivalent macro for applying to the penalty fields, but you can sub in that last line with this:

Code:
hero.childfound[kDiplomacy].field[PenComp].value -= 1
Sendric is online now   #4 Reply With Quote
Greylin
Member
 
Join Date: Jul 2014
Posts: 39

Old September 15th, 2018, 09:48 AM
Thank you, that did the trick!
Greylin is offline   #5 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 06:20 AM.


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