hi, someone could tell me how to do passive skills, so they are always active in the character / class but are not activable. And also if it is possible to cd the skills.
Thank you very much.
Pasive Skill & CD Skill
● ARCHIVED · READ-ONLY
-
-
I just studied this skill recently,I designed a passive skill x, and every 15 turns, state y will be activated,Need to use YEP passive core and YEP state core
In the passive state x inside note:
<Custom Turn Start Effect>
user.ersanqi_1 = user.ersanqi_1 || 0;
var stacks = user.ersanqi_1;
stacks += 1;
stacks = stacks.clamp(0, 15);
user.ersanqi_1 = stacks;
if (user.ersanqi_1 == 15) {
user.ersanqi_1 -= 15;
user.addState(y);
}
</Custom Turn Start Effect>
Hope can help you -
thank you very much