1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-02 17:31:55 +08:00

feat: 添加新的角色Hen,更新Chick角色的攻击逻辑,增强Boss状态条和子弹功能

This commit is contained in:
2025-08-26 14:47:12 +08:00
parent 5923660195
commit 51b3359e8d
11 changed files with 59 additions and 15 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func hit(target: Node):
var entity: EntityBase = EntityTool.fromHurtbox(target)
if !entity || !launcher: return
if entity == launcher: return
if GameRule.allowFriendlyFire:
if !GameRule.allowFriendlyFire:
if entity.isPlayer() == launcher.isPlayer(): return
entity.takeDamage(self, MathTool.rate(launcher.fields.get(FieldStore.Entity.CRIT_RATE)))
if !MathTool.rate(fullPenerate()):