mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
feat(子弹): 调整子弹属性和添加粒子效果
- 提高FireScan子弹的速度和伤害 - 修改Chick角色的攻击距离判定 - 调整ChickLaser的碰撞区域位置 - 将FireScan的碰撞形状改为矩形 - 为Diamond子弹添加粒子效果系统
This commit is contained in:
@@ -14,9 +14,9 @@ func register():
|
||||
|
||||
func ai():
|
||||
move(currentFocusedBoss.position - position)
|
||||
if currentFocusedBoss.position.distance_to(position) < 200:
|
||||
if currentFocusedBoss.position.distance_to(position) < 300:
|
||||
tryAttack(2)
|
||||
elif currentFocusedBoss.position.distance_to(position) < 500:
|
||||
elif currentFocusedBoss.position.distance_to(position) < 700:
|
||||
tryAttack(1)
|
||||
else:
|
||||
tryAttack(0)
|
||||
|
||||
Reference in New Issue
Block a user