I want to create a skill that damages enemies but "add state" applied to the user.
Is there a way or any plugin to do this?
Thanks everyone.
there are several ways.
the easiest way is to use damage formula code, but that has problems as soon as you use autobattle or any form of actor AI or similar things, because under those circumstances the engine tests the result before use, and that would trigger the code even if the skill is not used.
there is always a pinned topic about the damage formula in each maker subforum.
the sure way is to trigger a common event in addition to the other effects and have that common event handle usereffects - but that can cause timing problems and is more complex to target the user.
a third possibility are plugins with effect notetags, but that requires javascript knowledge.
Attach a common event to the skill.
In the common event,
Control Variables -> Game Data -> Last -> Last Actor ID to Act
Change State -> that variable -> the state you want
Thank you Andar and ATT Turan. and especially ATT Turan. I applied it and it was successful beyond my expectations. love you guys and love this community.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!