I do not understand how to implement the sequence of skills.
Skills are created through events.
For example, when the character consistently applies "Direct hit", "Direct hit", "Strike from below," then after the third hit, there will be bonus damage. But if the character interrupts the sequence using another skill, it all starts from the beginning.
First I thought it would be easy. Multiple variables, multiple switches, possibly a pair of arrays. But everything turned out to be much more complicated. I can not hide the interruption of the sequence, and I can not trace the sequence itself.
I need your help.
Sorry for my english. This language is not my native language.
Skills are created through events.
For example, when the character consistently applies "Direct hit", "Direct hit", "Strike from below," then after the third hit, there will be bonus damage. But if the character interrupts the sequence using another skill, it all starts from the beginning.
First I thought it would be easy. Multiple variables, multiple switches, possibly a pair of arrays. But everything turned out to be much more complicated. I can not hide the interruption of the sequence, and I can not trace the sequence itself.
I need your help.
Sorry for my english. This language is not my native language.