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

fix(boss): 调整熊boss的攻击伤害和阶段属性

降低熊boss所有攻击技能的伤害值,并重新设计阶段属性
调整ArrowSeven子弹的材质和位置
添加1%概率直接进入阶段2的机制
This commit is contained in:
2025-09-30 18:44:15 +08:00
parent bd7b951e5d
commit f2d11a495f
6 changed files with 23 additions and 13 deletions
+13 -3
View File
@@ -23,15 +23,25 @@ func register():
func spawn():
texture.play("walk")
mask.visible = false
if MathTool.rate(0.01):
setStage(2)
func ai():
PresetEntityAI.follow(self, currentFocusedBoss, 400)
for i in len(attackCooldownMap.keys()):
tryAttack(i)
func enterStage(stage):
mask.visible = !!stage
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.75
fields[FieldStore.Entity.DAMAGE_MULTIPILER] = 1.5
fields[FieldStore.Entity.ATTACK_SPEED] = 2
if stage == 0:
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5
fields[FieldStore.Entity.DAMAGE_MULTIPILER] = 1
fields[FieldStore.Entity.ATTACK_SPEED] = 1
elif stage == 1:
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.6
fields[FieldStore.Entity.DAMAGE_MULTIPILER] = 1.15
fields[FieldStore.Entity.ATTACK_SPEED] = 1.15
elif stage == 2:
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.25
fields[FieldStore.Entity.DAMAGE_MULTIPILER] = 9999
await TickTool.millseconds(2000)
func attack(type):
var weaponPos = findWeaponAnchor("normal")