View Single Post
Asandir
Senior Member
 
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335

Old February 24th, 2013, 10:37 AM
Ok finally had time to sit down and get the error message again on this.

"Attempt to access 'listname' that does not exist for thing cIJDestru"

Existing code copied from Class Special:

field[listname].text = field[thingname].text & " +" & field[xIndex].value

~ 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)

field[abValue].value += round(field[xAllLev].value / 3,0,-1) + 1

if (root.field[cClrTurn].value < 0) then
field[livename].text = "Judgement of Profane Destruction"
elseif (root.field[cClrNeutGE].value > 0) then
field[livename].text = "Judgement of Profane Destruction"
else
field[livename].text = "Judgement of Sacred Destruction"
endif

field[livename].text &= " +" & field[abValue].value

~ only run the rest if we're activated
doneif (field[abilActive].value = 0)

~ if we're active, tell that to the hero, so we can enforce the
~ restriction on the number of judgements active at once
perform forward[Custom.ActiveJudg]

~ apply that as a damage bonus
~ NOTE: Once modifiers have been added to damage, this should be a
~ sacred/profane bonus
hero.child[Damage].field[tDamBonus].value += field[abValue].value
Asandir is offline   #9 Reply With Quote