DynamicMotion暗転表現時にスキル発動効果を付けたい

ジェイ
記事: 16
登録日時: 2020年10月19日(月) 22:28

DynamicMotion暗転表現時にスキル発動効果を付けたい

投稿記事by ジェイ » 2021年7月15日(木) 02:06

どうにも上手く出来ないので質問させてください。
DynamicMotionの暗転表現(http://newrpg.seesaa.net/article/475496918.html#darkness)を導入して、攻撃開始前にスキル発動のアニメーションがアクターに表示されるようにしたくて以下のように書きました。

<D-Setting:mv>
<D-Motion:spell/> // 魔法モーション
<D-Animation:spell/> // 発動アニメーション
<D-Motion>
wait = auto // 動作終了を待つ
</D-Motion>

// 画面を暗く
<D-Motion>
plugin = tintBB12 64 64 64 64 64 64
</D-Motion>

// 自動前進禁止
<D-Setting:NoStep>

// 行動主体と対象以外を透明化
<D-Motion:invisible>
condition = a != subject && a != b
performer = $gameParty.battleMembers().concat($gameTroop.aliveMembers())
</D-Motion>

<D-Motion:near> // 対象へ接近
duration = 6 // 6/60秒で移動
</D-Motion>

// 武器振り
<D-Motion:attack>
repeat = 6
motionDuration = 6 // モーション時間
</D-Motion>

// アニメーション&ウェイト
<D-Animation:random&wait>
repeat = 2
</D-Animation>

// 戻る
<D-Motion:return/>

// 透明化解除
<D-Motion:visible>
condition = a != subject && a != b
performer = $gameParty.battleMembers().concat($gameTroop.aliveMembers())
</D-Motion>

// アニメーション終了を待って実行
<D-Motion:delay>
plugin = tintBB12 255 255 255 255 255 255
</D-Motion>

ですが最初に設定したスキルの発動が無視されて暗転して攻撃に入ってしまいます。
記述の仕方が悪いのだと思いますがどなたか正しい書き方が分かる方居ましたら教えて頂けないでしょうか?

後、出来ればスキル発動のアニメーションを好きなものに指定したいのでそれも可能でしたら記述方法を教えて頂きたいです。

“MZ:質問” へ戻る