Hi, first time poster, long time reader here.
I'm trying to create a template in the editor and one of its special abilities adds a +2 bonus to each special ability (including spell-like abilities) that the creature has. I've managed to mine some code from other things in the editor, but I can't get my code to work. Right now, it just doesn't do anything.
Here's what I have so far:
I'm not sure if eachpick works in that way or if it's something else in my code. I tried using the #dc macro, but it didn't recognize eachpick and it gave me an error so I'm not sure what else to try here.
Thanks
I'm trying to create a template in the editor and one of its special abilities adds a +2 bonus to each special ability (including spell-like abilities) that the creature has. I've managed to mine some code from other things in the editor, but I can't get my code to work. Right now, it just doesn't do anything.
Here's what I have so far:
Code:
[Phase=Final Phase; Priority=10000; Index=1]
foreach pick in hero from RaceAbil where "(component.Ability & fieldval:abDC <> 0) | (component.BaseSpell & Helper.SpellLike & (sSave.Fort? | sSave.Ref? | sSave.Will?))"
eachpick.field[abDC].value += 2
nexteach
Thanks