Possible bug with enemy settings

Hello all,

I created an enemy with a weakness to fire with immunity to water and ice.  I used %775 fire and of course 0% water and ice. Magic def is set at 27.

While in battle test mode all works as it should, that is the fire spells hurt a good amount, ice and water cause no damage, and other spells cause a low amount of damage. I have set this enemy to the random encounter list on my map. 

When in play test mode I encounter the same enemy generated by a random encounter, the enemy takes no damage from any spell cast. This is odd since the fire spell works in battle test mode. 

Additionally I have used the same archetype for similar enemies that is I have one that is weak to wind, another to ice, and another to earth. These all function normally when encountered in the playtest mode. I have double checked the settings of the "fire weak" enemy and can't seem to understand how it is weak to fire spells in battle test but not playtest.

Any advice would be appreciated!

Thank you.

EDITED: added screenshots

IMG_0797.JPG

IMG_0798.JPG

IMG_0799.JPG

IMG_0800.JPG

IMG_0805.JPG

IMG_0806.JPG
Are you using a character with higher stats for battle testing? Regardless of the element rate, if the attack formula works out to zero damage, zero times anything is still zero.
Funny thing is the other stats are the same as my other elemental enemies with the exception of the fact that he is weaker to fire. The other enemies react appropriately to the spells to which they are weak to.
Please show screenshots of the enemies and of the actor, class and skill. Also link to any battleplugin you're using.


There are dozens of way to influence the damage done, and as said above there just need to be one wrong number to cause a problem.


And only in a screenshot we can see everything that you have set - very often the problem is something you didn't even know that it affects the results.


For example, did you start a new game for the playtest or did you load a savefile? The savefile contains some data, and in some cases it will use that data instead of something you changed in the editor after the savefile was created.
FYI, there are screenshot commands via keyboard shortcuts. Using that and pasting it into a program like Paint is much more efficient than taking pictures via a camera.

Based on the HP counts in the screenshots, it appears the character is at a higher level in the battle where the spell works as opposed to the screenshot where the spell does no damage. Your spell's damage formula is (10 + a.mat * 2 - b.mdf * 2), which means that if the user has only five MAT less than the target's MDF, the spell will never do any damage.

Either you'd have to tweak the characters' stats or use a different damage formula to avoid a zero-damage situation.
Yeah sorry about the screenshots I have dual monitors so prntscrn screen shots come out wonky. So i used my phone to take pics.

I have been playing around with it, I have discovered that if my actor is level 2 it causes damage to this enemy in particular, at level 1 there is no damage in playtest.

This is not a huge deal but it is odd because I have used the same archetype for other enemies (just switched element weakness around) and they all take damage at level 1. 

Thanks for the insights, sorry for the pestering, I can't figure out why this enemy is different every single thing about it is the same as others just a different element weakness.

thank you.

As to the formula yes this is how I want it let me explain:

I only want spells that the enemy has a weakness to to inflict damage. This system is working (with the exception of the enemy in question). Unless the player uses the appropriate spell the damage is minimal. For instance my wind spell (as do all my elemental spells) has a +10 and unless the enemy has a %775 weakness to wind it will do minimal damage.  Each enemy has a weakness and it is up to the player to deduce it and use the right counter. I am happy with the damage caused by the +10 formula on a %775 element  weak enemy. 
Yeah sorry about the screenshots I have dual monitors so prntscrn screen shots come out wonky.
Use [alt]-[prtscrn] instead, that limits the screenshot to the active window instead of the entire desktop
We don't need screenshots of the battle, we need screenshots of the actor and its class - those are still missing.
Thanks for the tip  Andar! I appreciate it.

Here are those screen shots.

Untitled.jpg

Untitled1.jpg

Untitled2.jpg
Based on what you posted, you need a 23 MAT to even do damage to that monster, as 10 + 22 * 2 - 27*2 = 0 (and it is negative for lower amounts of MAT than that). Do you have at least 23 MAT for your actor at level 1?
Hi bgillisp!

That was just the tweak I needed! Thank you so much! I am really grateful.

Original thread: https://forums.rpgmakerweb.com/threads/possible-bug-with-enemy-settings.54006/