当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
Mano 変数操作拡張 - Mano_GameDataAccess.js
シェア用テキスト:
▼Mano 変数操作拡張(しぐれん様作) - Mano_GameDataAccess.js
https://plugin-mz.fungamemake.com/archives/6804
イベントコマンド「変数の操作」で取得できないデータを変数に入れられます。
ふりがな:へんすうそうさかくちょう
機能概要: イベントコマンド「変数の操作」で取得できないデータを変数に入れられます。
利用規約(ライセンス): MITライセンス
作者:しぐれん
作者サイト:https://siguren400.booth.pm/
ダウンロードページ:https://raw.githubusercontent.com/Sigureya/RPGmakerMZ/m…
ファイル名:Mano_GameDataAccess.js
プラグインのヘルプ:
/*: * @plugindesc 変数操作拡張 * @author しぐれん * * @target MZ * * @param elementNormal * @text 通常攻撃/elementNormal * @desc スキルの属性を表示する際に「通常攻撃」が設定されている場合の表示 * @default 通常攻撃 * * @param textNone * @default なし * * @command GetSkillData * @text スキルの情報を取得/GetSkillData * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg mpcost * @text 消費MP/MPcost * @type variable * @default 0 * * @arg tpcost * @text 消費TP/TPcost * @type variable * @default 0 * * @arg gaintp * @text 取得TP/gainTP * @type variable * @default 0 * * @arg skilltype * @text スキルタイプID/skilltypeID * @type variable * @default 0 * * @arg animation * @text アニメーション/animation * @type variable * @default 0 * * @arg elementid * @text * @desc 「通常攻撃」が設定されている場合は-1が代入されます。 * @type variable * @default 0 * * * @command GetSkillText * @text スキルの文章を取得/GetSkillText * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg name * @text 名前/name * @type variable * @default 0 * * @arg desc * @text 説明文/Description * @type variable * @default 0 * * @arg skilltypename * @text スキルタイプ/Skilltype * @type variable * @default 0 * * @arg elementname * @text 属性名/ElementName * @type variable * @default 0 * * @command GetActorMaxTp * @text 最大TPを取得/GetMaxTp * @arg actorVariable * @text アクターID * @type variable * @default 0 * * @arg maxtp * @text 最大TP/MaxTp * @type variable * @default 0 * * * @command GetParams * @text パラメータの取得/GetParams * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg dataType * @text データ種別 * @desc カッコ内は「項目指定変数」の使い道です。 * @type select * @option アクター(アクターID) * @value actor * @option 武器(武器ID) * @value weapon * @option 防具(防具ID) * @value armor * @default actor * * @arg mhp * @text 最大HP/MaxHP * @type variable * @default 0 * * @arg mmp * @text 最大MP/MaxMP * @type variable * @default 0 * * @arg atk * @text 攻撃力/ATK * @type variable * @default 0 * * @arg def * @text 防御力/DEF * @type variable * @default 0 * * @arg mat * @text 魔法攻撃力/MAT * @type variable * @default 0 * * @arg mdf * @text 魔法防御力/MDF * @type variable * @default 0 * * @arg agi * @text 敏捷性/AGI * @type variable * @default 0 * * @arg luk * @text 運/LUK * @type variable * @default 0 * * @command GetActorGrowing * @text アクターの成長情報を取得 * @desc アイテムの効果「成長」によって加算された値を取得 * * @arg actorVariable * @text アクターID * @type variable * @default 0 * * @arg mhp * @text 最大HP/MaxHP * @type variable * @default 0 * * @arg mmp * @text 最大MP/MaxMP * @type variable * @default 0 * * @arg atk * @text 攻撃力/ATK * @type variable * @default 0 * * @arg def * @text 防御力/DEF * @type variable * @default 0 * * @arg mat * @text 魔法攻撃力/MAT * @type variable * @default 0 * * @arg mdf * @text 魔法防御力/MDF * @type variable * @default 0 * * @arg agi * @text 敏捷性/AGI * @type variable * @default 0 * * @arg luk * @text 運/LUK * @type variable * @default 0 * * @command GetItemData * @text アイテムの情報を取得/GetItemData * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg dataType * @text データ種別 * @desc カッコ内は「項目指定変数」の使い道です。 * @type select * @option アイテム(アイテムID) * @value item * @option 武器(武器ID) * @value weapon * @option 防具(防具ID) * @value armor * @default item * * @arg name * @text 名前/name * @type variable * @default 0 * * @arg desc * @text 説明文/description * @type variable * @default 0 * * @arg iconindex * @text アイコン番号/iconindex * @type variable * @default 0 * * @arg price * @text 値段/price * @type variable * @default 0 * * * @command GetWeaponType * @text 武器種別の取得/GetWeaponType * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg typetext * @type variable * @default 0 * * * @command GetArmorType * @text 防具種別の取得/GetArmorType * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg typetext * @type variable * @default 0 * * * * @command NumItems * @text 所持数を数える/NumItems * @arg item * @text 項目指定変数 * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg dataType * @text データ種別 * @desc カッコ内は「項目指定変数」の使い道です。 * @type select * @option アイテム(アイテムID) * @value item * @option 武器(武器ID) * @value weapon * @option 防具(防具ID) * @value armor * @default item * * @arg result * @text 結果の書き込み先 * @type variable * @default 0 * * @arg includesEquip * @text 装備を含む/includesEquip * @type boolean * @default false * * @command GainItem * @text アイテムの入手/GainItem * @desc アイテムを減らす結果になる場合、何もしません。 * * @arg item * @text 項目指定変数/ItemId * @desc 変数の値をデータ選択に使います。 * @type variable * @default 0 * * @arg dataType * @text データ種別/DataType * @desc カッコ内は「項目指定変数」の使い道です。 * @type select * @option アイテムID/ItemId * @value item * @option 武器ID/WeaponId * @value weapon * @option 防具ID/ArmorId * @value armor * @default item * * @arg amountVariable * @text 個数(変数指定)/amount * @desc 数値がマイナスの場合何もしません。 * @type variable * @default 0 * * @arg amount * @text 個数(直接指定)/amount * @desc 変数指定との合計個数が加算されます。 * @type number * @default 0 * * @command CountStateAffectedActor * @text ステートを受けているメンバーを数える * @arg resultVariable * @text 結果の書き込み先 * @type variable * @default 0 * * @arg stateList * @type state[] * @default [] * * @arg joinType * @text 複数指定時の連結方法 * @type select * @option AND(全てを満たす) * @value AND * @option OR(いずれかを満たす) * @value OR * @default OR * * @command GetActorClass * @text アクターの職業を取得/GetActorClass * * @arg actorVariable * @text アクターID/ActorId * @type variable * @default 0 * * @arg name * @text 職業名称/ClassName * @type variable * @default 0 * * @arg classId * @text 職業番号/ClassId * @type variable * @default 0 * * @command GetExp * @text 経験値情報の取得/GetExpData * * @arg actorVariable * @text アクターID/ActorId * @type variable * @default 0 * * @arg currentExp * @text 現在の経験値/currentExp * @type variable * @default 0 * * @arg nextRequired * @text 次のLvまで/nextRequired * @type variable * @default 0 * * @arg nextLevel * @text 次のLvに必要/nextLevel * @type variable * @default 0 * * @command GetMapGridSize * @text マップの大きさの取得(マス目) * @arg width * @text マップの幅/width * @type variable * @default 0 * * @arg height * @text マップの高さ/height * @type variable * @default 0 * * @command GetMapScreenSize * @text マップの大きさの取得(画面上) * @arg width * @text マップの幅/width * @type variable * @default 0 * * @arg height * @text マップの高さ/height * @type variable * @default 0 * * @command GetTimer * @text タイマーの残り時間を取得/GetTimer * * @arg minutes * @text 分/minutes * @type variable * @default 0 * * @arg seconds * @text 秒/seconds * @type variable * @default 0 * * * @help * イベントコマンド「変数の操作」で取得できないデータを変数に入れることができます。 * プラグインコマンドのパラメータで、書き込み先の変数を指定します。 * 機能の詳細はプラグインパラメータで確認してください。 */