The plugin works perfectly, I just want to know if there are things I can improve/adjust, any good coding practices I should follow if I haven't etc.
Without further ado, here is the code!
Code:
//=============================================================================// ModifyCriticalHit.js//=============================================================================/*: * @plugindesc v1.00 simple plugin to change critical hit multiplier * @author PhantomStream * * @help A simple plugin to change the critical hit multiplier. The default * value of 3 is a little bit too high for my purposes, so that's why I created * this plugin! * * @param Critical Multiplier * @desc The value that damage is multiplied with for critical hits. * RPG Maker MV's default multiplier is 3. * @default 3*///=============================================================================// Changelog//=============================================================================/* * v1.00 (26/10/2015) - Started and finished plugin!*///=============================================================================// Parameters//=============================================================================(function() {var parameters = PluginManager.parameters('ModifyCriticalHit');var critMultiplier = parameters['Critical Multiplier'];//=============================================================================// Actual code//=============================================================================var _Game_Action_criticalMultiplier = Game_Action.prototype.applyCritical;Game_Action.prototype.applyCritical = function(damage) { return damage * critMultiplier;};})(); //can't touch this//=============================================================================// End of code!//=============================================================================