Hello everyone,
im using VisuStella Battle Core and i wanted to include more damage mechanics in the common events related to every skill. Within a common event, i want to check is Switch 43 is true or not. For this i'd like to check if the target (an actor) hat a specific state (ID 39) and if yes, change Switch 43 to "on" before the damage appears.
To show you the issue, i simplified my skill and its common event: Currently it only checks whether switch 59 is active or not.
Above is the skill my enemy uses to attack my actor (sry for german btw)
Above is the event called "test", which the skill "STACHEL test" is connected to.
As i said, i want the switch check to happen before the damage / skill effects take place. The switch 59 is called "Actor stunned".
In battle, when my actor is stunned (state 39), the conditional branch should lead to the box saying "switch is on", but it doesnt.
Easy to see, i dont know much about the sequences of an battle action. By sequences i refer to those steps that VisuStella Battle Core reflects with <JS Pre-Action>, <JS Post-Damage> tags etc.
It appears that my <JS Pre-Apply> notetag cannot check for the target being stunned or not, thus always keeping the switch off. I tried it with <JS Pre-Apply> and <JS Pre-Damage>, trying to find a "time window" where the state check can occur but the damage didnt got applied yet. There seems to be a problem for the engine seeing something as a "target" before damage goes through?
Again, all of this leads to the box saying "switch is off", even if my actor is stunned.
Thanks for any responses!
im using VisuStella Battle Core and i wanted to include more damage mechanics in the common events related to every skill. Within a common event, i want to check is Switch 43 is true or not. For this i'd like to check if the target (an actor) hat a specific state (ID 39) and if yes, change Switch 43 to "on" before the damage appears.
To show you the issue, i simplified my skill and its common event: Currently it only checks whether switch 59 is active or not.
Above is the skill my enemy uses to attack my actor (sry for german btw)
Above is the event called "test", which the skill "STACHEL test" is connected to.
As i said, i want the switch check to happen before the damage / skill effects take place. The switch 59 is called "Actor stunned".
In battle, when my actor is stunned (state 39), the conditional branch should lead to the box saying "switch is on", but it doesnt.
Easy to see, i dont know much about the sequences of an battle action. By sequences i refer to those steps that VisuStella Battle Core reflects with <JS Pre-Action>, <JS Post-Damage> tags etc.
It appears that my <JS Pre-Apply> notetag cannot check for the target being stunned or not, thus always keeping the switch off. I tried it with <JS Pre-Apply> and <JS Pre-Damage>, trying to find a "time window" where the state check can occur but the damage didnt got applied yet. There seems to be a problem for the engine seeing something as a "target" before damage goes through?
Again, all of this leads to the box saying "switch is off", even if my actor is stunned.
Thanks for any responses!