View Single Post
risner
Senior Member
Volunteer Data File Contributor
 
Join Date: Jun 2010
Posts: 623

Old September 19th, 2010, 11:34 AM
I'm still trying to fix a bug in Wild Empathy data. It doesn't display the bonus, so things like Druidic Avenger (which has a -4) is not noted.

I am currently tried to fix this by adding an adjustment, but it won't change the name.

I added this code:
Code:
  <thing id="pFixWELU" name="Fix Wild Empath to live update" description="Fixup
Wild Empath to display a special." compset="InPlay" summary="Update Wild Empathy
 for Druidic Avenger">
    <tag group="Helper" tag="NoIncr" name="NoIncr" abbrev="NoIncr"/>
    <eval phase="Render" priority="10001"><![CDATA[var levs as number

~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Calculate Wild Empathy 1d20 + Druid Level + CHA mod
if (hero.childfound[cDrdWildE].field[xExtraLev].value <> 0) then
     levs = hero.childfound[cDrdWildE].field[xExtraLev].value + hero.childfound[
cDrdWildE].field[xTotalLev].value
     if (hero.childfound[varDruAven].field[cvLevel].value <> 0) then
          levs += -4
     endif
     hero.childfound[cDrdWildE].field[livename].text = "Hi " & levs
endif]]></eval>
    </thing>
Please help, it's been weeks since the last post.
risner is offline   #21