diff --git a/assets/script/game/common/config/heros.md b/assets/script/game/common/config/heros.md index 96589d44..0a2522ff 100644 --- a/assets/script/game/common/config/heros.md +++ b/assets/script/game/common/config/heros.md @@ -85,3 +85,6 @@ 怪物和boss 不配置 call fstart fend技能,通过skills多技能触发 ## 4 流派初步 +数值型: 主要强化ap 和 hp,辅助其他特殊技能 +技能型: 主要强化技能 范围伤害,穿刺,多目标,风怒 范围攻击的范围+大 等 +控制型: 主要强化 冰冻+击退 \ No newline at end of file diff --git a/assets/script/game/map/HInfoComp.ts b/assets/script/game/map/HInfoComp.ts index dd513708..cb1ecea9 100644 --- a/assets/script/game/map/HInfoComp.ts +++ b/assets/script/game/map/HInfoComp.ts @@ -19,7 +19,7 @@ * - Hero —— 英雄 ECS 实体类(用于出售删除) * - UIID.IBox —— 英雄详情弹窗 ID */ -import { _decorator, Animation, AnimationClip, Button, Event, Label, Node, NodeEventType, Sprite, resources } from "cc"; +import { _decorator, Animation, AnimationClip, Button, Event, Label, Node, NodeEventType, Sprite, resources, CCInteger } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { HeroInfo } from "../common/config/heroSet"; @@ -63,7 +63,7 @@ export class HInfoComp extends CCComp { @property(Node) lv_node=null! - @property(Number) + @property(CCInteger) node_index=0 /** 绑定的英雄 ECS 实体 ID */