mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 23:41:54 +08:00
feat(战斗系统): 添加箭矢命中效果并调整弓箭伤害
- 为箭矢添加命中时的血液粒子效果和音效 - 将弓箭的基础伤害从3降低到2 - 更新弓箭描述文本以反映伤害调整
This commit is contained in:
@@ -22,3 +22,6 @@ func ai():
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
if speed < 1:
|
||||
tryDestroy()
|
||||
func succeedToHit(_dmg: float, _entity: EntityBase):
|
||||
var effect = EffectController.create(ComponentManager.getEffect("ShootBlood"), position)
|
||||
effect.shot()
|
||||
|
||||
Reference in New Issue
Block a user