http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/
yanflys DoT formulas dont work while outside battle, just the way its made. its even in the update notes.
so im trying to make a work around so while in battle it will use the formula but outside battle a secondary poison state will trigger using the default hp-% thing.
my in battle thing is fine. what i need help with is making the outside battle passive condition on a different state.
<Custom Passive Condition>
if not in battle && isState affected 4 {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
so if not in battle and the character is poisoned this passive state will activate and deal hp-% damage at every stepsForTurn update
and the condition will deactivate when a new fight starts or the normal poison state wears off/is cured.
Passive Condition outside battle+state affected
● ARCHIVED · READ-ONLY
-
-
you just answered yourself.
if not in battle
and
the character is poisoned
activate and deal hp-% damage at every stepsForTurn
although, more like:
on trigger stepsForTurn, (implies not in battle)
and,
the character is poisoned,
deal damage.
@JamesRyan
edited to avoid doublepost: the plugin doesn't watch for stepsforturn, so even with that condition, it won't work.
you have to let stepsforturn trigger, and have *it* go find an entry point to the plugin. -
Code:
if (!$gameParty.inBattle() && user.isStateAffected(4)) -
thats working but at the same time its causing something weird.
because now the normal stats turns are not updating
edit
im guessing the break is happening because i just updated all my yanfly plugins
turnd off the passive thing n the normal stats still arnt updating
edit
narrowed it down to a new issue from 1 of the battle plugin updates
its something in the battle engine core update that is stopping steps from updating turn count