saintaurik
Well-known member
I'm trying to create a magic item that when equipped gives a penalty to a skill. The skill in question is Listen. I tried to mess around with things but I just am not getting the proper coding. Here is what I tried.
if (field[gIsEquip].value <> 0) then
#competencebonus[hero.child[kListen].field[Pentaly].value -= 1]
endif
The error I am getting says incorrect parameter count for macro reference.
Does anyone know what I might be doing wrong for this to not work?
if (field[gIsEquip].value <> 0) then
#competencebonus[hero.child[kListen].field[Pentaly].value -= 1]
endif
The error I am getting says incorrect parameter count for macro reference.
Does anyone know what I might be doing wrong for this to not work?
Last edited: