This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gameActors.actor(1).name().slice(0, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc キャラクター表示座標の端数を許可 | |
* @target MZ | |
*/ | |
(()=> { | |
Game_CharacterBase.prototype.screenX = function() { | |
const tw = $gameMap.tileWidth(); | |
return this.scrolledX() * tw + tw / 2; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$gameMap.event(1)._visibleDistance = 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
const _Game_BattlerBase_skillMpCost = Game_BattlerBase.prototype.skillMpCost; | |
Game_BattlerBase.prototype.skillMpCost = function(skill) { | |
if (skill.hitType === Game_Action.HITTYPE_MAGICAL) { | |
if (this._magicMcr === undefined) { | |
this._magicMcr = this.findMegicMcr(); | |
} | |
return Math.floor(skill.mpCost * this._magicMcr); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1, 2, 3].every(id => $gameActors.actor(1).hasArmor($dataArmors[id])); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc MPのポップアップを無効化 | |
* @target MZ | |
*/ | |
(()=> { | |
Game_Battler.prototype.shouldPopupDamage = function() { | |
const result = this._result; | |
return ( | |
result.missed || | |
result.evaded || |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var i = 221; i <= 271; i++){ | |
$gameActors.actor($gameVariables.value(17)).removeState(i); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AudioManager.playSe({name:'Attack1', volume:$gameVariables.value(1), pitch:100}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc フォントロードプラグインのプラグイン利用例 | |
* @target MZ | |
*/ | |
(()=> { | |
const _Window_Base_drawItemName = Window_Base.prototype.drawItemName; | |
Window_Base.prototype.drawItemName = function(item, x, y, width) { | |
const prev = this.contents.fontFace; | |
this.contents.fontFace = 'test'; |