Hi. I set up my game in a way that numbers are very low. Buffs and states are all about small, flat numbers. I like it. It makes things easy for my brain to process while doing what matters: Designing an interesting game. But this game relies a lot on elements, and I really don't want to deal with multiplicative elemental bonuses.
So, I want to add +1 to attacks when hitting an elemental weakness, and -1 when hitting an elemental resistance.
I tried messing with some Pi/Sum stuff in the rpg_objects.js file (I ended up reverting the changes, because I had no idea what I was doing). Now I'm setting up a troop event that checks if the actor and the enemy are affected by specific states, and if they are, I'll see if I can add the flat damage bonus. This seems like an ugly solution, though.
Is there maybe something I can put in the damage formula that would check for states (since elements are applied to battles via states in my game)? Something like "if (a.isStateAffected(13) && b.isStateAffected(16))"? Perhaps there's a way I could emulate an elemental system, without relying on the vanila/baseline one that comes with the engine? I have Yanfly's ElementCore plugin, too, if that helps, but I wasn't able to find anything in the plugin settings that could help me with this situation.
I'm not a coder, so please be kind. No one is born knowing everything.
Thank you.
So, I want to add +1 to attacks when hitting an elemental weakness, and -1 when hitting an elemental resistance.
I tried messing with some Pi/Sum stuff in the rpg_objects.js file (I ended up reverting the changes, because I had no idea what I was doing). Now I'm setting up a troop event that checks if the actor and the enemy are affected by specific states, and if they are, I'll see if I can add the flat damage bonus. This seems like an ugly solution, though.
Is there maybe something I can put in the damage formula that would check for states (since elements are applied to battles via states in my game)? Something like "if (a.isStateAffected(13) && b.isStateAffected(16))"? Perhaps there's a way I could emulate an elemental system, without relying on the vanila/baseline one that comes with the engine? I have Yanfly's ElementCore plugin, too, if that helps, but I wasn't able to find anything in the plugin settings that could help me with this situation.
I'm not a coder, so please be kind. No one is born knowing everything.
Thank you.