- Joined
- Feb 25, 2016
- Messages
- 17
- Reaction score
- 2
- First Language
- English
- Primarily Uses
So I've been trying to get the Attack Times + option in the weapon effects to work properly with my current attack system, but it seems to only work with one of the normal attack skills, and it's NOT the default one.

To be clear, I'm using Yanfly Battle Command List to replace the normal attack option with a skill menu that gives you multiple types of normal attacks. I only noticed this happening when I used one of the weapons that has the multiple attacks: the Albino Fan.
It also gives the player an attack skill called "Hex Attack" which is basically just a normal skill that originally replaced the normal attack while the weapon was equipped.

For some reason, it's the only skill that actually works with multiple hit attacks. I tried using the ID 1 normal attack, but for some reason it didn't appear in the menu when I converted the command into a list. May need to manually teach the player the attack, then I'll move it. However, the problem extends further than that. I need a way to make ALL of the normal attack types hit multiple times if the weapon properties specify that. That includes the light and heavy attack, and the physical hex attack. Plus any future ones that I add. This is essential to a particular weapon class (daggers) which uses multi-attacks as its unique property.
It's baffling, because all I did was literally copy over the original normal attack to a different ID. Even kept the "add state: Normal Attack 100%" effect and applied it to the light and heavy attacks. It still didn't work, and I still can't figure out why. Same thing for the phys hex attack.

This is how I've the important parts of the actor notetags and properties set up:

Skill type 9 is the normal attacks. That works fine. Skill 007 is Rest. This is the menu that pops up when I go into a test battle with the Albino Fan equipped:

Edit: I thought I fixed it, but somehow the code didn't work properly. Thanks to Rinobi for the actual working code.

To be clear, I'm using Yanfly Battle Command List to replace the normal attack option with a skill menu that gives you multiple types of normal attacks. I only noticed this happening when I used one of the weapons that has the multiple attacks: the Albino Fan.
It also gives the player an attack skill called "Hex Attack" which is basically just a normal skill that originally replaced the normal attack while the weapon was equipped.

For some reason, it's the only skill that actually works with multiple hit attacks. I tried using the ID 1 normal attack, but for some reason it didn't appear in the menu when I converted the command into a list. May need to manually teach the player the attack, then I'll move it. However, the problem extends further than that. I need a way to make ALL of the normal attack types hit multiple times if the weapon properties specify that. That includes the light and heavy attack, and the physical hex attack. Plus any future ones that I add. This is essential to a particular weapon class (daggers) which uses multi-attacks as its unique property.
It's baffling, because all I did was literally copy over the original normal attack to a different ID. Even kept the "add state: Normal Attack 100%" effect and applied it to the light and heavy attacks. It still didn't work, and I still can't figure out why. Same thing for the phys hex attack.

This is how I've the important parts of the actor notetags and properties set up:

Skill type 9 is the normal attacks. That works fine. Skill 007 is Rest. This is the menu that pops up when I go into a test battle with the Albino Fan equipped:

Edit: I thought I fixed it, but somehow the code didn't work properly. Thanks to Rinobi for the actual working code.
Attachments
-
17.6 KB Views: 4
Last edited:


