Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
var MalMPCGPInit = Game_Party.prototype.initialize Game_Party.prototype.initialize = function() { this._actorMPCount = []; MalMPCGPInit.call(this); }; var MalMPCpaySkillCost = Game_BattlerBase.prototype.paySkillCost; Game_BattlerBase.prototype.paySkillCost = function(skill) { MalMPCpaySkillCost.call(this, skill); if (this._actorId) this.countMP(this.skillMpCost(skill)) }; Game_BattlerBase.prototype.countMP = function(count) { var id = this._actorId; if (!$gameParty._actorMPCount[id]) $gameParty._actorMPCount[id] = 0; $gameParty._actorMPCount[id] += count; }; Game_Party.prototype.getActorMPCount = function (id){ if (!$gameParty._actorMPCount[id]) $gameParty._actorMPCount[id] = 0; return $gameParty._actorMPCount[id]; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)