chore: 调整hero配置注释并修复属性类型
1. 新增三种英雄流派的配置说明文档 2. 将HInfoComp中的Number属性类型替换为CCInteger
This commit is contained in:
@@ -85,3 +85,6 @@
|
||||
怪物和boss 不配置 call fstart fend技能,通过skills多技能触发
|
||||
|
||||
## 4 流派初步
|
||||
数值型: 主要强化ap 和 hp,辅助其他特殊技能
|
||||
技能型: 主要强化技能 范围伤害,穿刺,多目标,风怒 范围攻击的范围+大 等
|
||||
控制型: 主要强化 冰冻+击退
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user