Battle Damage Issues

I did my best to make the title clear about what this question is about. However, the issue is rather complex so I apologize if the title doesn't do it justice.


The problem is this. Every time I think I have the battle damage balanced, by which I mean the player's characters and their enemies take a reasonable amount of damage, something happens to make it so that one of these two don't take any damage. When this happens I have to try and re-balance the combat. The big problem I've been having is that this issue crops up without me editing equipment, character attributes, ect, It seems 100% random. 


I know that logically there is something causing this issue but I have no idea where to look. I don't even know what information to provide to help people, help me diagnose this issue. So please, let me know what, if anything, you need to help diagnose the issue. I am, to say the least, stumped.


Thank you all for your help. 
Could you provide examples of your damage formulas, as well as the stats of actors and enemies you're testing? It could simply be that the numbers produce a "0" result for someone, or an improperly-written formula.
I also suggest to post some of your formulas. I had this problem in one of my projects where (when the battlers had specific attack/armor values) the formula was multiplied by zero.
Any battle related plugins?
does this happen with or without equipment, and what numbers are you using for ATK and DEF etc?


For example there is Yanfly's item core that has a default variance of 10 or so on all equipment - if you work with low numbers, this variance is impossible to balance.


And a lot of other possible causes that we can't guess without more info from you.
I am using a lot of plugins, the vast majority of which are Yanfly's. So after reading through all your comments I took what Andar said and looked at Yanfly's Item Core plugin and turned off the random variance setting. The result was that suddenly the player is taking damage again. However, what remains is the fact that now the bad guys only do the same amount of damage. 


I should mention that the only ability that seems to have this problem is attack. Spells do the proper damage. 


Attack formula: a.atk * 4 - b.def * 2


Critical: Yes


Variance: 20%


Plugins being used, in the order that I have them installed: 


PH_QuestBook


-------


YEP_CoreEngine


YEP_BaseParamControl


-------


YEP_MessageCore


------


YEP_BattleEngineCore


YEP_BattleAICore


YEP_BattleStatusWindow


YEP_BuffsStatesCore


YEP_X_ActSeqPack2


YEP_X_AnimatedSVEnemies


YEP_X_BattleSysATB


YEP_X_TickBasedRegen


YEP_LifeSteal


YEP_TargetCore


YEP_X_AreaOfEffect


YEP_VictoryAftermath


YEP_X_AftermathLevelUp


YEP_X_Taunt


------


YEP_EquipCore


YEP_WeaponAnimation


------


YEP_SkillCore


YEP_JobPoints


YEP_SkillLearnSystem


YEP_RowFormation


-----


YEP_ItemCore


-----


YEP_ShopMenuCore


-----


YEP_PartySystem


YEP_AutoPassiveStates


YEP_AnimatedTilesOption


------


YEP_CreditsPage


YEP_ButtonCommonEvents


Thanks for all the help gang.

Original thread: https://forums.rpgmakerweb.com/threads/battle-damage-issues.68785/