FIX: Monster bar
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m38s

This commit is contained in:
2025-07-25 11:30:19 +07:00
parent 13d27bb014
commit a649ec14ac
19 changed files with 159 additions and 38 deletions
+5 -2
View File
@@ -1,16 +1,19 @@
import { AvatarHakushiType } from '@/types';
import { AvatarHakushiType, EnemyHakushiType } from '@/types';
import { create } from 'zustand'
interface AvatarDataState {
listAvatar: AvatarHakushiType[];
listEnemy: EnemyHakushiType[];
setListAvatar: (list: AvatarHakushiType[]) => void;
setListEnemy: (list: EnemyHakushiType[]) => void;
}
const useAvatarDataStore = create<AvatarDataState>((set) => ({
listAvatar: [],
listEnemy: [],
setListAvatar: (list: AvatarHakushiType[]) => set({ listAvatar: list }),
setListEnemy: (list: EnemyHakushiType[]) => set({ listEnemy: list }),
}));
export default useAvatarDataStore;
+1 -1
View File
@@ -1,4 +1,4 @@
import { DamageType, AvatarAnalysisJson, UseSkillType, BattleBeginType, BattleEndType, DamageDetailType, EntityDefeatedType, SetBattleLineupType, TurnBeginType, TurnEndType, UpdateCycleType, UpdateWaveType, VersionType, StatType, StatChangeType, UpdateTeamFormationType } from '@/types';
import { DamageType, AvatarAnalysisJson, UseSkillType, BattleBeginType, BattleEndType, DamageDetailType, EntityDefeatedType, SetBattleLineupType, TurnBeginType, TurnEndType, UpdateCycleType, UpdateWaveType, VersionType, StatChangeType, UpdateTeamFormationType } from '@/types';
import { InitializeEnemyType } from '@/types/enemy';
import { AvatarBattleInfo, AvatarInfo, BattleDataStateJson, EnemyInfo, SkillBattleInfo, TurnBattleInfo } from '@/types/mics';
import { create } from 'zustand'