Hello!
I am relatively new to RPG Maker MZ and JavaScript, so I'm not sure if what I want to do here would require a plug-in or not. From what I've seen, I want to say that it doesn't, but if it does I'll move this to plug-in requests.
Has anyone ever played Dungeon Encounters? The way combat works in that game is that there are two types of weapons: physical and magical, and two types of defense: physical and magical. Rather than defense values negating some of the damage done to the enemy, the defense values act as a shield before HP can be touched. For example, if an enemy has 10 physical defense, you would need to deal 10 physical damage before you could start dealing damage to its HP (with physical attacks, that is; if you wanted to deal magical damage you'd need to first deal with the magic defense).
I'm looking to create a system that's basically a direct rip-off of this because dang it it's fun and this is a project I'm making strictly for fun. So far what I've thought to do was make two elements, Physical and Magical. I'm thinking of making invisible states that check to see if the defense value of the actor or the enemy is above 0, and if it is, any damage done by the Physical element is reduced to 0 (and this I've gotten to work to a pretty good extent).
Now, my main question: how could I make it so that if the actor or enemy's defense/magical defense stat is above 0, whatever damage they take will reduce that respective stat? Is there an event I could make that could take the attack value and simply reduce the defense stat by that value, or could I just bake it into the damage formula? Alternatively, will this just not work at all and I'll have to consult a plug-in?
Let me know if I need to be more specific or my question is unclear. I'm typing this late at night so if it doesn't make sense, whoops! Thanks for spending the time to read this post and I hope to see any other potential Dungeon Encounters fans out there
I am relatively new to RPG Maker MZ and JavaScript, so I'm not sure if what I want to do here would require a plug-in or not. From what I've seen, I want to say that it doesn't, but if it does I'll move this to plug-in requests.
Has anyone ever played Dungeon Encounters? The way combat works in that game is that there are two types of weapons: physical and magical, and two types of defense: physical and magical. Rather than defense values negating some of the damage done to the enemy, the defense values act as a shield before HP can be touched. For example, if an enemy has 10 physical defense, you would need to deal 10 physical damage before you could start dealing damage to its HP (with physical attacks, that is; if you wanted to deal magical damage you'd need to first deal with the magic defense).
I'm looking to create a system that's basically a direct rip-off of this because dang it it's fun and this is a project I'm making strictly for fun. So far what I've thought to do was make two elements, Physical and Magical. I'm thinking of making invisible states that check to see if the defense value of the actor or the enemy is above 0, and if it is, any damage done by the Physical element is reduced to 0 (and this I've gotten to work to a pretty good extent).
Now, my main question: how could I make it so that if the actor or enemy's defense/magical defense stat is above 0, whatever damage they take will reduce that respective stat? Is there an event I could make that could take the attack value and simply reduce the defense stat by that value, or could I just bake it into the damage formula? Alternatively, will this just not work at all and I'll have to consult a plug-in?
Let me know if I need to be more specific or my question is unclear. I'm typing this late at night so if it doesn't make sense, whoops! Thanks for spending the time to read this post and I hope to see any other potential Dungeon Encounters fans out there