Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
| /*: | |
| * @plugindesc Customizes the multiplier of critical hits. | |
| * @author Ben Hendel-Doying | |
| * | |
| * @help By default, changes critical hits to deal +50% damage, | |
| * instead of TRIPLE damage! Feel free to edit this plugin to | |
| * change the multiplier to whatever you want. | |
| */ | |
| Game_Action.prototype.applyCritical = function(damage) { | |
| return Math.floor(damage * 1.5); | |
| }; |