From 396df1140a2dfdf1cd8ee5e83eb0735ad71e3d1e Mon Sep 17 00:00:00 2001 From: Shriansh Chari <30420527+shrianshChari@users.noreply.github.com> Date: Sat, 26 Oct 2024 17:41:46 -0400 Subject: [PATCH 1/2] Mighty Cleave animation first draft --- .../src/battle-animations-moves.ts | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/play.pokemonshowdown.com/src/battle-animations-moves.ts b/play.pokemonshowdown.com/src/battle-animations-moves.ts index f80971cb8b..21288f7d93 100644 --- a/play.pokemonshowdown.com/src/battle-animations-moves.ts +++ b/play.pokemonshowdown.com/src/battle-animations-moves.ts @@ -36393,6 +36393,79 @@ export const BattleMoveAnims: AnimTable = { }, 'linear', 'fade', {filter: 'hue-rotate(180deg)'}); }, }, + mightycleave: { + anim(scene, [attacker, defender]) { + scene.showEffect('sword', { + x: attacker.leftof(-10), + y: attacker.y - 10, + z: attacker.z, + scale: 0.5, + opacity: 1, + }, { + y: attacker.y + 10, + scale: 1, + opacity: 0.4, + time: 300, + }, 'decel', 'fade'); + attacker.delay(300); + attacker.anim({ + x: defender.x, + y: defender.y, + z: defender.behind(70), + time: 300, + opacity: 0.5, + }, 'accel'); + attacker.anim({ + x: defender.x, + y: defender.x, + z: defender.behind(100), + opacity: 0, + time: 100, + }, 'linear'); + attacker.anim({ + x: attacker.x, + y: attacker.y, + z: attacker.behind(70), + opacity: 0, + time: 1, + }, 'linear'); + attacker.anim({ + opacity: 1, + time: 500, + }, 'decel'); + scene.showEffect('iceball', { + x: defender.x, + y: defender.y, + z: defender.z, + time: 500, + scale: 0.8, + opacity: 0.8, + }, { + time: 760, + scale: 1, + opacity: 0.4, + }, 'accel', 'explode', {filter: 'hue-rotate(180deg)'}); + scene.showEffect('leftslash', { + x: defender.x, + y: defender.y, + z: defender.z, + scale: 1.5, + time: 500, + }, { + scale: 2, + opacity: 0, + time: 760, + }, 'accel', 'fade'); + defender.delay(760); + defender.anim({ + z: defender.behind(30), + time: 100, + }, 'swing'); + defender.anim({ + time: 300, + }, 'swing'); + }, + }, }; // placeholder animations From f1afeabdfd80c6d3feb9e4cc6b31b957b17d96a0 Mon Sep 17 00:00:00 2001 From: Shriansh Chari <30420527+shrianshChari@users.noreply.github.com> Date: Sun, 27 Oct 2024 15:36:59 -0400 Subject: [PATCH 2/2] Give the slash a big streak --- .../src/battle-animations-moves.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/play.pokemonshowdown.com/src/battle-animations-moves.ts b/play.pokemonshowdown.com/src/battle-animations-moves.ts index 21288f7d93..72c4c62151 100644 --- a/play.pokemonshowdown.com/src/battle-animations-moves.ts +++ b/play.pokemonshowdown.com/src/battle-animations-moves.ts @@ -36438,14 +36438,16 @@ export const BattleMoveAnims: AnimTable = { y: defender.y, z: defender.z, time: 500, - scale: 0.8, + xscale: 1.2, + yscale: 0.4, opacity: 0.8, }, { time: 760, - scale: 1, + xscale: 1.4, + yscale: 0.6, opacity: 0.4, - }, 'accel', 'explode', {filter: 'hue-rotate(180deg)'}); - scene.showEffect('leftslash', { + }, 'accel', 'explode', {filter: 'hue-rotate(180deg)', rotate: '-45deg'}); + scene.showEffect('rightslash', { x: defender.x, y: defender.y, z: defender.z,