No damage done at all for a skill move problem

Don't know why but no damage is done to any enemy with this damage dealing move.

I'm pretty sure the formula's okay. 

Type: HP Damage

a.mat * 4 - b.mdf * 2

Variance 20%

Electric type 

Effect: Paralyse
First I'd check that the formula is actually able to return anything bigger than 0.

If the target has 1000 MDF while the attacker has 10 MAT it'll always return 0.

If this isn't the problem here then I'd say it's tied to a Plugin incompatibility.
The player (at level 1) starts out with 20 MAT, all enemies' MDF either have 10 or range from 10 - 30. Also the formula is just a magic version of the original attack formula so it can't be that.

No plugins of mine change very much at all and never for skills alone from my experience so it can't be that. 
Can you please give screenshots of actor, class, skill and enemy?


There are a lot of ways how the different traits can change the base values used in the formula, and only with full info we can point you to the place where the values went wrong.
http://imgur.com/a/RFSuY
What scripts/plugins did you use for changing the parameters and for introducing enemy classes? Those would effect the results, especially as an enemy class script usually overrides the parameter values in the database, and from your notetags you are using such scripts.
No enemy classes have been introduced. What you are seeing are just Yanfly scripts. I used Yanfly battle core for  unlimited HP and MP and sideview for animated enemies. That's about it.
Can you list all plugins in your project that have anything to do with battle?

Does the skill you are using have any notetags?

If the exact same skill setup deals damage in a fresh project, you can be sure that the problem you are experiencing is tied to a plugin incompatibility of some sort.
<target action>

move user: target, base

wait for movement

action animation

motion attack: user

action animation: target

wait:30

action animation: target

wait:30

action animation: target

wait:30

reset zoom

wait for zoom

</target action>

I removed this code and found out that THIS was causing the problem. Not my plugins. But I can't find the reason to why it won't do any damage.
I removed this code and found out that THIS was causing the problem. Not my plugins. But I can't find the reason to why it won't do any damage.
THAT is your plugin - action sequences don't exist without plugins, and in this case Yanfly's battleplugin is the cause, because it overrides the regular damage sequence.
And it doesn't do any damage because you're missing the damage command in that action sequence, and with that plugin the damage is only calculated on action command, not by default.
I added a script to the regular attack and has no damage command and that one does damage...

(Just in case, the attack code)

<target action>

move user: target, base, 3

zoom: 120%

wait for movement

motion attack: user

motion wait: user

action animation

action effect

wait for animation

wait: 10

reset zoom

</target action>

Replacing the problematic skill for this makes it take damage.
Your action sequence is missing "action effect" which will trigger the damage.

Original thread: https://forums.rpgmakerweb.com/threads/no-damage-done-at-all-for-a-skill-move-problem.54011/