Force "attack-loop" with forceAction(...)-command

romepizza

Veteran
Veteran
Joined
Nov 9, 2015
Messages
45
Reaction score
1
First Language
German
Hey guys & girls,


so my goal is to archieve a chain of attacking skills via the forceAction(skillid, battler) and BattleManager.forceAction(user) commands. I know there are some plugins out there, that do this kind of stuff, but since I work a lot with java script, I'd like to handle it this way (if even possible).


My problem is the following: Im using the <Post-Damage Eval> section of Yanfly's SkillCore plugin.


The notetag of the first Skill (#7) looks like this:


<Post-Damage Eval>


user.forceAction(8, target);


BattleManager.forceAction(user);


</Post-Damage Eval>


Skill #8 looks like this:


<Post-Damage Eval>


user.forceAction(9, target);


BattleManager.forceAction(user);


</Post-Damage Eval>


All of the skills just deal normal damage, nothing fancy (I'll do fancy stuff with it when it works).


I hoped that these three skills would be executed in a row, but they don't. Skill #7 executes as intended and so does #8, but #9 never does. Also, if I try to make an endless loop, by simply executing the very self skill in its own notebox, there also will always only be activated two of them.


Does anyone know what the obstacle might be?


My intuition says, that the engine might have some kind of recursion prevention detection or something like this, but i absolutely don't know if there aren't any other reasons behind this.


Thanks in advance,


romepizza
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top