设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1375|回复: 9
打印 上一主题 下一主题

[已经解决] 请问口袋妖怪的四技能怎么做?SRD的插件有BUG

[复制链接]

Lv1.梦旅人

梦石
0
星屑
230
在线时间
174 小时
注册时间
2016-2-24
帖子
107
跳转到指定楼层
1
发表于 2016-9-17 13:38:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
角色最多四个技能,习得新技能后如果超出四个则选择一个删除,那么问题来了
SRD_PKM_4MovesOnly这个插件其他的都正常,但是战斗经验会结算两次,这就很尴尬了,一是提示技能满的时候结算了一次,二是删除技能时又结算一次,请高手帮忙看看怎么回事?
JAVASCRIPT 代码复制
  1. /*:
  2.  * @plugindesc Pokemon Plugin: Restricts the maximum amount of skills an Actor can learn to 4.
  3.  * @author SumRndmDde
  4.  *
  5.  * @param == Forget Window ==
  6.  * @default
  7.  *
  8.  * @param Max Columns
  9.  * @desc This will be the maximum amount of columns in the Skill Forget Window's list of Skills.
  10.  * @default 1
  11.  *
  12.  * @param Spacing
  13.  * @desc This will be the spacing of the choices in the Skill Forget Window's list of Skills.
  14.  * @default 48
  15.  *
  16.  * @param Message Background
  17.  * @desc This is the message background used for Show Text alerts.
  18.  * '0' = normal, '1' = dim, '2' = none
  19.  * @default 0
  20.  *
  21.  * @param == Alert Lines ==
  22.  * @default
  23.  *
  24.  * @param Alert Line 1
  25.  * @desc The first line for the alert dialogue when an Actor has learned too many Skills. \actor = Specific Actor Name
  26.  * @default \actor has too many moves!
  27.  *
  28.  * @param Alert Line 2
  29.  * @desc The second line for the alert dialogue when an Actor has learned too many Skills. \actor = Specific Actor Name
  30.  * @default \!Please select one to remove.
  31.  *
  32.  * @param Alert Line 3
  33.  * @desc The third line for the alert dialogue when an Actor has learned too many Skills. \actor = Specific Actor Name
  34.  * @default
  35.  *
  36.  * @param Alert Line 4
  37.  * @desc The fourth line for the alert dialogue when an Actor has learned too many Skills. \actor = Specific Actor Name
  38.  * @default
  39.  *
  40.  * @param == End Lines ==
  41.  * @default
  42.  *
  43.  * @param End Line 1
  44.  * @desc The first line for the forgotten Skill dialogue.
  45.  * \actor = Actor Name       \skill = Forgoten Skill Name
  46.  * @default 1\..\..\..2\..\..\..and poof!
  47.  *
  48.  * @param End Line 2
  49.  * @desc The second line for the forgotten Skill dialogue.
  50.  * \actor = Actor Name       \skill = Forgoten Skill Name
  51.  * @default \!\actor has forgotten \skill!
  52.  *
  53.  * @param End Line 3
  54.  * @desc The third line for the forgotten Skill dialogue.
  55.  * \actor = Actor Name       \skill = Forgoten Skill Name
  56.  * @default
  57.  *
  58.  * @param End Line 4
  59.  * @desc The fourth line for the forgotten Skill dialogue.
  60.  * \actor = Actor Name       \skill = Forgoten Skill Name
  61.  * @default
  62.  *
  63.  * @help
  64.  *
  65.  *
  66.  *
  67.  * Pokemon 4 Moves Only
  68.  * Version 1.00
  69.  * SumRndmDde
  70.  *
  71.  *
  72.  * The name says it all.
  73.  * This is a Plugin that restricts the maximum amount of Skills an Actor
  74.  * can learn to 4.
  75.  *
  76.  * If the actor learns more than 4, then a screen will display, and the
  77.  * Actor must select one Skill to delete.
  78.  *
  79.  * This is based off of the system used in Pokemon.
  80.  *
  81.  * Other things you may want to note are:
  82.  *  - When initializing Actors, they're given their 4 most recent Skills
  83.  *  - This Plugin does not affect Enemies
  84.  *  - You can manipulate the dialogue surrounding the Skill deletion
  85.  *  - You can set certain Skills to be un-deleteable
  86.  *  - An Actor's most recently learned Skill can always be deleted
  87.  *
  88.  * If you wish to implement a system to delete un-deleteable Skills,
  89.  * use the extension Plugin: SRD_PKM_MoveDeleter
  90.  *
  91.  * ==========================================================================
  92.  * How to Use
  93.  * ==========================================================================
  94.  *
  95.  * This Plugin is plug-in and play for the most part.
  96.  *
  97.  * However, there are a few things you may wish to customize:
  98.  *
  99.  *
  100.  * ==========================================================================
  101.  * Parameters
  102.  * ==========================================================================
  103.  *
  104.  * You can manipulate the Parameters to change how the Skill Deletion
  105.  * choices look, along with the dialogue used to inform the Player a Skill
  106.  * must be deleted.
  107.  *
  108.  * Change "Message Background" to change the dialogue background to
  109.  * normal, dim, etc.
  110.  *
  111.  * For the "Alert Lines" and the "End Lines", each line referes to a line
  112.  * on the Show Text event that is displayed.
  113.  *
  114.  * ==========================================================================
  115.  * Skill Notetags
  116.  * ==========================================================================
  117.  *
  118.  * <Cannot Forget>
  119.  *
  120.  * If you input this Notetag into a Skill's notebox, then that Skill cannot
  121.  * be deleted during the Skill deletion process.
  122.  *
  123.  * There are two exceptions:
  124.  *  - If the Skill is the 5th Skill to be learned, then it will ALWAYS be
  125.  *    deleteable.
  126.  *  - If you use the SRD_PKM_MoveDeleter extension Plugin, then you can
  127.  *    call upon a screen to force any Actor to delete any Skill.
  128.  *
  129.  *
  130.  * ==========================================================================
  131.  *  End of Help File
  132.  * ==========================================================================
  133.  *
  134.  * Welcome to the bottom of the Help file.
  135.  *
  136.  *
  137.  * Thanks for reading!
  138.  * If you have questions, or if you enjoyed this Plugin, please check
  139.  * out my YouTube channel!
  140.  *
  141.  * [url]https://www.youtube.com/c/SumRndmDde[/url]
  142.  *
  143.  *
  144.  * Until next time,
  145.  *   ~ SumRndmDde
  146.  */
  147.  
  148. //Ugh, I think I'm gonna have to start actually making this
  149. //an extendable Plugin or somethin... :/
  150.  
  151. var SRD = SRD || {};
  152. SRD.PKM = SRD.PKM || {};
  153. SRD.PKM.FourMovesOnly = {};
  154.  
  155. var Imported = Imported || {};
  156. Imported.SRD_PKM_4MovesOnly = true;
  157.  
  158. SRD.PKM.FourMovesOnly.maxColumns = Number(PluginManager.parameters('SRD_PKM_4MovesOnly')['Max Columns']);
  159. SRD.PKM.FourMovesOnly.spacing = Number(PluginManager.parameters('SRD_PKM_4MovesOnly')['Spacing']);
  160. SRD.PKM.FourMovesOnly.background = Number(PluginManager.parameters('SRD_PKM_4MovesOnly')['Message Background']);
  161.  
  162. SRD.PKM.FourMovesOnly.alertLinesCount = 4;
  163. SRD.PKM.FourMovesOnly.alertLines = [];
  164. for(var i = 1; i <= SRD.PKM.FourMovesOnly.alertLinesCount; i++) {
  165.         SRD.PKM.FourMovesOnly.alertLines[i-1] = String(PluginManager.parameters('SRD_PKM_4MovesOnly')['Alert Line ' + i]);
  166. }
  167.  
  168. SRD.PKM.FourMovesOnly.endLinesCount = 4;
  169. SRD.PKM.FourMovesOnly.endLines = [];
  170. for(var i = 1; i <= SRD.PKM.FourMovesOnly.endLinesCount; i++) {
  171.         SRD.PKM.FourMovesOnly.endLines[i-1] = String(PluginManager.parameters('SRD_PKM_4MovesOnly')['End Line ' + i]);
  172. }
  173.  
  174. //-----------------------------------------------------------------------------
  175. // DataManager
  176. //-----------------------------------------------------------------------------
  177.  
  178. SRD.PKM.FourMovesOnly.areNotetagsLoaded = false;
  179. SRD.PKM.FourMovesOnly._DataManager_isDatabaseLoaded = DataManager.isDatabaseLoaded;
  180. DataManager.isDatabaseLoaded = function() {
  181.     if(!SRD.PKM.FourMovesOnly._DataManager_isDatabaseLoaded.call(this)) return false;
  182.     if(!SRD.PKM.FourMovesOnly.areNotetagsLoaded) {
  183.             for(var i = 1; i < $dataSkills.length; i++) {
  184.                     if($dataSkills[i].note.match(/<\s*Cannot\s*Forget\s*>/im)) {
  185.                             $dataSkills[i].pkm_cannotDelete = true;
  186.                     } else {
  187.                             $dataSkills[i].pkm_cannotDelete = false;
  188.                     }
  189.             }
  190.             SRD.PKM.FourMovesOnly.areNotetagsLoaded = true;
  191.     }
  192.     return true;
  193. };
  194.  
  195. //-----------------------------------------------------------------------------
  196. // Game_Actor
  197. //-----------------------------------------------------------------------------
  198.  
  199. SRD.PKM.FourMovesOnly._Game_Actor_initMembers = Game_Actor.prototype.initMembers;
  200. Game_Actor.prototype.initMembers = function() {
  201.     SRD.PKM.FourMovesOnly._Game_Actor_initMembers.call(this);
  202.     this._mostRecentSkillId = 0;
  203. };
  204.  
  205. SRD.PKM.FourMovesOnly._Game_Actor_initSkills = Game_Actor.prototype.initSkills;
  206. Game_Actor.prototype.initSkills = function() {
  207.     SRD.PKM.FourMovesOnly._Game_Actor_initSkills.call(this);
  208.     while(this._skills.length > 4) {
  209.             this._skills.splice(0, 1);
  210.     }
  211. };
  212.  
  213. Game_Actor.prototype.setMostRecentSkillId = function(id) {
  214.         this._mostRecentSkillId = id;
  215. }
  216.  
  217. Game_Actor.prototype.mostRecentSkillId = function() {
  218.         return this._mostRecentSkillId;
  219. }
  220.  
  221. SRD.PKM.FourMovesOnly._Game_Actor_learnSkill = Game_Actor.prototype.learnSkill;
  222. Game_Actor.prototype.learnSkill = function(skillId) {
  223.         if (!this.isLearnedSkill(skillId)) {
  224.             this.setMostRecentSkillId(skillId);
  225.     }
  226.     SRD.PKM.FourMovesOnly._Game_Actor_learnSkill.call(this, skillId);
  227.     if(this._skills.length > 4) {
  228.             if($gameParty.forgetSkillReadyActorId() === 0) {
  229.                     var lines = [];
  230.                     for(var i = 0; i < SRD.PKM.FourMovesOnly.alertLinesCount; i++) {
  231.                             lines[i] = SRD.PKM.FourMovesOnly.alertLines[i].replace(/\\actor/im, this._name);
  232.                     }
  233.                     for(var i = 0; i < SRD.PKM.FourMovesOnly.alertLinesCount; i++) {
  234.                             if(lines[i].trim().length > 0) {
  235.                                     $gameMessage.setBackground(SRD.PKM.FourMovesOnly.background);
  236.                                     $gameMessage.add(lines[i]);
  237.                             }
  238.                     }
  239.                     $gameParty.setForgetSkillReady(1);
  240.                     $gameParty.setForgetSkillReadyActorId(this._actorId);
  241.             } else {
  242.                     $gameParty.addForgetSkillReadyActorIds(this._actorId);
  243.             }
  244.     }
  245. };
  246.  
  247. //-----------------------------------------------------------------------------
  248. // Game_Party
  249. //-----------------------------------------------------------------------------
  250.  
  251. SRD.PKM.FourMovesOnly._Game_Party_initialize = Game_Party.prototype.initialize;
  252. Game_Party.prototype.initialize = function() {
  253.     SRD.PKM.FourMovesOnly._Game_Party_initialize.call(this);
  254.     this._skillForgetReady = 0;
  255.     this._skillForgetReadyActorId = 0;
  256.     this._skillForgetReadyActorIds = [];
  257.     this._canRemoveHMMoves = false;
  258. };
  259.  
  260. Game_Party.prototype.forgetSkillReady = function() {
  261.     return this._skillForgetReady;
  262. };
  263.  
  264. Game_Party.prototype.forgetSkillReadyActorId = function() {
  265.     return this._skillForgetReadyActorId;
  266. };
  267.  
  268. Game_Party.prototype.setForgetSkillReady = function(isReady) {
  269.     this._skillForgetReady = isReady;
  270. };
  271.  
  272. Game_Party.prototype.getForgetSkillReady = function() {
  273.     return this._skillForgetReady;
  274. };
  275.  
  276. Game_Party.prototype.setForgetSkillReadyActorId = function(actorId) {
  277.     this._skillForgetReadyActorId = actorId;
  278. };
  279.  
  280. Game_Party.prototype.addForgetSkillReadyActorIds = function(actorId) {
  281.     this._skillForgetReadyActorIds.push(actorId);
  282. };
  283.  
  284. Game_Party.prototype.getNextForgetSkillReadyActorId = function() {
  285.     var result = this._skillForgetReadyActorIds[0];
  286.     this._skillForgetReadyActorIds.splice(0, 1);
  287.     return result;
  288. };
  289.  
  290. Game_Party.prototype.checkForgetSkillReadyActorId = function() {
  291.         return this._skillForgetReadyActorIds.length !== 0;
  292. };
  293.  
  294. Game_Party.prototype.canRemoveHMMoves = function() {
  295.     return this._canRemoveHMMoves;
  296. };
  297.  
  298. Game_Party.prototype.setCanRemoveHMMoves = function(canHM) {
  299.     this._canRemoveHMMoves = canHM;
  300. };
  301.  
  302. //-----------------------------------------------------------------------------
  303. // Scene_Base
  304. //-----------------------------------------------------------------------------
  305.  
  306. SRD.PKM.FourMovesOnly._Scene_Base_update = Scene_Base.prototype.update;
  307. Scene_Base.prototype.update = function() {
  308.     SRD.PKM.FourMovesOnly._Scene_Base_update.call(this);
  309.     if($gameParty.forgetSkillReady() > 0 && !$gameMessage.isBusy()) {
  310.             if($gameParty.forgetSkillReady() === 1) {
  311.                     $gameParty.setForgetSkillReady(0);
  312.                         SceneManager.push(Scene_ForgetSkill);
  313.             }
  314.             if($gameParty.forgetSkillReady() === 2) {
  315.                     $gameMessage.clear();
  316.                         var id = $gameParty.getNextForgetSkillReadyActorId();
  317.                     var actor = $gameActors.actor(id);
  318.                     var lines = [];
  319.                     for(var i = 0; i < SRD.PKM.FourMovesOnly.alertLinesCount; i++) {
  320.                             lines[i] = SRD.PKM.FourMovesOnly.alertLines[i].replace(/\\actor/im, actor.name());
  321.                     }
  322.                     for(var i = 0; i < SRD.PKM.FourMovesOnly.alertLinesCount; i++) {
  323.                             if(lines[i].trim().length > 0) {
  324.                                     $gameMessage.setBackground(SRD.PKM.FourMovesOnly.background);
  325.                                     $gameMessage.add(lines[i]);
  326.                             }
  327.                     }
  328.                     $gameParty.setForgetSkillReady(1);
  329.                     $gameParty.setForgetSkillReadyActorId(actor.actorId());
  330.             }
  331.         }
  332. };
  333.  
  334. //-----------------------------------------------------------------------------
  335. // Scene_ForgetSkill
  336. //-----------------------------------------------------------------------------
  337.  
  338. function Scene_ForgetSkill() {
  339.     this.initialize.apply(this, arguments);
  340. }
  341.  
  342. Scene_ForgetSkill.prototype = Object.create(Scene_ItemBase.prototype);
  343. Scene_ForgetSkill.prototype.constructor = Scene_ForgetSkill;
  344.  
  345. Scene_ForgetSkill.prototype.initialize = function() {
  346.     Scene_ItemBase.prototype.initialize.call(this);
  347. };
  348.  
  349. Scene_ForgetSkill.prototype.create = function() {
  350.     Scene_ItemBase.prototype.create.call(this);
  351.     this.createStatusWindow2();
  352.     this.createHelpWindow();
  353.     this.createStatusWindow();
  354.     this.createItemWindow();
  355.     this.refreshActor();
  356.     this.commandSkill();
  357. };
  358.  
  359. Scene_ForgetSkill.prototype.createStatusWindow2 = function() {
  360.     this._statusWindow2 = new Window_ForgetSkillStatus2(0, 0, Graphics.boxWidth, 70);
  361.     this.addWindow(this._statusWindow2);
  362.     this._statusWindow2.refresh();
  363. }
  364.  
  365. Scene_ForgetSkill.prototype.createHelpWindow = function() {
  366.         this._helpWindow = new Window_Help();
  367.     this._helpWindow.y = this._statusWindow2.y + this._statusWindow2.height;
  368.     this.addWindow(this._helpWindow);
  369. }
  370.  
  371. Scene_ForgetSkill.prototype.createStatusWindow = function() {
  372.         var wx = 0;
  373.     var wy = this._helpWindow.y + this._helpWindow.height;
  374.     var ww = Graphics.boxWidth - wx;
  375.     var wh = 70;
  376.     this._statusWindow = new Window_ForgetSkillStatus(wx, wy, ww, wh);
  377.     this.addWindow(this._statusWindow);
  378.     this._statusWindow.refresh();
  379. };
  380.  
  381. Scene_ForgetSkill.prototype.createItemWindow = function() {
  382.     var wx = 0;
  383.     var wy = this._statusWindow.y + this._statusWindow.height;
  384.     var ww = Graphics.boxWidth;
  385.     var wh = Graphics.boxHeight - wy;
  386.     this._itemWindow = new Window_ForgetSkillList(wx, wy, ww, wh);
  387.     this._itemWindow.setHelpWindow(this._helpWindow);
  388.     this._itemWindow.setHandler('ok', this.onItemOk.bind(this));
  389.     if($gameParty.canRemoveHMMoves()) {
  390.             this._itemWindow.setHandler('cancel', this.onItemCancel.bind(this));
  391.     }
  392.     this.addWindow(this._itemWindow);
  393. };
  394.  
  395. Scene_ForgetSkill.prototype.actor = function() {
  396.     return $gameActors.actor($gameParty.forgetSkillReadyActorId());
  397. };
  398.  
  399. Scene_ForgetSkill.prototype.user = function() {
  400.     return this.actor();
  401. };
  402.  
  403. Scene_Skill.prototype.playSeForItem = function() {
  404. };
  405.  
  406. Scene_ForgetSkill.prototype.refreshActor = function() {
  407.     var actor = this.actor();
  408.     this._statusWindow.setActor(actor);
  409.     this._itemWindow.setActor(actor);
  410. };
  411.  
  412. Scene_ForgetSkill.prototype.commandSkill = function() {
  413.     this._itemWindow.activate();
  414.     this._itemWindow.selectLast();
  415. };
  416.  
  417. Scene_ForgetSkill.prototype.onItemOk = function() {
  418.     this.actor().forgetSkill(this.item().id);
  419.     var name = this.actor().name();
  420.     var itemName = this.item().name;
  421.     $gameParty.setForgetSkillReadyActorId(0);
  422.     $gameParty.setCanRemoveHMMoves(false);
  423.     this.popScene();
  424.     var lines = [];
  425.     for(var i = 0; i < SRD.PKM.FourMovesOnly.endLinesCount; i++) {
  426.             lines[i] = SRD.PKM.FourMovesOnly.endLines[i].replace(/\\actor/im, name);
  427.             lines[i] = lines[i].replace(/\\skill/im, itemName);
  428.     }
  429.     for(var i = 0; i < SRD.PKM.FourMovesOnly.endLinesCount; i++) {
  430.             if(lines[i].trim().length > 0) {
  431.                     $gameMessage.setBackground(SRD.PKM.FourMovesOnly.background);
  432.                     $gameMessage.add(lines[i]);
  433.             }
  434.     }
  435.  
  436.     if($gameParty.checkForgetSkillReadyActorId()) {
  437.             $gameParty.setForgetSkillReady(2);
  438.     }
  439. };
  440.  
  441. Scene_ForgetSkill.prototype.onItemCancel = function() {
  442.     $gameParty.setForgetSkillReadyActorId(0);
  443.     $gameParty.setCanRemoveHMMoves(false);
  444.     this.popScene();
  445. };
  446.  
  447. //-----------------------------------------------------------------------------
  448. // Window_ForgetSkillList
  449. //-----------------------------------------------------------------------------
  450.  
  451. function Window_ForgetSkillList() {
  452.     this.initialize.apply(this, arguments);
  453. }
  454.  
  455. Window_ForgetSkillList.prototype = Object.create(Window_SkillList.prototype);
  456. Window_ForgetSkillList.prototype.constructor = Window_ForgetSkillList;
  457.  
  458. Window_ForgetSkillList.prototype.initialize = function(x, y, width, height) {
  459.     Window_SkillList.prototype.initialize.call(this, x, y, width, height);
  460.     this._actor = null;
  461.     this._data = [];
  462. };
  463.  
  464. Window_ForgetSkillList.prototype.setActor = function(actor) {
  465.     if (this._actor !== actor) {
  466.         this._actor = actor;
  467.         this.refresh();
  468.         this.resetScroll();
  469.     }
  470. };
  471.  
  472. Window_ForgetSkillList.prototype.maxCols = function() {
  473.     return SRD.PKM.FourMovesOnly.maxColumns;
  474. };
  475.  
  476. Window_ForgetSkillList.prototype.spacing = function() {
  477.     return SRD.PKM.FourMovesOnly.spacing;
  478. };
  479.  
  480. Window_ForgetSkillList.prototype.maxItems = function() {
  481.     return this._data ? this._data.length : 1;
  482. };
  483.  
  484. Window_ForgetSkillList.prototype.item = function() {
  485.     return this._data && this.index() >= 0 ? this._data[this.index()] : null;
  486. };
  487.  
  488. Window_ForgetSkillList.prototype.isCurrentItemEnabled = function() {
  489.     return this.isEnabled(this._data[this.index()]);
  490. };
  491.  
  492. Window_ForgetSkillList.prototype.isEnabled = function(item) {
  493.     return !item.pkm_cannotDelete || item.id === this._actor.mostRecentSkillId() || $gameParty.canRemoveHMMoves();
  494. };
  495.  
  496. Window_ForgetSkillList.prototype.makeItemList = function() {
  497.     if (this._actor) {
  498.         this._data = this._actor.skills();
  499.     } else {
  500.         this._data = [];
  501.     }
  502. };
  503.  
  504. Window_ForgetSkillList.prototype.selectLast = function() {
  505.     this.select(0);
  506. };
  507.  
  508. Window_ForgetSkillList.prototype.updateHelp = function() {
  509.     this.setHelpWindowItem(this.item());
  510. };
  511.  
  512. Window_ForgetSkillList.prototype.refresh = function() {
  513.     this.makeItemList();
  514.     this.createContents();
  515.     this.drawAllItems();
  516. };
  517.  
  518. //-----------------------------------------------------------------------------
  519. // Window_ForgetSkillStatus
  520. //-----------------------------------------------------------------------------
  521.  
  522. function Window_ForgetSkillStatus() {
  523.     this.initialize.apply(this, arguments);
  524. }
  525.  
  526. Window_ForgetSkillStatus.prototype = Object.create(Window_Base.prototype);
  527. Window_ForgetSkillStatus.prototype.constructor = Window_ForgetSkillStatus;
  528.  
  529. Window_ForgetSkillStatus.prototype.initialize = function(x, y, width, height) {
  530.     Window_Base.prototype.initialize.call(this, x, y, width, height);
  531.     this._actor = null;
  532. };
  533.  
  534. Window_ForgetSkillStatus.prototype.setActor = function(actor) {
  535.     if (this._actor !== actor) {
  536.         this._actor = actor;
  537.         this.refresh();
  538.     }
  539. };
  540.  
  541. Window_ForgetSkillStatus.prototype.refresh = function() {
  542.     this.contents.clear();
  543.     if (this._actor) {
  544.             var x = 0;
  545.             var x2 = x + 280;
  546.             var x3 = x2 + 280;
  547.             var y = 0;
  548.         var actor = this._actor;
  549.             this.drawActorName(actor, x, y);
  550.             this.drawActorLevel(actor, x2, y);
  551.             this.drawActorClass(actor, x3, y);
  552.     }
  553. };
  554.  
  555. //-----------------------------------------------------------------------------
  556. // Window_ForgetSkillStatus2
  557. //-----------------------------------------------------------------------------
  558.  
  559. function Window_ForgetSkillStatus2() {
  560.     this.initialize.apply(this, arguments);
  561. }
  562.  
  563. Window_ForgetSkillStatus2.prototype = Object.create(Window_Base.prototype);
  564. Window_ForgetSkillStatus2.prototype.constructor = Window_ForgetSkillStatus;
  565.  
  566. Window_ForgetSkillStatus2.prototype.initialize = function(x, y, width, height) {
  567.     Window_Base.prototype.initialize.call(this, x, y, width, height);
  568. };
  569.  
  570. Window_ForgetSkillStatus2.prototype.refresh = function() {
  571.     this.contents.clear();
  572.     this.drawText("请您选择一招武功废掉。。。。", 0, 0, (Graphics.boxWidth), 'center');
  573. };

点评

YEP.90 – Equip Battle Skills(技能装备)  发表于 2016-9-18 07:27

Lv1.梦旅人

梦石
0
星屑
230
在线时间
174 小时
注册时间
2016-2-24
帖子
107
2
 楼主| 发表于 2016-9-18 20:39:57 | 只看该作者
@邪月长啸
谢谢,这个只能装备,不能超过4个然后删除有点遗憾

点评

非常感谢  发表于 2016-9-20 13:39
不过要手动替换,我在敌群事件里设置公共事件,判定死亡角色自己离队,战后在入队  发表于 2016-9-19 12:51
YEP.29 – Party System(队伍系统)和YEP.108 – Actor Party Switch(队伍角色切换)  发表于 2016-9-19 12:50
@邪月长啸 谢谢,顺便问一下大神知道哪个插件可以让战斗角色死亡后替补队员出战的吗?  发表于 2016-9-18 22:06
插件设置可以扩大  发表于 2016-9-18 21:03
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
230
在线时间
174 小时
注册时间
2016-2-24
帖子
107
3
 楼主| 发表于 2016-9-18 22:19:10 | 只看该作者
@邪月长啸
谢谢,顺便问一下大神知道哪个插件可以让战斗角色死亡后替补队员出战的吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-28 02:55

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表