I know how to check if a state is present, and if it is, to add another state e.g.
if b.state?(29); then; b.add_state(49); end;
and had thought that the same structure would apply for checking if a debuff is present, and if it is, then adding another one, lasting 6 turns. So I have
if b.debuff?(3); then; b.add_debuff(2, 6); end;
but that doesn't work. Does anyone know what the syntax should be?
Thank you.
if b.state?(29); then; b.add_state(49); end;
and had thought that the same structure would apply for checking if a debuff is present, and if it is, then adding another one, lasting 6 turns. So I have
if b.debuff?(3); then; b.add_debuff(2, 6); end;
but that doesn't work. Does anyone know what the syntax should be?
Thank you.
