当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
YEP Stat Allocation - YEP_StatAllocation.js

▼YEP Stat Allocation(Yanfly様作) - YEP_StatAllocation.js
https://plugin.fungamemake.com/archives/10618
メンバーに能力値を割り当てるメニューを追加
ふりがな:すたっとあろけーしょん
機能概要: メンバーに能力値を割り当てるメニューを追加
利用規約(ライセンス):http://www.yanfly.moe/wiki/Category:Yanfly_Engine_Plugi…
作者:Yanfly
作者サイト:http://yanfly.moe/
解説ページ:https://fungamemake.com/archives/1850
ダウンロードページ:http://yanfly.moe/2018/11/09/yep-173-stat-allocation-rp…
ファイル名:YEP_StatAllocation.js
プラグインのヘルプ:
/*:ja
* @plugindesc v1.02 パーティーメンバーに能力値を割り当てるメニューを追加します。能力値はAP、JP、アイテムを通して割り当てることができます。
* @author Yanfly Engine Plugins
*
* @help
* 翻訳:ムノクラ
* https://munokura.tk/
* https://twitter.com/munokura/
*
* ============================================================================
* Introduction
* ============================================================================
*
* 多くのプレイヤーは、ゲームのカスタマイズが大好きです。
* それは彼らがゲームに少し個人的な接触を置くことを可能にします、
* そしてそれを行うために能力値割り当て機能を通してより良い方法は何ですか?
* このプラグインでは、
* プレイヤーは割り当てポイントを表す新しいリソースAPを通して、
* MaxHP、MaxMP、ATK、DEFなどの量を変更することができます。
* APは通常レベルアップで獲得され、その後能力値を高めるために使用されます。
*
* しかし、APがあなたのものではない場合、
* JP(JobPointsプラグインを使用)・アイテムを通じて
* 能力値情報を割り当てることもできます。
* このプラグインは、ゲーム開発者に能力値を割り当てる3つの方法を提供します。
*
* このプラグインの能力値割り当て機能は、
* 全体としてアクターではなく職業に結び付けられています。
* これは、
* アクターが現在割り当てている職業によって
* アクターが割り当てられる配分が異なることを意味します。
* 職業の変更が必要な場合、
* プレーヤーは1サイズではなく複数の割り当てビルドを試すことができます。
*
* 職業は、ポイントを割り当てるための様々なパラメータも提供できます。
* バトラー職業はATKとDEFのオプションを与えることができますが、
* 魔術師職業はMaxMP・MATのオプションを与えることができます。
* これは各職業のためのメモタグの使用を通してすることができます。
*
* 各能力値情報の名前からアイコン、コスト、効果、
* 能力値情報の最大割り当て回数まで、
* 割り当て規則を調整することもできます。
* これらは全てプラグインパラメータを通じて実行できます。
*
* ============================================================================
* Notetags
* ============================================================================
*
* 特定の職業に異なる能力値を割り当てたい場合、
* 次のメモタグ設定を使用してください。
*
* 職業のメモタグ
*
* <Stat Allocation: x, x, x>
*
* or
*
* <Stat Allocation>
* x
* x
* x
* </Stat Allocation>
* - プレイヤーがポイントを割り当てられる能力値のリストに追加するには、
* 'x'をstatに置き換えます。
* 必要なだけ'x'エントリを挿入してください。
* それらは配置された順にメニューに表示されます。
* 関連のない能力値はメニューに表示されません。
* 以下のいずれかの能力値を使用してください。
*
* ---
*
* Param: Stands for:
*
* mhp 最大HP
* mmp 最大MP
* atk 攻撃力
* def 防御力
* mat 魔法力
* mdf 魔法防御
* agi 敏捷性
* luk 敏捷性
*
* XParam:
*
* hit 命中率
* eva 回避率
* cri 会心率
* cev 会心回避率
* mev 魔法回避率
* mrf 魔法反射率
* cnt 反撃率
* hrg HP再生率
* mrg MP再生率
* trg TP再生率
*
* SParam:
*
* tgr 狙われ率
* grd 防御効果率
* rec 回復効果率
* pha 薬の知識
* mcr MP消費率
* tcr TPチャージ率
* pdr 物理ダメージ率
* mdr 魔法ダメージ率
* fdr 床ダメージ率
* exr 経験獲得率
*
* ---
*
* これらを'DefaultParameters'プラグインパラメータに挿入して、
* デフォルトリストを変更し、
* 独自の固有のメモタグ設定を持たない全ての職業に適用することもできます。
*
* ============================================================================
* Main Menu Manager - Positioning the Allocate Command
* ============================================================================
*
* YEP_MainMenuManager.jsを使用していて、
* Allocateコマンドを好きな場所に配置したい場合、
* 次の形式を使用します。
*
* Name: Yanfly.Param.StatAlcCmdName
* Symbol: statAllocate
* Show: $gameSystem.isShowStatAllocate()
* Enabled: $gameSystem.isEnableStatAllocate()
* Ext:
* Main Bind: this.commandPersonal.bind(this)
* Actor Bind: SceneManager.push(Scene_StatAllocation)
*
* YEP_MainMenuManager.jsのスロットに上記の設定を挿入します。
* 正確な設定を必要な場所にコピーすると、
* 全ての命名の使用、有効化、無効化、非表示、
* プラグインパラメータによって行われた効果の表示中にその設定が表示されます。
*
* プラグインパラメータから 'Auto Add Menu'をオフにするのを忘れないでください。
*
* ============================================================================
* Plugin Commands
* ============================================================================
*
* あなたのゲームで様々な能力値割り当て機能関連の効果を得るために
* 以下のプラグインコマンドを使うことができます。
*
* プラグインコマンド
*
* ShowStatAllocate
* HideStatAllocate
* - メインメニューの割り当てコマンドを表示または非表示にします。
*
* EnableStatAllocate
* DisableStatAllocate
* - メインメニューの割り当てコマンドを有効または無効にします。
*
* ShowRevertAllocate
* HideRevertAllocate
* - 割り当てシーンの 'Revert'コマンドを表示または非表示にします。
*
* EnableRevertAllocate
* DisableRevertAllocate
* - 割り当てシーンの 'Revert'コマンドを有効または無効にします。
*
* OpenStatAllocate x
* -インデックスがxに等しいパーティーメンバーのための
* ステータス割り当てメニューを開きます。
* 0が最初のスロットです。
*
* ============================================================================
* Lunatic Mode - Script Calls
* ============================================================================
*
* 次のスクリプトコールを使用して、
* アクターに追加のAPを使用させることができます。
*
* Script Calls:
*
* var actor = $gameActors.actor(actorId);
* actor.gainBonusAp(x, classId);
* - 'actorId'をあなたが影響を与えたいアクターのIDに置き換えてください。
* アクターに適用したいAPの量で'x'を置き換えます。
* 'classId'をAPに渡したい職業のIDに置き換えます。
* アクターの現在の職業に影響を与えるために
* 'classId'を0のままにすることができます。
*
* var actor = $gameActors.actor(actorId);
* actor.setBonusAp(x, classId);
* - 'actorId'をあなたが影響を与えたいアクターのIDに置き換えてください。
* アクターのAPを設定したいAPの量で'x'を置き換えます。
* APに設定したいと思う職業のIDと'classId'を取り替えて下さい。
* アクターの現在の職業に影響を与えるために
* 'classId'を0のままにすることができます。
*
* ============================================================================
* Changelog
* ============================================================================
*
* Version 1.02:
* - Fixed an exploit that would allow actors to fully regain HP/MP.
*
* Version 1.01:
* - Bugfixed for those who didn't have Allocate appear.
* - Added plugin command to open up Stat Allocation scene.
*
* Version 1.00:
* - Finished Plugin!
*
* ============================================================================
* End of Helpfile
* ============================================================================
*
* @param ---一般---
* @default
*
* @param Command Text
* @parent ---一般---
* @desc メニューコマンドに使用されるテキスト
* @default 能力割り当て
*
* @param Auto Add Menu
* @parent ---一般---
* @desc メインメニューに能力値割り当てコマンドを自動的に追加しますか?
* NO - false YES - true
* @default true
*
* @param Show Command
* @parent ---一般---
* @type boolean
* @on 表示
* @on 非表示
* @desc デフォルトでメインメニューに能力値割り当てコマンドを表示設定
* 非表示 - false 表示 - true
* @default true
*
* @param Enable Command
* @parent ---一般---
* @type boolean
* @on 有効
* @on 無効
* @desc メインメニューの能力値割り当てコマンドをデフォルトで有効にしますか?
* 無効 - false 有効 - true
* @default true
*
* @param Auto Place Command
* @parent ---一般---
* @type boolean
* @on 自動
* @off 手動
* @desc このプラグインがメニューの配置位置を決めることを許可しますか?
* 手動 - false 自動 - true
* @default true
*
* @param Left/Right Allocate
* @parent ---一般---
* @type boolean
* @on 許可
* @off 禁止
* @desc 左/右キーで割り当て(割り当て解除)を許可しますか?
* 禁止 - false 許可 - true
* @default true
*
* @param ---AP---
* @default
*
* @param AP Name
* @parent ---AP---
* @desc ゲームに'AP'が表示されるしくみ
* @default AP
*
* @param AP Icon
* @parent ---AP---
* @desc APに使用されるアイコンインデックス
* @default 87
*
* @param AP Formula
* @parent ---AP---
* @desc アクターが計算されたレベルでどれだけのAPを持つべきかの公式コード
* @default (level - 1) * 5
*
* @param AP Amount Format
* @parent ---AP---
* @desc 利用可能なAPを表示するときに使用される形式
* %1 - 数量 %2 - AP テキスト %3 - AP アイコン
* @default c[0]%3c[4]%2 x %1
*
* @param Show AP in Menu
* @parent ---AP---
* @type boolean
* @on 表示
* @on 非表示
* @desc メニューにAPを表示設定
* NO - false YES - true
* @default true
*
* @param ---コマンドウィンドウ---
* @default
*
* @param Text Alignment
* @parent ---コマンドウィンドウ---
* @type combo
* @option left
* @option center
* @option right
* @desc コマンドウィンドウの文字揃え
* left center right
* @default center
*
* @param Allocate Command
* @parent ---コマンドウィンドウ---
* @desc Stat Allocationに使用される表示テキスト
* @default 割り当て
*
* @param Revert Command
* @parent ---コマンドウィンドウ---
* @desc 割り当て設定を解除ために使用される表示テキスト
* @default 解除
*
* @param Show Revert
* @parent Revert Command
* @type boolean
* @on 表示
* @on 非表示
* @desc デフォルトで[解除]コマンドを表示設定
* NO - false YES - true
* @default true
*
* @param Enable Revert
* @parent Revert Command
* @type boolean
* @on 有効
* @on 無効
* @desc デフォルトで解除コマンドを有効にしますか
* NO - false YES - true
* @default true
*
* @param Finish Command
* @parent ---コマンドウィンドウ---
* @desc シーンの終了/終了に使用される表示テキスト
* 含まない場合は、空白のままに
* @default 完了
*
* @param ---割り当てウィンドウ---
* @default
*
* @param Default Parameters
* @parent ---割り当てウィンドウ---
* @type string[]
* @desc 割り当てウィンドウに表示される能力値のリスト 能力値のリストについてはヘルプファイルを参照
* @default [”mhp”,”mmp”,”atk”,”def”,”mat”,”mdf”,”agi”,”luk”]
*
* @param Allocate Refresh
* @parent ---割り当てウィンドウ---
* @type boolean
* @on YES
* @off NO
* @desc 各割り当て後にアクターを更新しますか?オンにすることをお勧めしますが、遅れる可能性があります
* @default false
*
* @param Small Item Names
* @parent ---割り当てウィンドウ---
* @type boolean
* @on YES
* @off NO
* @desc コストを抑えるためにアイテム名を小さくしますか?
* @default false
*
* @param drawCode
* @text Draw Code
* @parent ---割り当てウィンドウ---
* @type note
* @desc 能力値を表示するために使用されるコード
* @default ”// Initialize Variablesnvar param = this._list[index].ext;nvar data = this.paramData(param);nvar rect = this.itemRectForText(index);n// Draw Gaugenvar gaugeColor1 = data.gaugeColor1 || '#000000';nvar gaugeColor2 = data.gaugeColor2 || '#000000';nvar rate = this.paramAllocationRate(param);nvar width = this.contentsWidth() - 330;nthis.drawGauge(rect.x, rect.y, width, rate, gaugeColor1, gaugeColor2);n// Draw Parameter Namenthis.drawParamName(param, rect.x + this.textPadding(), rect.y, width);n// Draw Parameter Valuesnthis.drawParamValues(param, rect.x + this.textPadding(), rect.y, width);n// Draw Parameter Costnthis.drawParamCost(param, rect.x + rect.width - width, rect.y, width);”
*
* @param Base Parameters
* @parent ---割り当てウィンドウ---
*
* @param mhp Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの最大HPを+10””,”gaugeColor1”:”#e08040”,”gaugeColor2”:”#f0c040”,”allocationBonus”:”10”,”maxAllocations”:”100”,”apCost”:””cost = 1 + Math.floor(times / 10);””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mmp Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの最大MPを+5””,”gaugeColor1”:”#4080c0”,”gaugeColor2”:”#40c0f0”,”allocationBonus”:”5”,”maxAllocations”:”100”,”apCost”:””cost = 1 + Math.floor(times / 10);””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param atk Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの攻撃力を+1””,”gaugeColor1”:”#ed1c24”,”gaugeColor2”:”#f26c4f”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param def Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの防御力を+1””,”gaugeColor1”:”#f7941d”,”gaugeColor2”:”#fdc689”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mat Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの魔法力を+1””,”gaugeColor1”:”#605ca8”,”gaugeColor2”:”#bd8cbf”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mdf Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの魔法防御を+1””,”gaugeColor1”:”#448ccb”,”gaugeColor2”:”#a6caf4”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param agi Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの敏捷性を+1””,”gaugeColor1”:”#39b54a”,”gaugeColor2”:”#82ca9c”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param luk Settings
* @parent Base Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの運を+1””,”gaugeColor1”:”#fff568”,”gaugeColor2”:”#fffac3”,”allocationBonus”:”1”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param Extra Parameters
* @parent ---割り当てウィンドウ---
*
* @param hit Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの命中率を+0.5%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.005”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param eva Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの回避率を+0.5%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.005”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param cri Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの会心率を+0.5%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.005”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param cev Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの会心回避率を+0.5%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.005”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mev Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの魔法回避率を+0.5%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.005”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mrf Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの魔法反射率を+1%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.01”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param cnt Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの反撃率を+1%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.01”,”maxAllocations”:”10”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param hrg Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットのHP再生率を+1%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.01”,”maxAllocations”:”20”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mrg Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットのMP再生率を+1%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.01”,”maxAllocations”:”20”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param trg Settings
* @parent Extra Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットのTP再生率を+1%””,”gaugeColor1”:”#ca3c7a”,”gaugeColor2”:”#ff9fc9”,”allocationBonus”:”0.01”,”maxAllocations”:”20”,”apCost”:””cost = 3;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param Special Parameters
* @parent ---割り当てウィンドウ---
*
* @param tgr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの狙われ率を-1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.01”,”maxAllocations”:”10”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param grd Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの防御効果率を+5%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.05”,”maxAllocations”:”20”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param rec Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの回復効果率を+5%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.05”,”maxAllocations”:”20”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param pha Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの薬の知識を+5%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.05”,”maxAllocations”:”20”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mcr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットのMP消費率を-1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”-0.01”,”maxAllocations”:”50”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param tcr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットのTPチャージ率を+1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.01”,”maxAllocations”:”50”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param pdr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの物理ダメージ率を-1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”-0.01”,”maxAllocations”:”50”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param mdr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの魔法ダメージ率を-1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”-0.01”,”maxAllocations”:”50”,”apCost”:””cost = 5;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param fdr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの床ダメージ率を-1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”-0.01”,”maxAllocations”:”50”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param exr Settings
* @parent Special Parameters
* @type struct<paramSettings>
* @desc この能力値の設定
* @default {”name”:”auto”,”iconIndex”:”0”,”description”:””ユニットの経験獲得率を+1%””,”gaugeColor1”:”#8c6239”,”gaugeColor2”:”#c69c6d”,”allocationBonus”:”0.01”,”maxAllocations”:”100”,”apCost”:””cost = 1;””,”jpCost”:””cost = 0;””,”itemId”:”0”,”itemCost”:””cost = 1;””}
*
* @param ---解除---
* @default
*
* @param RevertConfirmationText
* @text Confirmation Text
* @parent ---解除---
* @type note
* @desc 解除ウィンドウの表示テキスト
* @default ”割り当てられている全ての能力値を元に戻しますか?n全ての \c[4]AP\c[0], \c[4]JP\c[0], \c[4]Items\c[0] は戻ります。”
*
* @param RevertWinWidth
* @text Window Width
* @parent ---解除---
* @type number
* @min 1
* @desc 解除ウィンドウの幅
* @default 700
*
* @param RevertYes
* @text Yes Text
* @parent ---解除---
* @desc 解除確認ウィンドウの'はい'の表示
* @default 解除する
*
* @param RevertNo
* @text No Text
* @parent ---解除---
* @desc 解除確認ウィンドウの'いいえ'の表示
* @default 解除しない
*
*/
/*~struct~paramSettings:ja
* @param name
* @text Name
* @desc この能力値に使用する名前 自動命名には 'auto'を使用
* @default auto
*
* @param iconIndex
* @text Icon
* @desc この能力値に使用するアイコン
* @default 0
*
* @param description
* @text Help Description
* @type note
* @desc この能力値に使用されるヘルプの説明
* @default ”1行n2行”
*
* @param gaugeColor1
* @text Gauge Color 1
* @desc この能力値のゲージ色1 (16進数色フォーマット) #rrggbb
* @default #ffffff
*
* @param gaugeColor2
* @text Gauge Color 2
* @desc この能力値のゲージ色2 (16進数色フォーマット) #rrggbb
* @default #ffffff
*
* @param allocationBonus
* @text Allocation Bonus
* @desc 割り当て毎に追加されたボーナス値
* @default 1
*
* @param maxAllocations
* @text Max Allocations
* @type number
* @min 1
* @desc この能力値を割り当てることができる最大回数
* @default 100
*
* @param apCost
* @text AP Cost
* @type note
* @desc この能力値をアップグレードするためのAPコスト
* cost = 最終値 times = アップグレード回数
* @default ”cost = 1 + times;”
*
* @param jpCost
* @text JP Cost
* @type note
* @desc この能力値をアップグレードするためのJPコスト。必須: YEP_JobPoints.js
* cost = 最終値 times = アップグレード回数
* @default ”cost = 0;”
*
* @param itemId
* @text Item ID
* @type item
* @desc コストに使用されたアイテムID。アイテムのコストが不要なら0
* @default 0
*
* @param itemCost
* @text Item Cost
* @type note
* @desc この能力値をアップグレードするためのアイテムコスト
* cost = 最終値 times = アップグレード回数
* @default ”cost = 1;”
*
*/