Yanfly's Battle Symphony

I have a class that can duel wield OR use a two handed weapon. The class has it's own attack skill. I am using yanfly battle command list to give a different skill for the base attack.

The tag looks like this:

<command list>

SKILL 15

SKILL LIST

Defend

Items

</command list>

 

Can this be changed depending on what weapon is equipped? Like for instance, have a skill 15 which would be the duel wield base attack and have a skill 16 be for the two handed base attack. Then depending on what weapon you have, the skill changes?

 

IF this cannot be done, in battle symphony you can incorporate IF statements, but I don't know the code to do it. This is what I have so far:

 

<target action>   

move user: target, body, wait

stance: user, attack

icon create: user, weapon, hand

if weapon == axe

autosymphony: single swing

attack animation 13: target, wait

skill effect: whole

autosymphony: single swing

attack animation 13: target, wait

skill effect: whole

else

autosymphony: single swing

attack animation 13: target, wait

skill effect: whole

end

 

Bold text = things that I know aren't setup right. Does anyone know how to get this to work?
bump
Zero0018, please do not bump your topic unless it has been 72 hours later since your last post. You can review our forum rules here. Thank you.
Yami* Battle Symphony (should fix your title lol)

And use this:

if user.weapons[1]

   insert lines of tags here

else

   insert other lines of tags here

end

(You don't have to use the Else btw, can just put the other tags after the End for the same result)

This will check to see if a second weapon is equipped via Dual Wield. You can also use [0] if you want to check if any weapon is equipped at all in the first slot. (dual wield or not)

If you want to check for specific weapon types, it would be a different check, the one that would check to see if a weapon type is equipped on the user. (I forget what it is)
Sorry Shaz assumed it was 24 hours. 

Yami* Battle Symphony (should fix your title lol)

And use this:

if user.weapons[1]

   insert lines of tags here

else

   insert other lines of tags here

end

(You don't have to use the Else btw, can just put the other tags after the End for the same result)

This will check to see if a second weapon is equipped via Dual Wield. You can also use [0] if you want to check if any weapon is equipped at all in the first slot. (dual wield or not)

If you want to check for specific weapon types, it would be a different check, the one that would check to see if a weapon type is equipped on the user. (I forget what it is)
 

I don't know how to change the title of the thread. I just copied how I had it named in my map. 

 

<target action>   

move user: target, body, wait

stance: user, attack

icon create: user, weapon, hand

if user.weapons[1]

  autosymphony: single swing

  attack animation 13: target, wait

  skill effect: whole

  autosymphony: single swing

  attack animation 13: target, wait

  skill effect: whole

else

  autosymphony: single swing

  attack animation 13: target, wait

  skill effect: whole

end

</target action>

 

This is a tag on the attack skill. This isn't working. Regardless if the actor has duel wield or not, it attacks all 3 times. Is this setup wrong?
Oh, I forgot. There's a bug in the script that messes up dual wielding.

Go to ~Line 3284 and you'll see something like "targets = targets * 2 if attack && @subject.dual_attack?"

Comment that whole line out. It makes you accidentally repeat attacks.
Oh, I forgot. There's a bug in the script that messes up dual wielding.

Go to ~Line 3284 and you'll see something like "targets = targets * 2 if attack && @subject.dual_attack?"

Comment that whole line out. It makes you accidentally repeat attacks.
Thanks. Removed.

Now, when I attack with duel wield it still attacks 3 times for whatever reason 😳 and when I attack with a greataxe, it walks up to the target, gets the weapon icon, but DOESN'T swing or deal any damage and returns to the battle line. Da fook!
Have you tried NOT using the autosymphonies with your tags?  Cause I think the Autosymphony includes its own Skill Effect: Whole, which is processing with the Skill Effect: Whole you already have.

Edit: never mind I was wrong.

Best thing I can say is to re-word it to not use the Else. (Do the first attack and then use the IF to decide for the second attack)
Very nice! Works like a charm. Thank you very much!!

<target action>   

move user: target, body, wait

stance: user, attack

icon create: user, weapon, hand

autosymphony: single swing

attack animation 13: target, wait

skill effect: whole

if user.weapons[1]

  autosymphony: single swing

  attack animation 13: target, wait

  skill effect: whole

end
I also have another problem with an omnislash skill. Do you know how to make it target a random enemy each attack? I was able to do it for 1 target 8 times, but I can't figure out how to get it to go to a random enemy.
Does anyone know how to target a random enemy with this battle system>?
Has anyone been able to figure this out?
Do you mean you want it able to target 8 random enemies? If so Yanfly has a targeting script for that. Not sure if it is compatible with Battle Symphony (which I think Yami made battle symphony incidentally, not Yanfly).
Ya I can't change the main topic name. I don't know how.

Ya, that's what I want to do, but I can't figure it out within battle symphony. Do you know the name of the targeting script? I'll see if that works.

 
Awesome. That worked.

Final code:

<targets: target 7 random foes>

 

<target action>   

move user: target, body, wait

stance: user, attack

icon create: user, weapon, hand

autosymphony: single swing

attack animation 7: target, wait

skill effect: whole

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-symphony.37138/