赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 3 |
经验 | 0 |
最后登录 | 2025-4-27 |
在线时间 | 9 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 315
- 在线时间
- 9 小时
- 注册时间
- 2014-4-1
- 帖子
- 6
|
- /*:
- * @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);
- };
复制代码 |
|