Release Healer Man 0.1.43
This commit is contained in:
1 parent
c7e8163790
commit
ccc01396cd
86 files changed
+2951
-198
No files matched your search
@@ -13,7 +13,11 @@ function treeSigil(name: string): string {
|
||||
return name.split(/\s+/).map((word) => word[0]).join("").slice(0, 2).toUpperCase();
|
||||
}
|
||||
|
||||
export default function TalentGameplayPanel({ readOnly = false }: { readOnly?: boolean } = {}) {
|
||||
export default function TalentGameplayPanel({ readOnly = false, open, onClose }: {
|
||||
readOnly?: boolean;
|
||||
open?: boolean;
|
||||
onClose?: () => void;
|
||||
} = {}) {
|
||||
const classId = useCombatStore((state) => state.classId);
|
||||
const level = useCombatStore((state) => state.level);
|
||||
const talentRanks = useCombatStore((state) => state.talentRanks);
|
||||
@@ -45,5 +49,7 @@ export default function TalentGameplayPanel({ readOnly = false }: { readOnly?: b
|
||||
onInvest={(nodeId) => { if (!readOnly) useCombatStore.getState().allocateTalent(nodeId); }}
|
||||
onReset={() => { if (!readOnly) useCombatStore.getState().resetTalents(); }}
|
||||
readOnly={readOnly}
|
||||
open={open}
|
||||
onClose={onClose}
|
||||
/>;
|
||||
}
|
||||
Reference in new issue
Block a user