mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-02 08:12:12 +08:00
fix(战斗平衡): 调整角色和子弹的攻击冷却时间及参数
修改KukeChild和KukeMC的攻击冷却时间,优化HeavyCrystal子弹的追踪逻辑 减少KukeMC技能2的分支数量范围,从2-4调整为1-3
This commit is contained in:
@@ -9,7 +9,7 @@ func register():
|
|||||||
func ai():
|
func ai():
|
||||||
if timeLived() < readyTime:
|
if timeLived() < readyTime:
|
||||||
PresetBulletAI.lockLauncher(self, launcher, true)
|
PresetBulletAI.lockLauncher(self, launcher, true)
|
||||||
rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.position)
|
rotation = launcher.position.angle_to_point(launcher.currentFocusedBoss.getTrackingAnchor())
|
||||||
hitbox.disabled = true
|
hitbox.disabled = true
|
||||||
else:
|
else:
|
||||||
damage = speed / 4
|
damage = speed / 4
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ func register():
|
|||||||
fields[FieldStore.Entity.MAX_HEALTH] = 25
|
fields[FieldStore.Entity.MAX_HEALTH] = 25
|
||||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35
|
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.35
|
||||||
attackCooldownMap[0] = 200
|
attackCooldownMap[0] = 200
|
||||||
attackCooldownMap[1] = 2000
|
attackCooldownMap[1] = 3500
|
||||||
func ai():
|
func ai():
|
||||||
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
||||||
tryAttack(0)
|
tryAttack(0)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ func register():
|
|||||||
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5
|
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.5
|
||||||
attackCooldownMap[0] = 2000
|
attackCooldownMap[0] = 2000
|
||||||
attackCooldownMap[1] = 5000
|
attackCooldownMap[1] = 5000
|
||||||
attackCooldownMap[2] = 6000
|
attackCooldownMap[2] = 20000
|
||||||
attackCooldownMap[3] = 2000
|
attackCooldownMap[3] = 2000
|
||||||
inventory[ItemStore.ItemType.APPLE] = INF
|
inventory[ItemStore.ItemType.APPLE] = INF
|
||||||
func ai():
|
func ai():
|
||||||
@@ -32,7 +32,7 @@ func attack(type):
|
|||||||
child.masterMine = self
|
child.masterMine = self
|
||||||
elif type == 2:
|
elif type == 2:
|
||||||
var countOfBullet = randi_range(40, 50)
|
var countOfBullet = randi_range(40, 50)
|
||||||
var countOfBranch = randi_range(2, 4)
|
var countOfBranch = randi_range(1, 3)
|
||||||
for bulletIndex in countOfBullet:
|
for bulletIndex in countOfBullet:
|
||||||
for branchIndex in countOfBranch:
|
for branchIndex in countOfBranch:
|
||||||
fields[FieldStore.Entity.OFFSET_SHOOT] = 0
|
fields[FieldStore.Entity.OFFSET_SHOOT] = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user