Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonTDM authored and actions-user committed Oct 12, 2024
1 parent 36a1799 commit a505d9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions game/js/CPlants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2024,9 +2024,11 @@ var CPlants = NewO({
)
);
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`;
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`;
} else if (b % 3 == 1) {
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`;
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`;
}
}
},
Expand Down

0 comments on commit a505d9c

Please sign in to comment.