I'm trying to add an adjustment that will show a character as having Resistance to Piercing and Vulnerability to Slashing. Can't quite figure out what I'm doing wrong.
The script is as follows: Pre-levels Priority 10000
~ if we've been disabled, get out now
doneif (tagis[Helper.Disable] <> 0)
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Set the damage vulnerability to the hero
perform hero.pushtags[DamageVuln.dtSlashing]
~ Set the damage resistances to the hero
perform hero.pushtags[DamageRes.dtPiercing]
This works on ability if I change pre-levels to post levels and remove the enabled portion. Just can't get it to work as an adjustment. Any advice on what I'm doing wrong?
Joe
The script is as follows: Pre-levels Priority 10000
~ if we've been disabled, get out now
doneif (tagis[Helper.Disable] <> 0)
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Set the damage vulnerability to the hero
perform hero.pushtags[DamageVuln.dtSlashing]
~ Set the damage resistances to the hero
perform hero.pushtags[DamageRes.dtPiercing]
This works on ability if I change pre-levels to post levels and remove the enabled portion. Just can't get it to work as an adjustment. Any advice on what I'm doing wrong?
Joe