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

ElCheffe

Veteran
Veteran
Joined
Jun 4, 2021
Messages
60
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,275
Reaction score
8,360
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
60
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
60
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

We're playing one of the Touch the Stars game jam entries, come join us!
Wait wait wait. Is watermelon a fruit?
Huh, 7k downloads of my ****ty icons. That's more then I ever expected xD
User of Mv3d/ Mz3d and Rosse engine. New Resource Pack on development "Halloween Stones" . Leave ideas about what you want to see on this package. :)
SetPreview.jpg
Looking at Code abd knowing that it made sense at one time. Ugh..why did I ever stop? Well I guess it will come back to me.

Forum statistics

Threads
113,547
Messages
1,075,761
Members
147,544
Latest member
davidmichael
Top