I set the debuff to reduce an enemy's attack and defense by 1000%, and set their attack formula to do 50 damage every time (for testing purposes.) I can see that the debuff command is functioning, but I see no evidence that the debuff effect happens. The enemny still hits for the same 50 damage after getting hit with the debuff. Why?
debuff not working
RPG Maker MV Support...because you told it to? The damage formula is a formula, it doesn't do anything you don't tell it to.
If you say "do 50 damage," then that has nothing to do with their attack or defense, it has to do with the number 50.
If you make the damage formula say
If you say "do 50 damage," then that has nothing to do with their attack or defense, it has to do with the number 50.
If you make the damage formula say
a.atk, then you'll see it change when you change their attack.When I use a.atk and b.def then the enemy either hits for 0 or way too much with no middle ground. 🙁
If you do a simple Google, there are probably half a dozen threads on here with recommendations for different damage formulae and explanations of how they work with different values.
But it sounds like you also need to put a little more thought into the parameters that your actors and enemies have. For example, if your attack is doing 100 damage, that's not "way too much" if you make the recipient have 1,000 HP.
It's all just basic math (or as advanced as you want to make it).
Why don't you stick with the default formula of 4*a.atk-2*b.def as a starting point, and use the pregenerated parameter curves for actors, and give enemies matching values, and see how it works? Then you can adjust from there.
Here's a quick freebie from Google results:
forums.rpgmakerweb.com
But it sounds like you also need to put a little more thought into the parameters that your actors and enemies have. For example, if your attack is doing 100 damage, that's not "way too much" if you make the recipient have 1,000 HP.
It's all just basic math (or as advanced as you want to make it).
Why don't you stick with the default formula of 4*a.atk-2*b.def as a starting point, and use the pregenerated parameter curves for actors, and give enemies matching values, and see how it works? Then you can adjust from there.
Here's a quick freebie from Google results:
RMMV Damage Formula - ideas and help
The damage formula box in MV is waaaaayyyyyyyy longer than in Ace, so we can now use it for some more complex situations. It still works the same way, but the method and class names are different. So grabbing a formula that worked in Ace doesn't mean it's just going to work in MV. Post in...
forums.rpgmakerweb.com
that basically means that you never balanced the values of the actor and the enemy.
Damage is all about mathematics - calculate the damage with the current values for atk and def and see the results, then decide to either reduce one of them or modify the formula (you don't have to multiply atk by four for example, any other mathematics can be used there).
and you have to use mathematics to balance your game - most people start with a spreadsheet of the different values and formulae.
Thanks for this feedback.
I am still stuck on this. I don't understand the math.
If I have the attacker's attack level as 2 and and defender's defense level as 1 and I have the formula set to: a.atk * 100 - b.def * 20 (with no variance) then it should be dealing 180 damage (200 - 20). Instead it's dealing 0 damage.
This is a test battle with no extra armor or defenses, as simplified as possible. Not working.
Why???
If I have the attacker's attack level as 2 and and defender's defense level as 1 and I have the formula set to: a.atk * 100 - b.def * 20 (with no variance) then it should be dealing 180 damage (200 - 20). Instead it's dealing 0 damage.
This is a test battle with no extra armor or defenses, as simplified as possible. Not working.
Why???
You're not still including the debuff in this, right? Because that would kill any damage the attacker is trying to inflict.
Aside from that, lemme see the formula as you have it in your database, as well as your enemy.
please show us screenshots of your actor, the skill and the enemy.
Screenshots are attached. The enemy is the attacker and deals 0 damage and I don't understand why. Thanks.
I am not using the debuff. It just does 0 damage without using the debuff skill. Makes no sense to me.
You need to post the stats of your actor's class. The Actor tab has nothing useful for me in this case. I do see one potentially interesting thing, but I don't know for certain yet.
Attached the classes.
Done. The enemy is the one attacking and not damaging btw. Not sure if I made that clear. My goal was to have the enemy do a reasonable amount of damage, and then the party can use a debuff to make it less. But it's doing 0 damage even without the debuff and it doesn't make sense.
What Sword means is we need to see the actual parameters of the actor being attacked. Neither the Actors nor Classes tab provides useful information to us (or you). Show a screenshot of the actor's Status screen in-game.
What Turan said.
Please be more specific. I am using "battle test" in the Troops tab. What are you looking for?
The actual parameters of the actor. You know how you showed us the enemy's stats? We need a look at the actor's stats too.
That was specific, I used the literal terminology that you see in the editor and the game.
Parameters:
Status screen in-game:
Showing you the actor's parameters in the status screen in-game:
I couldn't have been more specific or literal 😛
Good luck with your project.
The actor is level 1. There is no leveling in the game. The actors have a max level of 1. Why are these values set to 16, etc.? Could this be the problem? How do I change them to be 1?
(The status menu is hidden in the game because this is a detective game that doesn't use combat expect for this 1 mini game with 1 enemy.)
(The status menu is hidden in the game because this is a detective game that doesn't use combat expect for this 1 mini game with 1 enemy.)
Original thread: https://forums.rpgmakerweb.com/threads/debuff-not-working.148639/