Project1
标题:
战斗胜利结算后自动结束结算界面
[打印本页]
作者:
l734273398
时间:
昨天 19:35
标题:
战斗胜利结算后自动结束结算界面
如题,每次战斗结束后要点几次很麻烦,有没有什么办法可以等待一秒后自动结算到地图界面?
作者:
slenderping
时间:
昨天 19:35
/*:
* @target MZ
* @plugindesc 战斗对话跳过
*
* @help
* 跳过战斗的对话。
*
* @author slenderping
*
* @version 0.0.0
*/
BattleManager.processEscape = function() {
$gameParty.performEscape();
SoundManager.playEscape();
const success = this._preemptive || Math.random() < this._escapeRatio;
if (success) {
this.onEscapeSuccess();
setTimeout(() => {$gameMessage.clear();}, 800);
} else {
this.onEscapeFailure();
}
return success;
};
BattleManager.displayStartMessages = function() {
for (const name of $gameTroop.enemyNames()) {
$gameMessage.add(TextManager.emerge.format(name));
setTimeout(() => {
SceneManager._scene._messageWindow.close();
$gameMessage.clear();
}, 1000);
}
if (this._preemptive) {
$gameMessage.add(TextManager.preemptive.format($gameParty.name()));
} else if (this._surprise) {
$gameMessage.add(TextManager.surprise.format($gameParty.name()));
}
};
BattleManager.displayVictoryMessage = function() {
$gameMessage.add(TextManager.victory.format($gameParty.name()));
setTimeout(() => {$gameMessage.clear();}, 2000);
};
复制代码
作者:
l734273398
时间:
8 小时前
有没有大佬有办法啊,急求
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1