Member
Join Date: Jul 2014
Posts: 46
|
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 |
#1 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
Try adding it as a penalty (if there is one) as #competencepenalty.
|
#2 |
Member
Join Date: Jul 2014
Posts: 46
|
Unspecified scripting error.
|
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Code:
hero.childfound[kDiplomacy].field[PenComp].value -= 1 |
|
#4 |
Member
Join Date: Jul 2014
Posts: 46
|
Thank you, that did the trick!
|
#5 |
|
|