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

#ツクプラ

ダメージの無効化 - RX_T_VoidsDamage.js

シェア用テキスト:
▼ダメージの無効化(TYPE74RX-T様作) - RX_T_VoidsDamage.js
https://plugin.fungamemake.com/archives/27347
規定以内(または以上)のダメージを無効化するアクター、敵キャラ、ステート、武器、防具を作れるようになります。

ふりがな:だめーじのむこうか

機能概要: 規定以内(または以上)のダメージを無効化するアクター、敵キャラ、ステート、武器、防具を作れるようになります。

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

作者:TYPE74RX-T

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

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

ファイル名:RX_T_VoidsDamage.js

プラグインのヘルプ:

//=============================================================================
// Plugin_Name : Voids damage
// File_Name   : RX_T_VoidsDamage.js
// Version     : 1.01
// Copylight   : 2020 TYPE74RX-T
//=============================================================================


//=============================================================================
/*:
 * @target MV MZ
 * @plugindesc It is possible to create an element that void damage below or above the specified value.
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @param SystemWord in Notes
 * @text System Word 1
 * @desc The system word to fill in the notes section
 * @default VoidsLessDamage
 *
 * @param SystemWord in Notes2
 * @text System Word 2
 * @desc The system word to fill in the notes section
 * @default VoidsMoreDamage
 *
 * @param SystemWord in Notes3
 * @text System word 3
 * @desc The system word to fill in the notes section
 * @default DamageVoidPiercer
 *
 * @param voidMsgTypeActor
 * @text VoidMSGType:Actor
 * @desc How the message is displayed when damage is voided
 * @type select
 * @option Configured in the plugin parameters
 * @value plugin
 * @option "Actor No Damage" in the "Terms" section of the Database
 * @value nodmg
 * @default plugin
 *
 * @param voidMsgActor
 * @parent voidMsgTypeActor
 * @text The text when voids
 * @desc Text to be displayed when damage is voided.
 * %1 is replaced to battler's name.
 * @type string
 * @default %1 has voided the damage!
 *
 * @param voidMsgTypeEnemy
 * @text VoidMSGType:Enemy
 * @desc How the message is displayed when damage is voided
 * @type select
 * @option Configured in the plugin parameters
 * @value plugin
 * @option "Enemy No Damage" in the "Terms" section of the Database
 * @value nodmg
 * @default plugin
 *
 * @param voidMsgEnemy
 * @parent voidMsgTypeEnemy
 * @text The text when voids
 * @desc Text to be displayed when damage is voided.
 * %1 is replaced to battler's name.
 * @type string
 * @default %1 has voided the damage!
 *
 * @param name
 * @text Void-SE File Name
 * @desc SE file name to sound when damage is voided
 * @default Earth2
 * @type string
 *
 * @param pan
 * @text Pan
 * @desc Sound-Pan
 * Usually 0.
 * @min -100
 * @max 100
 * @default 0
 * @type number
 *
 * @param pitch
 * @text Pitch
 * @desc Sound-Pitch
 * Usually 100.
 * @min 50
 * @max 150
 * @default 70
 * @type number
 *
 * @param volume
 * @text Volume
 * @desc Sound-Volume
 * The default for MZ is 90.
 * @min 0
 * @max 100
 * @default 90
 * @type number
 *
 * @param VoidRule
 * @text Void damage rule
 * @desc The process when the damage void conditions overlap
 * @type select
 * @option Total
 * @value total
 * @option Max
 * @value max
 * @option Min
 * @value min
 * @default max
 *
 * @help Voids damage
 * 
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * ◆Summary
 * It is possible to create an element that void damage below or above the
 * specified value.
 * e.g. actors, enemies, states, weapons and armors.
 * And you can also ignore these features to create skills and items
 * that do damage.
 *
 * ◆Usage
 * Fill in the notes section
 * Target of Effect: actors, enemies, states, weapons and armors.
 *
 * For example:Voids damage of 50 or less.
 * 
 *
 * For example:Voids damage of 50 or more.
 * 
 *
 * Settings for ignoring damage-voiding
 * Target of effect: skills and items
 *
 * 
 *
 * [About Plugin Parameters]
 * 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.
 *
 * ★VoidMSGType:Actor/Enemy
 * -Configured in the plugin parameters(param: plugin)
 *  The content of "The text when voids" described below is applied.
 * -"Actor No Damage" in the "Terms" section of the Database(param: nodmg)
 *  Apply the content of "Actor No Damage" in "Terms" under "Database".
 *
 * ★The text when voids
 * You can set the text you want to appear in the Battle Log when the
 * damage is voided.
 * Be sure to include "%1" in the text.
 *
 * ★Setting of SE when voided
 * You can sound the SE when the damage is disabled.
 * For the file name, choose the name of the SE file you want to sound
 * from the SE folder in the project folder.
 * You can leave this field blank to prevent SEs from sounding.
 * The range of values you can set for SE is the same as in the editor.
 *
 * ★Void damage rule
 * Sets how damage void conditions are handled when they overlap.
 * On the actor's side, it is determined using the values set for things like
 * the actor, the state it is receiving, the weapon it is equipped with, and
 * the armor it is equipped with.
 * This is referred to as Group A.
 * On the enemy's side, it is determined using the values set for the enemy,
 * and the values set for the state it is receiving.
 * This is referred to as Group B.
 *
 * -Total
 *  The specified amount of damage voided is the sum of the groups A/B.
 *
 * -Max
 *  The prescribed amount of damage voided is the maximum amount of value in
 *  groups A/B.
 *
 * -Min
 *  The prescribed amount of damage voided is the minimum amount of value in
 *  groups A/B.
 *
 * Default settings is Max. 
 *
 * ◆License
 * This plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php
*/
/*:ja
 * @target MV MZ
 * @plugindesc 指定以内/以上のダメージを無効化する敵キャラやアクター、ステート等を作れるようになります。
 * @author TYPE74RX-T
 * @url https://mdc-light.jpn.org/TYPE74RX-T/
 *
 * @param SystemWord in Notes
 * @text システムワード1
 * @desc メモ欄に記入するシステムワード
 * @default 指定値内ダメージ無効

 * @param SystemWord in Notes2
 * @text システムワード2
 * @desc メモ欄に記入するシステムワード
 * @default 指定値以上ダメージ無効
 *
 * @param SystemWord in Notes3
 * @text システムワード3
 * @desc メモ欄に記入するシステムワード
 * @default ダメージ無効貫通
 *
 * @param voidMsgTypeActor
 * @text 無効化メッセージType:味方
 * @desc ダメージ無効化時に表示するメッセージの設定箇所
 * @type select
 * @option パラメータで直接設定
 * @value plugin
 * @option データベースの「味方ノーダメージ」
 * @value nodmg
 * @default plugin
 *
 * @param voidMsgActor
 * @parent voidMsgTypeActor
 * @text 無効化時表示文
 * @desc ダメージ無効化時に表示する文章
 * %1がバトラー名に置き換えられます
 * @type string
 * @default %1は ダメージを無効化した!
 *
 * @param voidMsgTypeEnemy
 * @text 無効化時メッセージType:敵
 * @desc ダメージ無効化時に表示するメッセージの設定箇所
 * @type select
 * @option パラメータで直接設定
 * @value plugin
 * @option データベースの「敵ノーダメージ」
 * @value nodmg
 * @default plugin
 *
 * @param voidMsgEnemy
 * @parent voidMsgTypeEnemy
 * @text 無効化時表示文
 * @desc ダメージ無効化時に表示する文章
 * %1がバトラー名に置き換えられます
 * @type string
 * @default %1は ダメージを無効化した!
 *
 * @param name
 * @text 無効化時SEファイル名
 * @desc ダメージを無効化された時に鳴らすSEのファイル名
 * @default Earth2
 * @type string
 *
 * @param pan
 * @text 位相
 * @desc 音の位相
 * 通常は 0 です。
 * @min -100
 * @max 100
 * @default 0
 * @type number
 *
 * @param pitch
 * @text ピッチ
 * @desc 音のピッチ
 * 通常は 100 です。
 * @min 50
 * @max 150
 * @default 70
 * @type number
 *
 * @param volume
 * @text 音量
 * @desc 音のボリューム
 * MZでのデフォルトは 90 です。
 * @min 0
 * @max 100
 * @default 90
 * @type number
 *
 * @param VoidRule
 * @text 無効化ルール
 * @desc ダメージ無効条件が重なった場合の処理
 * @type select
 * @option 総和
 * @value total
 * @option 最大値
 * @value max
 * @option 最小値
 * @value min
 * @default max
 *
 * @help ダメージの無効化
 *
 * このプラグインはRPGツクールMV、RPGツクールMZに対応しています。
 *
 * ◆概要
 * 規定以内(または以上)のダメージを無効化する敵キャラやアクター他に
 * ステート、武器、防具を作れるようになります。
 *
 * また、このような特徴を無視してダメージを与える
 * スキルやアイテムを作ることもできます。
 *
 * ◆使い方
 * メモ欄に記入します(アクター、敵キャラ、ステート、武器、防具)。
 *
 * 例1:50ポイント以内のダメージを無効化する場合の書式
 * 
 *
 * 例2:50ポイント以上のダメージを無効化する場合の書式
 * 
 *
 * ダメージ無効化を貫通させる場合(スキル、アイテム)
 * 
 *
 * 【プラグインパラメータについて】
 * システムワードについては設定不要です。
 * ただ、日本語版か英語版かでメモ欄の設定方法が違うだけです。
 *
 * ★無効化時メッセージType:味方(or敵)
 * ・パラメータで直接設定(値:plugin)
 *  後述の「無効化時表示文」の内容が反映されます。
 * ・データベースの「味方ノーダメージ」(値:nodmg)
 *  「データベース」の「用語」にある「味方ノーダメージ」の内容が反映されます。
 *
 * ★無効化時表示文
 * ダメージを無効化された時、バトルログに表示させたい文章を設定できます。
 * 必ず「%1」が含まれた内容に設定してください。
 *
 * ★無効化時SEの設定
 * ダメージを無効化された時のSEを鳴らすことができます。
 * ファイル名はプロジェクトフォルダ内のSEフォルダに入っているものから
 * 選んで入力してください。
 * この欄を空白に設定してSEを鳴らさない設定もできます。
 * SE関連の設定できる数値の範囲はエディタと同様です。
 *
 * ★無効化ルール
 * ダメージ無効化条件が重なった時にどう処理するか決めます。
 * アクター側の場合、アクター、受けているステート、装備中の武器、防具に
 * 設定された値を使って決めます。以下、A群と呼びます。
 * 敵キャラ側の場合、敵キャラ、受けているステートに設定された値を使って
 * 決めます。以下、B群と呼びます。
 *
 * ・総和
 * ダメージを無効化する規定量がA群/B群の総和になります。
 *
 * ・最大値(デフォルト設定)
 * ダメージを無効化する規定量がA群/B群の中での最大値になります。
 *
 * ・最小値
 * ダメージを無効化する規定量がA群/B群の中での最小値になります。
 *
 * ◆ライセンス
 * このプラグインはMITライセンスで公開されています。
 * http://opensource.org/licenses/mit-license.php
*/

スポンサードリンク

スポンサードリンク

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