- Joined
- Jul 4, 2012
- Messages
- 565
- Reaction score
- 491
- First Language
- English
- Primarily Uses
So I've been experimenting with the battle system for the Halloween game I'm making. It's low numbers, a la Dragon Quest/Warrior. I have been fixing numerous bugs that come up with using low numbers in rpg maker vx ace and then I came upon a quite unusual one...
One of the characters in the party uses an ability called Slippery which gives him 50% Counter Rate and 100% Evasion for three turns with the drawback that he cannot act during those three turns. Now, the Rat that my character is fighting uses an ability called Knaw that attacks three times for low damage.
Battle:
Mab becomes Slippery.
Rat uses Knaw
Mab evades.
Mab causes the rat to slip and eat it!
Rat is dealt 6 damage.
Mab causes the rat to slip and eat it!
Miss! Rat takes no damage. <-----WHAT?!!
Ok, so what I would LOVE to happen is to have the Rat use Knaw and Mab either evades or counters the first attempt resulting in failure of the rest of the hits. (Though I understand that sometimes you can't get everything that you want...lol) But what I really want at the very least is to make sure that when someone counters a physical attack that the damage dealt cannot be evaded or miss. Any ideas? Thanks in advance!
edit: Here's an idea. How about I edit Scene_Battle at line 614?
attack_skill = $data_skills[target.attack_skill_id]
Except I don't know the right syntax...lol I was thinking about hardcoding it so that everyone uses skill 020 which is a copy of attack 001 except that it is a certain hit instead of a physical hit. Will this work and if so what is the correct way to write this line so that it references skill 020?
edit again: So I managed to accomplish what I would LOVE to happen via states, common events, and conditional branches. Minor victory for the little guy
still wish I could make countering a certain hit though.
One of the characters in the party uses an ability called Slippery which gives him 50% Counter Rate and 100% Evasion for three turns with the drawback that he cannot act during those three turns. Now, the Rat that my character is fighting uses an ability called Knaw that attacks three times for low damage.
Battle:
Mab becomes Slippery.
Rat uses Knaw
Mab evades.
Mab causes the rat to slip and eat it!
Rat is dealt 6 damage.
Mab causes the rat to slip and eat it!
Miss! Rat takes no damage. <-----WHAT?!!
Ok, so what I would LOVE to happen is to have the Rat use Knaw and Mab either evades or counters the first attempt resulting in failure of the rest of the hits. (Though I understand that sometimes you can't get everything that you want...lol) But what I really want at the very least is to make sure that when someone counters a physical attack that the damage dealt cannot be evaded or miss. Any ideas? Thanks in advance!
edit: Here's an idea. How about I edit Scene_Battle at line 614?
attack_skill = $data_skills[target.attack_skill_id]
Except I don't know the right syntax...lol I was thinking about hardcoding it so that everyone uses skill 020 which is a copy of attack 001 except that it is a certain hit instead of a physical hit. Will this work and if so what is the correct way to write this line so that it references skill 020?
edit again: So I managed to accomplish what I would LOVE to happen via states, common events, and conditional branches. Minor victory for the little guy
Last edited by a moderator:

