diff --git a/game/Custom.css b/game/Custom.css index 2600a070..4674d94b 100644 --- a/game/Custom.css +++ b/game/Custom.css @@ -253,3 +253,12 @@ label { #iSurfaceBackground .trophy:hover { filter: brightness(1.1); } + +@keyframes spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} diff --git a/game/images/Card/Plants/BoomWallNut.png b/game/images/Card/Plants/BoomWallNut.png index 58dbc51f..2777acc6 100644 Binary files a/game/images/Card/Plants/BoomWallNut.png and b/game/images/Card/Plants/BoomWallNut.png differ diff --git a/game/images/Plants/WallNut/1.webp b/game/images/Plants/WallNut/1.webp index 18f9bce5..2dbc6881 100644 Binary files a/game/images/Plants/WallNut/1.webp and b/game/images/Plants/WallNut/1.webp differ diff --git a/game/images/Plants/WallNut/BoomWallNut.webp b/game/images/Plants/WallNut/BoomWallNut.webp new file mode 100644 index 00000000..56a9115f Binary files /dev/null and b/game/images/Plants/WallNut/BoomWallNut.webp differ diff --git a/game/images/Plants/WallNut/BoomWallNutRoll.webp b/game/images/Plants/WallNut/BoomWallNutRoll.webp deleted file mode 100644 index 93a6f991..00000000 Binary files a/game/images/Plants/WallNut/BoomWallNutRoll.webp and /dev/null differ diff --git a/game/images/Plants/WallNut/HugeWallNutRoll.webp b/game/images/Plants/WallNut/HugeWallNutRoll.webp deleted file mode 100644 index 59e0526e..00000000 Binary files a/game/images/Plants/WallNut/HugeWallNutRoll.webp and /dev/null differ diff --git a/game/js/CPlants.js b/game/js/CPlants.js index db28beac..4fcab57a 100644 --- a/game/js/CPlants.js +++ b/game/js/CPlants.js @@ -4294,7 +4294,7 @@ BirthStyle: function (c, e, b, a) { PicArr: [ "images/Card/Plants/WallNut.png", "images/Plants/WallNut/0.webp", - "images/Plants/WallNut/WallNutRoll.webp", + "images/Plants/WallNut/WallNut.webp", ], AudioArr: ["bowling", "bowlingimpact", "bowlingimpact2"], Produce: "", @@ -4308,6 +4308,9 @@ BirthStyle: function (c, e, b, a) { PrivateBirth: function (c) { var d = $(c.id); PlayAudio("bowling"); + EditEle(d.childNodes[1], { + style: "animation: spin 0.75s linear infinite", + }); (function (z, y, q, r, p, x, e, g, b) { var a = z.R, l = z.C, @@ -4445,10 +4448,13 @@ BirthStyle: function (c, e, b, a) { PicArr: [ "images/Card/Plants/HugeWallNut.png", "images/Plants/WallNut/2.webp", - "images/Plants/WallNut/HugeWallNutRoll.webp", + "images/Plants/WallNut/2.webp", ], PrivateBirth: function (a) { PlayAudio("bowling"); + EditEle($(a.id).childNodes[1], { + style: "animation: spin 1.25s linear infinite", + }); (function (b, c, n, m, e, g) { var d = oZ.getArZ(n, m, e), f = d.length, @@ -4483,12 +4489,15 @@ BirthStyle: function (c, e, b, a) { PicArr: [ "images/Card/Plants/BoomWallNut.png", "images/Plants/WallNut/1.webp", - "images/Plants/WallNut/BoomWallNutRoll.webp", + "images/Plants/WallNut/BoomWallNut.webp", "images/Plants/CherryBomb/Boom.webp", ], AudioArr: ["cherrybomb", "bowling"], PrivateBirth: function (a) { PlayAudio("bowling"); + EditEle($(a.id).childNodes[1], { + style: "animation: spin 0.75s linear infinite", + }); (function (s, q, b, c, m) { var v = s.R, p = s.C, @@ -4501,6 +4510,9 @@ BirthStyle: function (c, e, b, a) { r = s.pixelLeft + 160, e, k; + EditEle($(a.id).childNodes[1], { + style: "", + }); PlayAudio("cherrybomb"); do { k = (e = oZ.getArZ(u, r, j)).length;