当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
連携攻撃 - AttackChain.js
シェア用テキスト:
▼連携攻撃(トリアコンタン様作) - AttackChain.js
https://plugin-mz.fungamemake.com/archives/7608
戦闘中、味方の攻撃が連続したときにダメージ倍率が上昇します。また、画面上にチェイン数と最大連携ダメージを表示します。
ふりがな:れんけいこうげき
機能概要: 戦闘中、味方の攻撃が連続したときにダメージ倍率が上昇します。また、画面上にチェイン数と最大連携ダメージを表示します。
利用規約(ライセンス): MITライセンス
作者:トリアコンタン
作者サイト:https://triacontane.blogspot.com/
ダウンロードページ:https://raw.githubusercontent.com/triacontane/RPGMakerM…
ファイル名:AttackChain.js
プラグインのヘルプ:
/*:
* @plugindesc 連携攻撃プラグイン
* @target MZ
* @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/AttackChain.js
* @base PluginCommonBase
* @orderAfter PluginCommonBase
* @author トリアコンタン
*
* @param chainSkillList
* @text スキル設定
* @desc スキル、アイテムごとの設定情報です。
* @type struct<Skill>[]
* @default []
*
* @param chainSkin
* @text 連携スキン
* @desc 連携表示の表示スキン設定です。
* @type struct<Skin>
* @default {”unit”:”Chain!!”,”unitFont”:”{”face”:””,”size”:”0”,”italic”:”true”,”color”:”15”,”outlineColor”:”0”,”outlineWidth”:”0”,”image”:””}”,”valueFont”:”{”face”:””,”size”:”0”,”italic”:”true”,”color”:”23”,”outlineColor”:”0”,”outlineWidth”:”0”,”image”:””}”}
*
* @param damageSkin
* @text ダメージスキン
* @desc ダメージ表示の表示スキン設定です。
* @type struct<Skin>
* @default {”unit”:”Damage!!”,”unitFont”:”{”face”:””,”size”:”0”,”italic”:”true”,”color”:”15”,”outlineColor”:”0”,”outlineWidth”:”4”,”image”:””}”,”valueFont”:”{”face”:””,”size”:”0”,”italic”:”true”,”color”:”10”,”outlineColor”:”0”,”outlineWidth”:”4”,”image”:””}”}
*
* @param enemyChainSkin
* @text 敵連携スキン
* @desc 敵連携表示の表示スキン設定です。指定がなければ味方用の設定が適用されます。
* @type struct<Skin>
* @default
*
* @param enemyDamageSkin
* @text 敵ダメージスキン
* @desc 敵ダメージ表示の表示スキン設定です。指定がなければ味方用の設定が適用されます。
* @type struct<Skin>
* @default
*
* @param chainX
* @text X座標
* @desc チェイン表示のX座標です。
* @default 8
* @type number
*
* @param chainY
* @text Y座標
* @desc チェイン表示のY座標です。
* @default 80
* @type number
*
* @param duration
* @text 表示時間
* @desc チェインが表示される時間(フレーム数)です。この値を超過するとフェードアウトします。(0の場合ずっと表示)
* @default 0
* @type number
*
* @param damageRate
* @text ダメージ倍率
* @desc 1チェインごとに増加するダメージの増減値(%)です。
* @default 10
* @type number
*
* @param maxRate
* @text 最大倍率
* @desc チェインによって増加するダメージの最大倍率です。
* @default 500
* @type number
*
* @param cancelCondition
* @text 解除条件
* @desc チェインが解除される条件です。
*
* @param cancelChangeTarget
* @text ターゲット変更で解除
* @desc チェイン継続中のターゲット以外に攻撃すると解除されます。
* @default true
* @type boolean
* @parent cancelCondition
*
* @param cancelMiss
* @text ミスで解除
* @desc 攻撃をミスすると解除されます。
* @default true
* @type boolean
* @parent cancelCondition
*
* @param cancelNoAttack
* @text 攻撃以外で解除
* @desc ダメージを与える攻撃以外を行うと解除されます。
* @default true
* @type boolean
* @parent cancelCondition
*
* @param cancelOpposite
* @text 相手行動で解除
* @desc 敵方が行動すると解除されます。
* @default true
* @type boolean
* @parent cancelCondition
*
* @param cancelTraitLost
* @text 特徴喪失で解除
* @desc 攻撃した対象者が所定の特徴(メモ欄から指定)を保持している間のみチェインが継続します。
* @default false
* @type boolean
* @parent cancelCondition
*
* @param invalidSwitchId
* @text 無効スイッチ番号
* @desc 指定したスイッチがONのとき最大連携数および最大ダメージのカウントが無効になります。
* @default 0
* @type switch
*
* @param partyOnly
* @text 味方のみに適用
* @desc プラグインの効果が敵グループには作用しなくなります。
* @default false
* @type boolean
*
* @help AttackChain.js
*
* 戦闘中、味方の攻撃が連続したときにダメージ倍率が上昇します。
* チェイン数と同時に最大連携ダメージも表示されます。
* チェインの継続中に相手側のチェインがスタートしたら解除されます。
* さらにパラメータで追加の解除条件を指定できます。
*
* パラメータ「特徴喪失で解除」を有効にすると、対象者が
* メモ欄を保持(※)している場合のみコンボが継続します。
* <Combo>
* ※アクター、職業、敵キャラ、ステート、装備のいずれかのメモ欄
*
* イベントコマンド「スクリプト」から以下が実行可能です。
* $gameParty.getChainCount(); # 現在のパーティ連携数取得
* $gameParty.getMaxChainCount(); # パーティの最大連携数を取得
* $gameParty.getChainDamage(); # 現在のパーティ連携ダメージ取得
* $gameParty.getMaxChainDamage(); # パーティの最大連携ダメージを取得
* $gameParty.resetMaxChain(); # 最大連携数およびダメージをリセット
*
* 利用規約:
* 作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等)
* についても制限はありません。
* このプラグインはもうあなたのものです。
*/