diff --git a/game/Custom.css b/game/Custom.css index 61eba8d..0757f72 100644 --- a/game/Custom.css +++ b/game/Custom.css @@ -38,7 +38,7 @@ } #sSunNum { font-family: "continuumbold" !important; - margin-top: -5px !important; + margin-top: -2px !important; } #DivTeach { width: 50% !important; @@ -379,20 +379,3 @@ td { transform: translate(0px, 0px); } } - -@keyframes threepeaterDown { /* threepeaterDown 1.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards */ - 0% { - transform: translateY(0px); - } - 100% { - transform: translateY(102px); - } -} -@keyframes threepeaterUp { /* threepeaterUp 1.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards */ - 0% { - transform: translateY(0px); - } - 100% { - transform: translateY(-102px); - } -} \ No newline at end of file diff --git a/game/js/CPlants.js b/game/js/CPlants.js index e7689ea..f02f17c 100644 --- a/game/js/CPlants.js +++ b/game/js/CPlants.js @@ -2000,17 +2000,18 @@ var CPlants = NewO({ f.BulletClass = []; f.BulletEle = []; for (b in c) { - let bullet = NewO({ - X: e, - R: f.R, - D: 0, - Attack: 20, - Kind: 0, - ChangeC: 0, - pixelLeft: d, - F: oGd.MB1, - }); - f.BulletClass.push(bullet); + f.BulletClass.push( + NewO({ + X: e, + R: b, + D: 0, + Attack: 20, + Kind: 0, + ChangeC: 0, + pixelLeft: d, + F: oGd.MB1, + }) + ); f.BulletEle.push( NewImg( 0, @@ -2018,11 +2019,12 @@ var CPlants = NewO({ "left:" + d + "px;top:" + - (GetY(f.R) - 65) + + (GetY(b) - 50) + "px;visibility:hidden;z-index:" + (3 * b + 2) ) ); +<<<<<<< HEAD if (b % 3 == 0) { f.BulletEle[f.BulletEle.length - 1].style.animation = `threepeaterDown ${(1.25 * $User.Visitor.TimeStep) / 10}s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards`; @@ -2030,6 +2032,8 @@ var CPlants = NewO({ f.BulletEle[f.BulletEle.length - 1].style.animation = `threepeaterUp ${(1.25 * $User.Visitor.TimeStep) / 10}s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards`; } +======= +>>>>>>> parent of 36a1799 (better threepeater bullets and sun position fix) } }, PrivateDie: function (a) {