mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-08 11:07:06 +08:00
fix: 调整KukeChild的攻击冷却和治疗数值
将攻击0的冷却时间从500降低至200,并将治疗量从200减少至100,以平衡游戏难度
This commit is contained in:
@@ -5,14 +5,14 @@ var masterMine: KukeMC
|
|||||||
func register():
|
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] = 500
|
attackCooldownMap[0] = 200
|
||||||
attackCooldownMap[1] = 2000
|
attackCooldownMap[1] = 2000
|
||||||
func ai():
|
func ai():
|
||||||
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
PresetEntityAI.follow(self, currentFocusedBoss, 700)
|
||||||
tryAttack(0)
|
tryAttack(0)
|
||||||
tryAttack(1)
|
tryAttack(1)
|
||||||
if timeLived() > 8000:
|
if timeLived() > 8000:
|
||||||
masterMine.tryHeal(200)
|
masterMine.tryHeal(100)
|
||||||
tryDie(null)
|
tryDie(null)
|
||||||
func attack(type):
|
func attack(type):
|
||||||
if type == 0:
|
if type == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user