mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-04 09:12:13 +08:00
fix: 调整KukeChild治疗量和KukeMC生成数量
减少KukeChild对masterMine的治疗量从200降至50,避免过度治疗 调整KukeMC生成子体的随机范围下限从15降至5,增加战斗变化性
This commit is contained in:
@@ -11,7 +11,7 @@ func ai():
|
|||||||
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
||||||
tryAttack(0)
|
tryAttack(0)
|
||||||
if timeLived() > 8000:
|
if timeLived() > 8000:
|
||||||
masterMine.tryHeal(200)
|
masterMine.tryHeal(50)
|
||||||
tryDie(null)
|
tryDie(null)
|
||||||
func attack(type):
|
func attack(type):
|
||||||
if type == 0:
|
if type == 0:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ func spawn():
|
|||||||
var child = EntityBase.generate(load("res://components/Characters/KukeChild.tscn"), position + MathTool.randv2_range(500))
|
var child = EntityBase.generate(load("res://components/Characters/KukeChild.tscn"), position + MathTool.randv2_range(500))
|
||||||
child.currentFocusedBoss = currentFocusedBoss
|
child.currentFocusedBoss = currentFocusedBoss
|
||||||
child.masterMine = self
|
child.masterMine = self
|
||||||
for i in randi_range(15, 25):
|
for i in randi_range(5, 25):
|
||||||
BulletBase.generate(preload("res://components/Bullets/PurpleCrystal.tscn"), self, findWeaponAnchor("normal"), deg_to_rad(randf_range(0, 360)))
|
BulletBase.generate(preload("res://components/Bullets/PurpleCrystal.tscn"), self, findWeaponAnchor("normal"), deg_to_rad(randf_range(0, 360)))
|
||||||
await TickTool.millseconds(randi_range(0, 50))
|
await TickTool.millseconds(randi_range(0, 50))
|
||||||
func ai():
|
func ai():
|
||||||
|
|||||||
Reference in New Issue
Block a user