RPGツクールMV用プラグイン投稿・告知サイト

#ツクプラ

リアルタイムで敵キャラの行動を変更 - RX_T_ChgEnemyBehavior_in_RT.js

シェア用テキスト:
▼リアルタイムで敵キャラの行動を変更(TYPE74RX-T様作) - RX_T_ChgEnemyBehavior_in_RT.js
https://plugin.fungamemake.com/archives/27339
敵にダメージを与えたり、状態を変えることで敵の行動を変えることができます。

ふりがな:りあるたいむでてききゃらのこうどうをへんこう

機能概要: 敵にダメージを与えたり、状態を変えることで敵の行動を変えることができます。

利用規約(ライセンス): MITライセンス

作者:TYPE74RX-T

作者サイト:https://mdc-light.jpn.org/TYPE74RX-T/

ダウンロードページ:https://w.atwiki.jp/type74rx-t/pages/218.html

ファイル名:RX_T_ChgEnemyBehavior_in_RT.js

プラグインのヘルプ:

//=============================================================================
// Plugin_Name : Change enemy behavior in real time
// File_Name   : RX_T_ChgEnemyBehavior_in_RT.js
// Version     : 1.00
// Copylight   : 2020 TYPE74RX-T
//=============================================================================


//=============================================================================
/*:
 * @target MV MZ
 * @plugindesc You can change an enemy's behavior by damaging them or changing their state.
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @param SystemWord in Notes
 * @text System word
 * @desc System word to fill in the notes field
 * @default RealTimeThinking
 * @param Personal Setting
 * @desc Change the enemy's behavior in real time.
 * @type boolean
 * @default false
 * @help Change enemy behavior in real time
 *
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * ◆Summary
 * You can change an enemy's behavior by damaging them or
 * changing their state.
 * This ensures that the enemy will always act according
 * to the conditions when the order of action comes
 * around to you.
 *
 * However, it may not be as effective in the RMMZ TPB mode.
 *
 * By default, an enemy's action is determined at the
 * start of a turn.
 * So, for example, if an enemy action is set to change
 * when its HP drops below half, the conditional action
 * will be carried over to the next turn, even if the
 * enemy's HP drops below half during that turn. 
 *
 * ◆Usage
 * You can reflect the effects by simply installing
 * plug-ins, but you can also set them individually
 * for each enemy character.
 * 
 * [How to set it up individually]
 * 1.Configuring Plug-in Parameters
 *  Set "Personal Setting" to "ON" and change this value to "true".
 *  (The default is "OFF".)
 * 2.Enter "" in the memo field for the enemy character
 *   you want to set.
 * 
 * [Notes]
 * You don't need to worry about the "System word".
 * It's just that the way you set up the notes field is different depending
 * on whether you are using the English or Japanese version.
 *
 * ◆License
 * This plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php
*/
// @digress "usage" and "usagi" are a lot alike.
/*:ja
 * @target MV MZ
 * @plugindesc 敵にダメージを与えたり、ステートを変えることで敵の行動を変えることができます。
 * @author TYPE74RX-T
 * @url https://mdc-light.jpn.org/TYPE74RX-T/
 *
 * @param SystemWord in Notes
 * @text システムワード
 * @desc メモ欄に記入するシステムワード
 * @default リアルタイム思考
 * @param Personal Setting
 * @text 個別設定
 * @desc リアルタイムで敵キャラの行動を変更
 * @type boolean
 * @default false
 * @help リアルタイムで敵キャラの行動を変更
 *
 * このプラグインはRPGツクールMV、RPGツクールMZに対応しています。
 *
 * ◆概要
 * 戦闘中、敵にダメージを与えたり、状態を変えることで敵の行動を
 * 変えることができます。
 * これにより、敵は行動の順番が回ってきたときには必ず条件に応じて
 * 行動するようになります。
 *
 * ただ、RPGツクールMZのTPBモードでは効果が薄いかもしれません。 
 *
 * デフォルトでは、敵の行動はターン開始時に決定されます。
 * そのため、例えば敵の行動がHPが半分以下になったら変更されるように
 * 設定されている場合、そのターン中に敵のHPが半分以下になっても
 * 条件付きの行動は次のターンに持ち越されます。
 *
 * ◆使い方
 * プラグインを導入するだけで効果を反映させることもできますが
 * 敵キャラごとに個別に設定することも可能です。
 * 【個別に設定する方法】
 * 1.プラグインパラメータの設定
 *  「個別設定」を「ON」に設定してこの値を「true」に変えます。
 *  (デフォルトは「OFF」です。)
 * 2.設定したい敵キャラのメモ欄に「」と入力します。
 * 
 * 【備考】
 * 「システムワード」を気にする必要はありません。
 * ただ、日本語版か英語版かでメモ欄の設定方法が違うだけです。
 *
 * ◆ライセンス
 * このプラグインはMITライセンスで公開されています。
 * http://opensource.org/licenses/mit-license.php
*/

スポンサードリンク

スポンサードリンク

Copyright© #ツクプラ , 2025 All Rights Reserved.