add new content end game
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 2m2s

This commit is contained in:
2025-08-15 21:29:41 +07:00
parent f40a403ea2
commit 55f1415e2f
51 changed files with 67356 additions and 2765 deletions

View File

@@ -174,6 +174,7 @@ export default function AvatarInfo() {
<button
className="btn btn-sm btn-outline btn-warning"
onClick={() => {
if (!avatars[avatarSelected?.id || ""]?.can_change_sp) return
const newSpValue = Math.ceil(avatars[avatarSelected?.id || ""]?.sp_max / 2);
const newAvatar = { ...avatars[avatarSelected?.id || ""], sp_value: newSpValue }
setAvatar(newAvatar)