- 「Set Movement Route」の2つ:プレイヤーへの行と待機:ラムのヒットでは6番と同じ問題があったので、修正は6の下に1回だけ書きました。あなたのラムのスクリーンショットには含まれているので、それは完了です。
- 動きます。ロック行の下にある「Wait: 5 frames」は外しても大丈夫です。ロックは内部に待機を含む「Set Movement Route」全体を置き換えます。単独の「Wait」コマンドは、敵のページを6の場合と同じように駐車しますが、5フレームの間だけです。そして、準備動作が約10フレームになります(元は5)。もっと長くしたい場合、「SV: Windup = 10」を設定すると、ページの停止なしでそれを実現できます。
「If: SV: Distance = 1」と turnTowardPlayer() 行は、距離行と ENEMY SWING の間にありましたが、これも含まれていませんでした。これは主に準備動作中に敵の別の側面に回り込んだ場合にのみ気づくでしょう(速度ブースト時に発生します)。ヒットは依然として成立しますが(あなたがまだ隣にいるため)、スイングはあなたがいた方向を向いて発動します。
- 両方とも正しく読めます。
残りの動きについては、これまでに確認できたものすべてを書き出しました。これが Forms 1, 2, 7 の A と、Forms 1, 2, 4, 6 の S です。
すべての S 動きは同じように機能します。敵は自分のタイル上にコピーをスポーンし(Enemy Swing のように)、そのコピーは爆発を再生し、毎フレーム自分であなたをチェックします。こうすることで敵はループに戻り続け、爆発中でもダメージを受けることができます。各コピーは、あなたが半分より多く覆った瞬間に1回ヒットします。これはあなたの攻撃が敵に対して適用するルールと同じです。どのコピーもあなたを押しません。
ロール操作中、SV: Atk Cooldown = 60 行は MOVESET コールの前に移動され、各 MOVESET が独自の設定を行えるようになり、各フォームごとに個別の If 文が設けられます:
: Else
◆Control Variables: #0269 SV: Atk Cooldown = 60
◆If: SV: Enemy moveset = 1
◆Common Event: MOVESET 1
◆End
◆If: SV: Enemy moveset = 2
◆Common Event: MOVESET 2
◆End
◆If: SV: Enemy moveset = 3
◆Common Event: MOVESET 3
◆End
◆If: SV: Enemy moveset = 4
◆Common Event: MOVESET 4
◆End
◆If: SV: Enemy moveset = 6
◆Common Event: MOVESET 6
◆End
◆If: SV: Enemy moveset = 7
◆Common Event: MOVESET 7
◆End
◆End
SV: Base ATK、SV: Base DEF、および SV: Boost Timer は新しい自己変数です。これらはセットアップ時の各 Max HP 行の隣に配置します:
◆Control Variables: #0XXX SV: Base ATK = SV: This Event ATK
◆Control Variables: #0XXX SV: Base DEF = SV: This Event DEF
そして、他のカウントダウンの隣にこれを配置し、ブーストタイマーが切れたらブーストが解除されるようにします:
◆If: SV: Boost Timer > 0
◆Control Variables: #0XXX SV: Boost Timer -= 1
◆If: SV: Boost Timer = 0
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆End
◆End
Hazard ID、Hazard ATK、Hazard Damage、および Hazard Def は新しい通常変数です。次に、トリガーが None の新しいコモンイベントが2つあります。ENEMY HAZARD はコピーをスポーンし、敵の ATK を渡します。XXX は Hazard ID の変数番号、YYY は Hazard ATK の変数番号です:
◆Script: const e = this.character(0);
Galv.SPAWN.event($gameVariables.value(XXX), 'xy', [e.x, e.y], 'all', false);
const s = $gameMap.event($gameMap._lastSpawnEventId);
s.setDirection(e.direction());
s._atk = $gameVariables.value(YYY);
HAZARD CHECK は、各コピーが毎フレーム実行する処理です。最初の Hazard Damage 行の演算子は、Distance 行と同様に Script に設定されています:
◆If: Script: !this.character(0)._hit && Math.abs($gamePlayer._realX - this.character(0)._realX) + Math.abs($gamePlayer._realY - this.character(0)._realY) < 0.5
◆Script: this.character(0)._hit = true;
◆Control Variables: #0XXX Hazard Damage = this.character(0)._atk
◆Control Variables: #0XXX Hazard Damage *= 130
◆Control Variables: #0XXX Hazard Def = Player DEF
◆Control Variables: #0XXX Hazard Def += 100
◆Control Variables: #0XXX Hazard Damage /= Hazard Def
◆Control Variables: #0228 Player HP -= Hazard Damage
◆Script: $gamePlayer.setBlendMode(1);
◆Control Variables: #0293 Player Flash = 30
◆Common Event: DAMAGE SFX
◆Common Event: SCREENSHAKE SMALL
◆End
その後、SPAWN マップ上で:
- Enemy Swing の直後に4つの新しいイベントを作成し、ID 2, 3, 4, 5 を取得させます
- 4つすべてに Through ON、Direction Fix OFF、Priority: Above characters、Trigger: Parallel を設定し、画像はそのフォームの爆発が使用するグラフィックに設定します。Form 2 のものはさらに Stepping Animation ON も設定します
- 4つすべてに同じコマンドを設定し、ルートの上の部分だけが異なります:
◆Set Movement Route: This Event (Skip)
(以下のリストからのその爆発のルート)
◆Loop
◆Common Event: HAZARD CHECK
◆If: Script: !this.character(0).isMoveRouteForcing()
◆Break Loop
◆End
◆Wait: 1 frame
◆Repeat Above
◆Script: Galv.SPAWN.unspawn(this);
そのルートでは Skip If Cannot Move がオン、Wait for Completion がオフになっています。これにより、爆発が再生されている間もループであなたをチェックし続け、ルートが終了するとループも終了します。4つのルート:
ID 2, Form 1 爆発
: SE: Maris Haven SFX/Fighting/BSFX SMACK (100, 100, 0)
: Speed: 6
: 1 Step Forward
: 1 Step Forward
ID 3, Form 2 爆発
: Speed: 6
: 1 Step Forward
: SE: Maris Haven SFX/Fighting/BSFX BIG HIT 2 (100, 100, 0)
: Opacity: 200
: Wait: 60 frames
: Opacity: 150
: Wait: 5 frames
: Opacity: 100
: Wait: 5 frames
: Opacity: 50
: Wait: 5 frames
ID 4, Form 4 爆発
: SE: Maris Haven SFX/Fighting/BSFX SMACK (100, 100, 0)
: Speed: 5
(Form 4 爆発と同じ数の 1 Step Forward 行)
ID 5, Form 6 ワンダー
: Speed: 5
(Form 6 ワンダールートからの7つの Script 行)
: SE: Maris Haven SFX/Fighting/BSFX DING (90, 100, 0)
MOVESETs はすべて MOVESET 3 のように Trigger: None です。それぞれの MOVESET で、ロックは Basic の場合と同様に Atk Cooldown = 50 で解除されるため、独自のアンロック行は必要ありません。
MOVESET 1:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event ATK *= 150
◆Control Variables: #0XXX SV: This Event ATK /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: SE: Maris Haven SFX/Fighting/BSFX QUICK HIT (100, 100, 0)
: Jump: +0, +0
: Blend Mode: Normal
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 2
◆Common Event: ENEMY HAZARD
◆End
MOVESET 2:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆Control Variables: #0XXX SV: This Event DEF *= 150
◆Control Variables: #0XXX SV: This Event DEF /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Control Variables: #0269 SV: Atk Cooldown = 140
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: SE: Maris Haven SFX/Fighting/BSFX RISING (100, 150, 0)
: 1 Step Backward
: Speed: 6
: 1 Step Forward
: Speed: 4
: Blend Mode: Normal
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 3
◆Common Event: ENEMY HAZARD
◆End
140 は、爆発が発動してから約90フレーム保持します。これは yours がフェードアウトするまでの時間とほぼ同等であり、yours の間凍結されるのと同じ方法です。
MOVESET 4:
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: Wait: 10 frames
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 4
◆Common Event: ENEMY HAZARD
◆Set Movement Route: This Event (Skip, Wait)
: Speed: 6
: 1 Step Backward
: Blend Mode: Normal
: Speed: 4
◆End
MOVESET 6 は、Hazard ID = 5 の MOVESET 4 のコピーで、Common Event: ENEMY HAZARD の直上に Play SE: Maris Haven SFX/Fighting/BSFX SHRILL が追加されています。 yours は即座に発射されますが、敵は specials をロールするのはあなたがすぐ隣にいるときだけなので、これら2つにラムの10フレーム点滅を先に行いました。これであなたはラインから逃げるための猶予が生まれます。
MOVESET 7:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event ATK *= 150
◆Control Variables: #0XXX SV: This Event ATK /= 100
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆Control Variables: #0XXX SV: This Event DEF *= 65
◆Control Variables: #0XXX SV: This Event DEF /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
Form 7 と Form 8 の S ブロックのスクリーンショットを投稿してもらえますか? これらは私がまだ見ていない2つで、それぞれ SPAWN マップ上のコピーが1つ増えることになります。Form 4, 6, 8 の A は何を行いますか? これらが整うまで、これらのフォームを持つ敵は A をロールした際にスイングをスキップします(以前と同じです)。
Form 5 が何を意図しているかもまだ見ていないと思います。もしあなたの問題リストで行ったように A と S を説明してくだされば、プレイヤー側と敵側の両方を一緒に書くことができます。