Redcap's Corner
Well-known member
I have a custom ability that either gives the hero a pair of claw attacks OR increases the damage of the hero's claw attacks by one step if the hero already has claws.
I have wClaw bootstrapped at First/600 with the following condition:
And I have the following evalscript:
At present, it's just adding the second pair of claws and not worrying about increasing the damage of the first pair. I'm guessing this means wClaw is not a direct child of hero. What's the "address" for wClaw?
I have wClaw bootstrapped at First/600 with the following condition:
Code:
(fieldval:abValue2 <> 1)
And I have the following evalscript:
Code:
FIRST/599
~ If the hero already has claws, ignore the following.
doneif (hero.childlives[wClaw] <> 0)
~ Increase the existing claws' damage by one step.
perform hero.child[wClaw].assign[Helper.DamageUp]
~ Flag the hero as having claws for the conditional claw bootstrapping.
field[abValue2].value = 1
At present, it's just adding the second pair of claws and not worrying about increasing the damage of the first pair. I'm guessing this means wClaw is not a direct child of hero. What's the "address" for wClaw?