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

feat(战斗系统): 调整内伤机制和UI

修改子弹碰撞时生成内伤球的数量从1个增加到2个
更新武器描述文本,明确内伤转移机制
调整格挡对不同攻击类型的内伤效果
为武器UI添加升华按钮
This commit is contained in:
2026-05-10 13:13:06 +08:00
parent 1b3df9727a
commit 8f90bde510
3 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ func hitBullet(bullet: BulletBase): # 当前子弹与其他子弹相撞
bullet.tryDestroy()
bullet.launcher.velocity *= 0
generateParryBall(bullet.baseDamage)
InternalDamageBullet.generateBall(launcher, bullet.launcher, atk)
for i in 2:
InternalDamageBullet.generateBall(launcher, bullet.launcher, atk)
elif bullet.motionType == BulletBase.MotionType.BREATH:
penerateEffect(bullet.launcher, launcher.position)
bullet.launcher.impluse(Vector2.from_angle(bullet.rotation) * -500)