1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(人物): 添加新角色cy的图片资源

fix(战斗): 调整Cat攻击伤害值从0.2降至0.01
refactor(动画): 简化EntityBase的受伤动画实现
perf(子弹): 优化ChickSprint伤害计算使用浮点数除法
This commit is contained in:
2025-11-22 09:33:36 +08:00
parent 85c4eac2aa
commit b83273c812
5 changed files with 55 additions and 57 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ func attack(type: int):
if type == 0:
for bullet in BulletBase.generate(ComponentManager.getBullet("ChickSprint"), self, position, 0):
if bullet is ChickSprint:
bullet.atk = 0.2
bullet.atk = 0.01
trySprint()
return true
func sprint():