feat(hero): 为英雄系统添加复活机制
- 在 HeroAttrsComp 中增加 `is_revived` 字段以追踪已复活次数 - 修改 HeroViewComp 的 `scheduleRevive` 方法,使其能播放复活技能的准备动画并立即触发复活 - 在 heroInfo 接口中新增 `revive` 配置项,用于定义英雄的复活技能 - 在 SkillSet 中添加新的复活技能配置(uuid: 6501) - 新增 hero-roster.md 的元数据配置文件
This commit is contained in:
11
assets/script/game/common/config/hero-roster.md.meta
Normal file
11
assets/script/game/common/config/hero-roster.md.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"importer": "text",
|
||||
"imported": true,
|
||||
"uuid": "c86bee35-69d7-43a9-ab1a-967c1e4f08a8",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user