Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
futokoro committed Sep 6, 2018
1 parent c85363a commit b33ffa9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 13 deletions.
40 changes: 28 additions & 12 deletions FTKR_AutoInvokeSkill.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// プラグインNo : 34
// 作成者 : フトコロ
// 作成日 : 2017/05/03
// 最終更新日 : 2017/11/04
// バージョン : v1.3.1
// 最終更新日 : 2018/09/07
// バージョン : v1.3.2
//=============================================================================

var Imported = Imported || {};
Expand All @@ -16,7 +16,7 @@ FTKR.AIS = FTKR.AIS || {};

//=============================================================================
/*:
* @plugindesc v1.3.1 特定条件で自動でスキルを発動させるプラグイン
* @plugindesc v1.3.2 特定条件で自動でスキルを発動させるプラグイン
* @author フトコロ
*
* @help
Expand Down Expand Up @@ -237,6 +237,12 @@ FTKR.AIS = FTKR.AIS || {};
* 変更来歴
*-----------------------------------------------------------------------------
*
* v1.3.2 - 2018/09/07 : 不具合修正
* 1. FTKR_AlternatingTurnBattle.jsと組み合わせた時に、複数回行動可能なキャラが
* 自動スキルを発動させた場合、その次の行動でエラーになる不具合を修正。
* 2. FTKR_AlternatingTurnBattle.jsと組み合わせた時に、ターン終了の条件で
* ステート解除時発動スキルを設定した場合に、次ターンに発動する不具合を修正。
*
* v1.3.1 - 2017/11/04 : ヘルプ修正
*
* v1.3.0 - 2017/11/04 : 機能追加、仕様変更
Expand Down Expand Up @@ -484,21 +490,31 @@ FTKR.AIS = FTKR.AIS || {};
}
};

var _AIS_BattleManager_endTurn = BattleManager.endTurn;
BattleManager.endTurn = function() {
_AIS_BattleManager_endTurn.call(this);
if (this._autoSkills && this._autoSkills.length) {
this._keepPhase = this._phase;
this._phase = 'autoSkill'
}
};
if (Imported.FTKR_AltTB) {
var _AIS_BattleManager_updateTurnEnd = BattleManager.updateTurnEnd;
BattleManager.updateTurnEnd = function() {
_AIS_BattleManager_updateTurnEnd.call(this);
if (this._autoSkills && this._autoSkills.length) {
this._keepPhase = this._phase;
this._phase = 'autoSkill'
}
};
} else {
var _AIS_BattleManager_endTurn = BattleManager.endTurn;
BattleManager.endTurn = function() {
_AIS_BattleManager_endTurn.call(this);
if (this._autoSkills && this._autoSkills.length) {
this._keepPhase = this._phase;
this._phase = 'autoSkill'
}
};
}

BattleManager.updateAutoSkill = function() {
$gameParty.requestMotionRefresh();
var autoSkill = this._autoSkills.shift();
if (autoSkill) {
this.startAutoSkillAction(autoSkill);
this._subject.removeCurrentAction();
} else {
this._phase = this._keepPhase;
}
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ FTKR_CSS_GDMはFTKR_CustomSimpleActorStatusに統合しました
|:-----------|:-----------:|:-------------|:-------------|:-------------|
| [FTKR_SkillCounter](FTKR_SkillCounter.js) | [あり](FTKR_SkillCounter.ja.md) | [v1.0.5](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_SkillCounter.js) | 2017/04/29 | 相手のスキルに対抗して効果を変える |
| [FTKR_SkillSubCommand](FTKR_SkillSubCommand.js) | [仮版](FTKR_SkillSubCommand.ja.md) | [v1.0.0](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_SkillSubCommand.js) | 2017/04/15 | スキル画面にサブコマンドを追加する <br> FTKR_SEP_ShowSkillStatusと組み合わせて使用できません |
| [FTKR_AutoInvokeSkill](FTKR_AutoInvokeSkill.js) | なし | [v1.3.1](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_AutoInvokeSkill.js) | 2017/11/04 | 特定条件で自動でスキルを発動させる |
| [FTKR_AutoInvokeSkill](FTKR_AutoInvokeSkill.js) | なし | [v1.3.2](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_AutoInvokeSkill.js) | 2018/09/07 | 特定条件で自動でスキルを発動させる |
| [FTKR_AISkillEvaluate](FTKR_AISkillEvaluate.js) | なし | [v1.2.4](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_AISkillEvaluate.js) | 2018/03/10 | 自動戦闘時に使用するスキルの評価値を個別に設定する |
| [FTKR_SkillCastingMotion](FTKR_SkillCastingMotion.js) | なし | [v1.0.0](https://raw.githubusercontent.com/futokoro/RPGMaker/master/FTKR_SkillCastingMotion.js) | 2018/04/11 | スキル毎に詠唱モーションのONOFFを設定する |

Expand Down Expand Up @@ -306,6 +306,9 @@ FTKR_BattleCommandIconはFTKR_ExBattleCommandに統合しました

2018/09の更新情報

### 2018/09/07
* [FTKR_AutoInvokeSkill](FTKR_AutoInvokeSkill.js) v1.3.2

### 2018/09/06
* [FTKR_GDM_WindowEditor](FTKR_GDM_WindowEditor.ja.md) v0.9.10

Expand Down

0 comments on commit b33ffa9

Please sign in to comment.