![]() |
Member
Join Date: Jul 2014
Posts: 44
|
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 |
![]() |
![]() |
Spy
Join Date: Jan 2011
Location: Overland Park, Kansas
Posts: 1,217
|
Try adding it as a penalty (if there is one) as #competencepenalty.
Vist my D&D 3.5 homebrew campaign! http://daelund.kendallhub.net |
![]() |
![]() |
Member
Join Date: Jul 2014
Posts: 44
|
Unspecified scripting error.
![]() |
![]() |
![]() |
Senior Member
Join Date: Jul 2010
Posts: 2,941
|
Quote:
Code:
hero.childfound[kDiplomacy].field[PenComp].value -= 1 |
|
![]() |
![]() |
Member
Join Date: Jul 2014
Posts: 44
|
Thank you, that did the trick!
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|