本帖最后由 Niko_ 于 2019-6-10 22:43 编辑 在目标核心插件看到这一栏,似乎可以自定义插件。不过这一栏没有翻译,也不知道在哪里自定义这个插件。 原文 ======================================================= ...
Snipaste_2019-06-10_21-50-11.png (66.01 KB, 下载次数: 16)
下载附件 保存到相册
2019-6-10 21:50 上传
Snipaste_2019-06-10_21-50-37.png (10.82 KB, 下载次数: 23)
Snipaste_2019-06-10_21-50-19.png (94.86 KB, 下载次数: 19)
var text = ''; // text = 最终显示的文本var s = $gameSwitches._data; // s[1] = 开关1var v = $gameVariables._data; // v[1] = 变量1var user = BattleManager._subject; // a = b = subject = user = 当前使用者(这人搞这么多别名干啥……var a = user;var subject = user;var b = user;var target = user;
var text = ''; // text = 最终显示的文本 var s = $gameSwitches._data; // s[1] = 开关1 var v = $gameVariables._data; // v[1] = 变量1 var user = BattleManager._subject; // a = b = subject = user = 当前使用者(这人搞这么多别名干啥…… var a = user; var subject = user; var b = user; var target = user;
var targets = []; // targets = 最终选中的目标列表(数组)var a = this.subject(); // a = user = subject = 使用者(搞一堆别名……var user = this.subject();var subject = this.subject();if (this.isForOpponent()) { // 如果是对敌道具,则 b = target = 敌方单位,否则 b = target = 己方单位 var targetUnit = this.opponentsUnit();} else { var targetUnit = this.friendsUnit();}var b = targetUnit.smoothTarget(this._targetIndex);var target = targetUnit.smoothTarget(this._targetIndex);var s = $gameSwitches._data; // s = 开关var v = $gameVariables._data; // v = 变量var allies = this.friendsUnit(); // alies = friends = 所有己方单位var friends = allies;var foes = this.opponentsUnit(); // foes = opponents = 所有敌方单位var opponents = foes;
var targets = []; // targets = 最终选中的目标列表(数组) var a = this.subject(); // a = user = subject = 使用者(搞一堆别名…… var user = this.subject(); var subject = this.subject(); if (this.isForOpponent()) { // 如果是对敌道具,则 b = target = 敌方单位,否则 b = target = 己方单位 var targetUnit = this.opponentsUnit(); } else { var targetUnit = this.friendsUnit(); } var b = targetUnit.smoothTarget(this._targetIndex); var target = targetUnit.smoothTarget(this._targetIndex); var s = $gameSwitches._data; // s = 开关 var v = $gameVariables._data; // v = 变量 var allies = this.friendsUnit(); // alies = friends = 所有己方单位 var friends = allies; var foes = this.opponentsUnit(); // foes = opponents = 所有敌方单位 var opponents = foes;
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-12 03:57
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.