mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 08:21:54 +08:00
feat(角色): 添加熊boss的新攻击方式和音效
添加熊boss的四种攻击方式: 1. 箭雨攻击(ArrowSeven) 2. 太阳舞攻击(SunDance) 3. 永恒彩虹攻击(ForeverRainbow) 4. 冲刺攻击(BearSprint) 新增对应攻击音效资源 调整子弹追踪和伤害计算逻辑 添加冲刺粒子特效
This commit is contained in:
@@ -100,7 +100,7 @@ func playSound(sound: String):
|
||||
func tryAttack(entity: EntityBase):
|
||||
if cooldownTimer.start():
|
||||
if entity.useEnergy(needEnergy):
|
||||
return attack(entity)
|
||||
return await attack(entity)
|
||||
|
||||
# 抽象
|
||||
func update(_to: int, origin: Dictionary, _entity: EntityBase):
|
||||
|
||||
Reference in New Issue
Block a user