MZ A random damage in case the damage is 1 or 0?

I was using the following snippet on MV, but it doesn't seem to work anymore on MZ. I also have Visustella.

Code:
var vsAliasGameActionMakeDamageValue = Game_Action.prototype.makeDamageValue;
Game_Action.prototype.makeDamageValue = function(target, critical) {
  value = vsAliasGameActionMakeDamageValue.call(this, target, critical);
   if (value == 0) value = Math.randomInt(11) + 1;
   return value;
};

Any clue how to make that work?
It doesn't work even if you place the plugin after all VS ones?
I don't know how many different damage formulae you have across your skills that you've already typed out. But it would also be pretty easy to just incorporate this into your formula and copy and paste it around.

Original thread: https://forums.rpgmakerweb.com/threads/a-random-damage-in-case-the-damage-is-1-or-0.150853/