Check if an actor has attacked, no matter if the attack hits / differentiate physical and magical evasion

Klunky2

Veteran
Veteran
Joined
Jul 2, 2017
Messages
118
Reaction score
4
First Language
german
Primarily Uses
RMMV
Ok for context:

INTENTION:

I made a skill that grants the user the ability to dodge the next incoming attack for 3 rounds. This is used by an enemy. So of course the logic is, if the enemy dodges the next attack, the effect should vanish.

How can I check that the enemy has avoided any attack? I mean I could probably place a query into EVERY skill that targets one or more enemies and look if the target evaded that attack but this would be probably way too messy I need to find a way to place something like a fork condition as Battle/Common Event.

ALTERNATIVE:


alternatively I could change the skill so that it only includes physical attack and vanishes after the target has been hit by magic attacks, but this brings up another problem. It looks like that the sp-parameter "evasion" counts for phycial AND magic attacks there is not split between phsyical evasion and magical evasion, is there any possibility to differentiate between these?

I would be very helpful for some advice here. D:
 

Lay

Veteran
Veteran
Joined
Jul 18, 2019
Messages
124
Reaction score
47
First Language
French
Primarily Uses
RMMV
Can you provide more information on the plugins you are using ? (only need the plugins that are relevant for states in battle)
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top