• 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

Help with eval script

Kaleb

Well-known member
I am using the kyton bloodrager bloodline for a home brew class that I am doing that has sorcerous blood line. but the armor bonus for armor of chains is not showing up because the new class does not have Rage below is the eval script for armor of chains if I remove the highlighted line would the armor bonus show up all the time?


if (field[xIndex].value = 2) then
field[listname].text = "Armor of Chains (Armor Bonus 8, Cold Resist 10)"
else
field[listname].text = "Armor of Chains (Armor Bonus 4, Cold Resist 5)"
endif

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

~ If we're disabled, just get out now
doneif (tagis[Helper.SpcDisable] <> 0)

if (field[xCount].value >= 2) then
field[livename].text = "Armor of Chains (Armor Bonus 8, Cold Resist 10)"
field[abValue].value += 8
field[abValue2].value = 10
else
field[livename].text = "Armor of Chains (Armor Bonus 4, Cold Resist 5)"
field[abValue].value += 4
field[abValue2].value = 5
endif

~Our bonus applies when we're raging
doneif (hero.tagis[Hero.Raging] = 0)

hero.child[ArmorClass].field[tACArmor].value = maximum(hero.child[ArmorClass].field[tACArmor].value, field[abValue].value)
#applyresist[xDamRsCold,field[abValue2].value]
 
Back
Top