• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Judgement Eval script

Kaleb

Well-known member
I would like some help writing an eval script similar to a sliver smite bracelet that would count the inquisitors level 5 higher than normal to determine what Judgments he would get..


Pre-Levels 10000 1

if (field[gIsEquip].value <> 0) then
hero.childfound[cPalSmite].field[xExtraLev].value += 4
endif

the problem that I am having is that the Judgement class ability is written completely different than the cPalSmite and I can't figure out what the Judgement ability is called, below is the eval script for the jugement class ability


field[listname].text = "Judgment (" & field[xIndex].value & "/day)"

if (field[abValue].value > 1) then
perform assign[SbNamePar.AppValue]

Below is the Eval script for second judgement would I use the [cInqJudgem] in place of the [cPalSmite]. to get the same effect of the sliver smite bracelet?

if (field[xIndex].value > 1) then
field[listname].text = "Third Judgment"
endif

~ only run the rest for the first copy
doneif (tagis[Helper.FirstCopy] = 0)

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)

if (field[xCount].value > 1) then
hero.childfound[cInqJudgem].field[livename].text = "Third " & hero.childfound[cInqJudgem].field[livename].text
#appenddesc[cInqJudgem,"{b}Addition from Third Judgment{/b}: At 16th level, whenever an inquisitor uses her judgment ability, she selects three different judgments, instead of two. As a swift action, she can change one of these judgments, causing the bonuses from that judgment to reset to those granted on the first round."]
else
hero.childfound[cInqJudgem].field[livename].text = "Second " & hero.childfound[cInqJudgem].field[livename].text
#appenddesc[cInqJudgem,"{b}Addition from Second Judgment{/b}: At 8th level, whenever an inquisitor uses her judgment ability, she selects two different judgments, instead of one. As a swift action, she can change one of these judgments, causing the bonuses from that judgment to reset to those granted on the first round."]
endif

perform assign[SbNamePar.AppText]
endif
 
Since judgments are split among lots of different abilities, you'll need to foreach through them all and add the extra levels to each. Check to see which tag they have in common an use that in your foreach.
 
Back
Top