YEP Action Sequence isn't working

Alphaistimz

AlphaDio Production
Veteran
Joined
Jul 19, 2018
Messages
88
Reaction score
5
First Language
Indonesian
Primarily Uses
RMMV
Guys... I'm doing action sequence and it's quite new for me. So... I'm using Battle_Engine_Core_(YEP), Row_Formation_(YEP), Target_Core_(YEP), Selection_Control_(YEP). Of course I use more YEP, but these are the ones related to the problem.
I'm doing sequence and problem arise when my character who uses whip attacks... it's supposed to hit a row only once but it hits twice.
Code:
<Target: Enemy Row>
<Select Conditions>
Front Row Only
</Select Conditions>
<Setup Action>
display action
move user: targets, front, 20
wait for movement
</Setup Action>
<Target Action>
immortal: targets, true
motion attack: user
action animation: targets
wait for animation
action effect: targets
end
</Target Action>
<Finish Action>
immortal: targets, false
clear battle log
motion escape: user
move user: home, 20
face user: target
wait for movement
</Finish Action>
I also have 'Bomb' skill which hits all enemies and again it hits twice while it's supposed to happen once:
Code:
<Custom Select Condition>
if (!user.isActor()) {     // Enemies don't have weapons
  condition = true;
} else if ([13].some(function(w) { return user.isWtypeEquipped(w); })) {
  if (user.row() === 1) {  // Target back row
    console.log('target back row!');
    condition = this.selectConditionBackRow(target);
  } else {                 // Target any row
    console.log('target any row! :D');
    condition = true;
  }
}
</Custom Select Condition>
<Setup Action>
move user: forward, 48, 10
wait for movement
</Setup Action>
<Target Action>
immortal: target, true
motion attack: user
action animation: target
action effect
wait for animation
</Target Action>
<Finish Action>
immortal: target, false
clear battle log
move user: backward, 48, 10
face user: target
wait for movement
</Finish Action>
Could anyone help me since these two are the only bugs I have so that I can release my demo?
Thanks in advance.
 

Jules98

Veteran
Veteran
Joined
Jul 10, 2017
Messages
307
Reaction score
160
First Language
Dutch
Primarily Uses
RMMV
This is happening because your skill is using 'Whole Actions' by default, as it's a skill that's set to hit all enemies. Adding 'Target Actions' on top of that will cause the skill to look like it takes effect twice.

To fix this, change your 'Target Actions' into 'Whole Actions'. Alternatively, put this in the notebox to remove the default 'Whole Actions':
Code:
<Whole Action>
</Whole Action>
 

Alphaistimz

AlphaDio Production
Veteran
Joined
Jul 19, 2018
Messages
88
Reaction score
5
First Language
Indonesian
Primarily Uses
RMMV
Oh yeah that does the trick. Thanks a bunch! :kaothx:
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I have tried, several times to understand how Markiplier is popular. You can't deny his popularity. I can only get through a few minutes of his vids, though. He's cringier than ANY cringe comp I've ever watched. When I was a kid, if you acted like that, 0 friends and 100% no dates for you. Times have changed XD
Sometimes you may feel helpless and defeated. But everyone loses from time to time. It's okay to be tired. Take a breather. Have a good cry if you need to. You gotta take breaks from your workout, or you'll collapse before you can get stronger.
So, my roommates wrote a news article in English, translated it into Bengali with google translate and now I'm helping them fix the monstrosity which was the result. Making English the medium of education is fine... but not to an extent that we forget how to write properly in our own language :")
Stream will be live shortly with some more Minecraft spriting! Feel free to drop by~

Forum statistics

Threads
93,543
Messages
913,326
Members
123,067
Latest member
SehoraX
Top