Senior Member
Join Date: Jan 2017
Posts: 139
|
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 |
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
try
perform hero.assign[DamageVuln.dtSlashing] and perform hero.assign[DamageRes.dtPiercing] pushtags is generally used when you are using pulltags beforehand to grab some tags using a wildcard, and then pushtag them on to the hero. Example of a pushtag script that works to grant weapon proficiencies based on finding a weapon property: Quote:
|
|
#2 |
Senior Member
Join Date: Jan 2017
Posts: 139
|
ok feeling silly because I'm pretty sure I have a note somewhere with assign. Not sure why my eyes weren't registering that I had pushtag and not assign. Thank you very much.
Joe |
#3 |
|
|