Author | luck and unluck together |
If luck>=0 no chance to unluck attack.
Need add 15% to luck and 15% to unluck. And calculate luck and unluck separately. If luck and unluck triggers simultaneously, turn out usually attack. |
? isn't it this way already? there is no unlucky strike with luck >= 0 as far as i know, unlucky strike happen only with negative luck, or doesn't it? |
The probability of morale/luck triggers = F^(1+[moves befallen so far]-[moves not befallen so far]*F/(1-F)), whence F is luck/10 or morale/10, each stack having its own independent counters for morale and luck; F∈[0;0.5]
0 to the power of anything is 0, so therefore there is no change of it triggering either positively or negatively |
for ciopo:
for lcorndogl:
probability luck attack = F1^(1+[moves befallen so far]-[moves not befallen so far]*F1/(1-F1))
probability unluck attack = F2^(1+[moves befallen so far]-[moves not befallen so far]*F2/(1-F2))
F1=F+0.15, F2=0.15 (if F<0 F1=0.15, F2=-F+0.15)
if nothing triggers - normal attack
if only luck triggers - luck attack
if only unluck triggers - unluck attack
if luck and unluck triggers - normal attack |
there can't be luck and unluck together... |