I have a question, I've tried many things but none seems to work: using symphony, when we want a skill to inflict a state, it only works with tags?
I tried to make a skill inflict states the default way and it doesn't work, only works with tags. however with tags it seems not possible to make the state only be inflicted with , let's say, 25% chance.
Can anyone help me?
What other scripts are you using? I use symphony and have no problems adding states through the default method.
I tried in the Symphony demo, only with yanfly battle engine and it doesn't work. Through tags works fine, but it's not posible to define the chance.
however common events, buffs and that stuff works fine the default way, states are the only thing that don't work
edit: I forgot to say. The states work fine if I don't use any tags in the skill. it's when I use some tags (tom make the char jump and stuff) that the states are not applied
another solution, what about if you put the state inflicted chance at the formula box. for example, you type this in your skill's formula :
c=rand(2);b.add_state(2) if c==1;a.atk * 4 - b.def * 2in this example, the random chance is set between 0 and 1 (so if between two numbers, means that the chance is 50%). the state number 2 (poison) will be added into battler ONLY when the chance is number 1 (still it's 50% chance to get number 0 on variable c and 50% chance to get number 1 on variable c). and then execute the damage. in your example is 25% chance, so this might work :
c=rand(4);b.add_state(2) if c==2;a.atk * 4 - b.def * 2just try it. i just use the formula box to manipulate the chance 😀
you can make it shorter I believe
b.add_state(2) if rand(4)==2;a.atk * 4 - b.def * 2
though I'm curious as to why the normal method doesn't when when he's using any tag in his skills
@OP - btw, it's customary to put a link to the script that ur using...
I know he's using battle symphony... what I said was that it was customary for OPs to put a link to the script so that people can help him faster since they won't have to search for it...
Are you not using "skill effect: whole" or "skill effect: effect" in your tags? Using whole will apply the calculations, damage, and skill effects. Using effect will only apply the skill's effect (no damage or hit/miss calc). If you're just using dmg or calc then the state won't work.
adiktuzmiko and TroyZ:
sorry, I forgot to put the script ><
but, yeah, looks like it works perfectly fine using the dmg formula to apply the states.
kerbonklin:
YES! it looks like it was that. I was using the default example skills yami made in her demo, but every single one used "skill effect: dmg". I tried with skill "effect:whole" and worked 😛
In the end, applying the skill with the dmg formula works fine with any skill effect. The default way of applying states works with this "skill effect:whole".
I read the manual but some tags were a little confusing (now that I read them again, I see they are not that confusing).
Anyway, thanks everyone, the problem is solved, the thread can be closed 🙂