mirror of
https://github.com/motajs/template.git
synced 2026-11-02 23:14:34 +08:00
chore: 调整勇士属性接口
This commit is contained in:
1 parent
566ffc586a
commit
02bf39a62d
4 files changed
+37
-10
No files matched your search
@@ -11,7 +11,7 @@ export function patchHero(state: ICoreState) {
|
||||
logger.warn(56, 'core.status.hero', 'state.hero');
|
||||
target[p] = newValue;
|
||||
// @ts-expect-error 旧样板无法处理此类型
|
||||
attr.setBaseAttribute(p, newValue);
|
||||
attr.set(p, newValue);
|
||||
return true;
|
||||
},
|
||||
get(_, p) {
|
||||
|
||||
Reference in new issue
Block a user