Yanfly Action Sequence Unintentionally Attacking Twice

RobotMaid

Villager
Member
Joined
Nov 9, 2015
Messages
10
Reaction score
3
First Language
English
I've been hitting a wall. I'm trying to make an AoE skill that hits all enemies but it keeps casting twice and it's infuriating me to no end because I have no idea what changed and caused it to start doing that. I used to have the entire following sequence under "whole action" and it worked... And then suddenly stopped working and every time I used this set up, it double casts.


The notetag sequence I've been using is as follows


<setup action>


wait for movement


jump user: 20, 20


move user: forward, 20, 20


wait for movement


</setup action>


<whole action>


wait: 10


motion spell: user


animation 69: opponents


action effect: opponents


wait for animation


</whole action>


<finish action>


perform finish


wait: 20


wait for movement


MOVE user: RETURN, 20


wait for movement


wait: 10


</finish action>


Having the attack scope be "none" is a fix, but not the fix I want. I want to have the attack scope be "all enemies" so you have a chance to cancel the move if you change your mind before casting it.
 
Last edited by a moderator:

Punamaagi

Hero on their own terms
Veteran
Joined
Jan 23, 2016
Messages
233
Reaction score
341
First Language
Finnish
Primarily Uses
RMMV
I tested the skill and managed to remove the second damage ticks by inserting this between the Whole Action and Finish Action parts:


<target action>


</target action>


I think that the Target Action phase is the default phase where action sequences deal damage, so if you don't write anything in that section, the skill will deal damage for a second time in that phase. Writing an empty sequence allows the skill to "ignore" that in a way.
 

leon93

Veteran
Veteran
Joined
Oct 31, 2015
Messages
61
Reaction score
9
In layman terms, the sequence commands goes like this:


Setup > Whole > Target > Finish


So if you set up a Finish the process will run to the end, which causes the double cast. If you stop at Whole meaning you do not add the codes under target and finish, the double cast will not occur as the process does not need to run to finish stage.
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm still undecided weather or not I should add minor swearing to my game. Like I'm going for an all ages demographic... but the idea of a cartoon character saying dammit, hell, or crap in normal conversation is really funny to me.
If we assume an Elf's strong suit is Dexterity (AGI) & Intellect (MAT), I imagine Strength (ATK) & Constitution (DEF) would be among their lowest stats. But I'm having a hard deciding which should be lower, Strength or Constitution?
I'm really sorry to have to do this, but I'm going to have to start blocking those who repeatedly put up sexual content and offer absolutely nothing (that I've seen) related to what this community is supposedly created for.
Don't take it personal. I'm a rape victim with permanent injuries who can never enjoy 'it' ever again, so it's the last thing I want to have put in my face. :(
Check out my side project! It's a survival dungeon crawler! https://voidmoon-studio.itch.io/depths-of-delmora
RushLog wrote on HarlekinLehl's profile.
how do you attach those images to your posts?

Forum statistics

Threads
123,215
Messages
1,154,971
Members
161,596
Latest member
LilCronch
Top