Creating state specific defense mechanics?

Almightypebble

Veteran
Veteran
Joined
Jan 13, 2017
Messages
78
Reaction score
5
First Language
Bulgarian
Primarily Uses
RMMV
Hello everyone!

So in my game I have 4 states which are basically 4 battle stances and I want to make each stance have an on-hit specific defense mechanic associated with it.

That means I would like Stance 1 to have Dodge(evade attack), Stance 2 to have Guard (block attack), Stance 3 to have Parry(nullify attack) and Stance 4 to have Endure(withstand attack) as defense instead of the regular Dodge attack for everything.

How would I go about setting this up? Would I have to make dodge chance 0% for the 3 stances that don't have dodge and then add the other defense mechanics as skills that have the same % chance as dodge did? Or is there a better way to do this?

Thank you!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,671
First Language
German
Primarily Uses
RMMV
to tell you that, we would have to know how the different mechanics are supposed to work.

there are a lot of different ways to implement a defense, but most of them apply only to a few options.
 

Almightypebble

Veteran
Veteran
Joined
Jan 13, 2017
Messages
78
Reaction score
5
First Language
Bulgarian
Primarily Uses
RMMV
Okay then, so normally when the character gets attacked there are 3 things that can happen right?
He can get hit, he can dodge the attack or the enemy can miss his attack.

I want to make it so 3 states remove the 'dodge attack' check and replace it with the 'guard, withstand, parry attack' checks.

In the 1st state instead of dodging the attack the character will Guard, blocking most of the damage and then increasing a stat by 1
In the 2nd state instead of dodging the attack the character will Withstand, taking most of the damage and then increasing a stat by 1
In the 3rd state it will be the regular Dodge, evading all damage and then increasing a stat by 1
In the 4th state instead of dodging the attack the character will Parry, nullifying the attack, basically taking no damage and stopping any multi hit attacks from the enemy, and then increasing a stat by 1
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
If you want the character to never evade, you'd need to remove the base EVA trait added via the class (iirc there is a base eva trait added, if not then no need to go thru it)

Adding a 0% EVA simply means you're adding 0 EVA to the actor, it doesnt turn EVA to 0.

Now if you characters can still have evasion (like via equips), but the stances should be able to cancel it, you'd need a plugin for it as afaik there is no "No evasion" trait.

As for your other effects, you'd also need plugins to run those things during on-hit
 

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

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top