Enemy skill is used multiple times instead of once on all actors

ElCheffe

Veteran
Veteran
Joined
Jun 4, 2021
Messages
62
Reaction score
47
First Language
German
Primarily Uses
RMMV
Hi everyone,

I have a real strange behaviour for one enemy. He has a skill to cast "Spores" on all enemies but recently, when the skill is executed, it is cast 4 times (against 3 actors). I did check the skill and the enemy but i can't identify the reason why it behaves this way.

The action script for the skill looks like this:
<setup Action>
display action
</setup Action>

<target action>
move user: forward, 42, 12
wait: 10
action animation: targets
wait for animation
action effect
</target action>

<follow action>
reset camera: 30
</follow action>

Here a screenshot of the skill itself as well as the enemy:
skill.png

enemy.png
 

Attachments

  • skill.png
    skill.png
    91.5 KB · Views: 3

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,376
Reaction score
8,395
First Language
German
Primarily Uses
RMMV
is the repeat only the animation, or does the skill deal damage/states four times?
"all enemies" should mean that the effect is done once to each of the three actors.

If the skill deals damage four times, which actor gets the fourth damage?
If it deals only three damages, but plays the animation four times, then that is something else entirely.
 

ElCheffe

Veteran
Veteran
Joined
Jun 4, 2021
Messages
62
Reaction score
47
First Language
German
Primarily Uses
RMMV
In fact actor one received two hits while two and three received one hit each.
As i couldn't find a solution i copy&pasted the whole skill in a separate line and deleted the other one. And then magic happened and the skill worked again.
Guess it was some kind of bug but fortunately it is resolved now.
Thanks for your help!
 

ElCheffe

Veteran
Veteran
Joined
Jun 4, 2021
Messages
62
Reaction score
47
First Language
German
Primarily Uses
RMMV
Could someone please close this thread as the issue is resolved. I wanted to do it myself but couldn't figure out how to. Thanks in advance.
 

Latest Threads

Latest Profile Posts

Fire-Emblem Style Level Up System, Boost on Class Change, And Animated Arrows | RPG Maker News #115

Why keyboards don't sleep? Because they have two shifts.
I realized a while ago my game was toooo big in scope. even now I wonder am I trying to do too much by myself. and that's after completely changing the format of the game.
Last week at SLC. Cali awaits. TBH I love SLC more than SF.
Back home now. I had a good time, but I had a checkup this morning so I had to come home for that. Now I'm just waiting for my therapist meeting tomorrow...
Decided to work on Wishful Wanda today. Since it's a BFB spinoff game, I decided to make the Huang brothers
Easter eggs! I'm actually pitching this to the BFDI team, btw.

Forum statistics

Threads
113,934
Messages
1,078,522
Members
148,044
Latest member
Sernyx
Top