Hi there,
I have created a class which is very powerfull but for balance i would like to add lets say trait or passive skill which would have 20% chance to confuse hero after each skill or basic attack.
Is it possible?
Thanks 🙂
Hi there,
So i tried it and i am doing soemthign wrong.
I have created State "Insane mind" on position 0014 and i have added
<Passive State: 14> into class note. At this time every battle my character starts as confused.
So i put this into State notes
<Custom Conclude Effect>
var chance = Math.random();
if (chance < 0.2) {
user.addState(ConfuseID#);
}
< /Custom Conclude Effect>
But i dont know what is ConfuseID#? I put there number 14 there but no change, my hero is still confused from beggining of battle till his end
EDIT: Cant upload images as none of the upload pages works here.....
you don't need a plugin for that.
you can use the skill's own damage formula.
provided it's just one or two skills that do one simple thing, like adding a state, you don't need a larger framework for it.
using the Add State command only adds the state to the *target* of that attack.
if you want to add a state for *self-damage* you have to use the formula.
they both happen sequencially, one after the other.
the only one that picks both the initiator of the action and the reciever of the effect, is the formula.
the effects list only affect the reciever.
Oh i understand now, my fault sorry 🙂
Thats great! Finally my hero will be happy 😀