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.
I also have 'Bomb' skill which hits all enemies and again it hits twice while it's supposed to happen once:
Could anyone help me since these two are the only bugs I have so that I can release my demo?
Thanks in advance.
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.