mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-11 22:27:12 +08:00
feat(角色): 更新KukeMC角色资源与逻辑
添加KukeMC角色的新动画资源(pico-a.svg, pico-b.svg, pico-c.svg, pico-d.svg) 调整角色基础属性和技能逻辑: - 增加百分比生命值计算方法 - 修改攻击冷却时间和治疗机制 - 优化子弹生成逻辑 - 更新角色纹理和动画帧 - 调整碰撞框大小和位置
This commit is contained in:
@@ -4,7 +4,7 @@ class_name KukeChild
|
||||
var masterMine: KukeMC
|
||||
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 20
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 30
|
||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35
|
||||
attackCooldownMap[0] = 100
|
||||
attackCooldownMap[1] = 8000
|
||||
@@ -22,4 +22,4 @@ func attack(type):
|
||||
BulletBase.generate(ComponentManager.getBullet("HeavyCrystal"), self, findWeaponAnchor("normal"), position.angle_to_point(currentFocusedBoss.position))
|
||||
func kill():
|
||||
if is_instance_valid(masterMine):
|
||||
masterMine.tryHeal(100)
|
||||
masterMine.tryHeal(percentHealth(0.05))
|
||||
|
||||
Reference in New Issue
Block a user