Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //====================================================================================
- //
- // Enemies Retain States
- //
- //====================================================================================
- /*:
- * @plugindesc Enemies will retain states on death.
- * @author Musashii
- */
- //====================================================================================
- (function() {
- Game_BattlerBase.prototype.die = function() {
- if (this._enemyId > 0 ) {
- this._hp = 0;
- this.clearBuffs();
- }
- else {
- this._hp = 0;
- this.clearStates();
- this.clearBuffs();
- }};
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement