MZ Need help figuring out how to do aspects of the combat system I want to use.

Hi everyone!

Below is an outline of my combat system, and a link to some solutions I found. However, there is a lot that I could not find answers for. Specifically HP and MP reach zero terminate enemy/player, the enemy high/low/medium target system, player high/low/medium evading, and how to have specific items dropped at weather they die by MP or HP reaching zero.

Below is my complete outline of my idea and a picture of the battle flow.

Overview: combat is a reactionary event where enemies will choose an attack, announce it, and it will charge. Player will then pick what evade to do, and if successful do a counter action. All player secondary skills, besides normal attack, will drain either map or hp.

Enemy skills can hit low, medium, high, and any combination of them. Evade is the same for player skills.

All skills consume MP. Excess MP or Hp absorbed will overflow and recharge the other. Normal attack will absorb a little MP. Some skills absorb HP.

Buffs and debuffs will be linked to skills.

Death happens if HP or MP reaches zero. A specific item will drop depending on if enemies HP or MP reached zero.

Sequence of actions:
  1. Enemy picks attack and announces it.
  2. Enemy charge bar starts
  3. Player has time to pick what type of evade to do.
  4. Did player pick correctly?
  5. yes, move to step 7.
  6. no, move back to step 1. Or maybe just take damage and continue
  7. Player pick follow up attack skill
  8. hp drain type
  9. mp drain type
  10. Did the target die?
  11. no, return to step 1
  12. yes, target is removed from combat
  13. reward item according to how enemy died
  14. hp = zero then hp reward
  15. me = 0 then mo reward
  16. On map have enemy respawn in either of 2 states
  17. if hp = 0 then a corpse appears and does not respawn.
  18. if mp = 0 then enemy is sleeping and will respawn on map is reloaded.

Things to figure out:
  1. Charge mechanic for skills. Solution is Advanced battle system
  2. Announcement of enemy skill being charged. Solution is Can just be an announcement script.
  3. Charge bar? Maybe not needed. This maybe figured out using ABS for player, and scripts for enemies like a count down.
  4. Player charge bar? This maybe figured out and not needed.
  5. Enemy skills having different target designations: high, medium, low target of player. Not known how to do.
  6. Player evade skill for high, medium, low being targeted. Not sure how to do.
  7. Player has an immediate follow up offensive skill that is unlocked after evade
    1. Hp drain
    2. MP drain
  8. Skill that KO enemy dictates what item is dropped. No clue how to do.
    1. Item drops 100% for HP reaches 0
    2. Item drops 100% far MP reaches 0
  9. Setting it so death can happen when HP or MP hits zero. Not sure how to do.

Thank you for any ideas and just taking the time to look this over.
So I feel a lot of this is achievable with the engine and with a lot of plugins that is already out there it but just requires some editing to them.
Like this one.

As for evasive skill, I think extra parameters can help too because then you'll need separate hit rate/eva rates for each skill.


So for now, what I would do is search the innerwebs, can as much as the battle system you can achieve then request help from the forums or the discord channel.

I've always got help from people on either of those and people will more likely help you with small snippets rather then setting up a WHOLE combat system.

All the best.
Martin_Arcainess,

Thank you so much for pointing me in a direction! I’ll look into all of these and how to make them work in MZ. I don’t know coding, but I guess it is time for me to try and learn it so I can modify things and make the game I want.

I did a quick search, and a lot of modifying things to work on MZ has been done already, which is great!

This will be fun, and I’m not trying to rush it since my energy is limited right now.

And I did research on as many points as I could find. I put up my entire document because I know that I may not be using the right jargon to find the solutions I am looking for. I apologize if it seemed very daughnting and like I was looking for someone to make me a combat system. From the rules about posting it looked like I should include more than less. Your help will allow me to continue progress!

Thanks again!
The death on 0 MP is simple.

I can make a snippet once I get home from work (Down M$ hurts...).
The death on 0 MP is simple.

I can make a snippet once I get home from work (Down M$ hurts...).
Cool! I’ll check out your plugins since you left a link to them!

Thank you Maliki79!
Thanks for checking! Since this is a request, I'll post the link here once done.

Also, I'll make a little extra in that I'll make it so enemies don't lose states when they die. Doing this will allow you to set a state that appears on an enemy when killed via hp vs mp damage.

You'll need a plug-in that handles conditional item drops, however.
(I do this in my game, but I use MV.)
Thanks for checking! Since this is a request, I'll post the link here once done.

Also, I'll make a little extra in that I'll make it so enemies don't lose states when they die. Doing this will allow you to set a state that appears on an enemy when killed via hp vs mp damage.

You'll need a plug-in that handles conditional item drops, however.
(I do this in my game, but I use MV.)
SO COOL!! Thank you.
Here's the link to the snippet:
LINK

Be sure to not change the file name.

Just so you know, the plugin makes it so battlers that have 0 mp AND a Max MP over 0 will die/KO.

I also added the ability to add states to enemies only upon taking HP or MP damage.
This is useful for creating conditional item drops.

Lastly, I made it so enemies will NOT lose states upon death and this in turn will also help with the conditional drops.

Hope this helps.
It
Here's the link to the snippet:
LINK

Be sure to not change the file name.

Just so you know, the plugin makes it so battlers that have 0 mp AND a Max MP over 0 will die/KO.

I also added the ability to add states to enemies only upon taking HP or MP damage.
This is useful for creating conditional item drops.

Lastly, I made it so enemies will NOT lose states upon death and this in turn will also help with the conditional drops.

Hope this helps.
This will help tons! Thank you for making my project just a tad bit easier!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-figuring-out-how-to-do-aspects-of-the-combat-system-i-want-to-use.170433/