mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-05 19:27:15 +08:00
fix: 修改测试模式和子弹碰撞逻辑
在测试模式下使用正式关卡数据而非玩笑数据 添加子弹碰撞时发射器后坐力效果
This commit is contained in:
@@ -29,6 +29,7 @@ func hitBullet(bullet: BulletBase): # 当前子弹与其他子弹相撞
|
||||
eff.rotation = position.angle_to_point(bullet.position)
|
||||
eff.shot()
|
||||
CameraManager.shake(200, 250)
|
||||
launcher.position -= (bullet.position - position).normalized() * 50
|
||||
# 摧毁其他子弹
|
||||
bullet.tryDestroy()
|
||||
var cycler = launcher.getOrCreateCycleTimer("parry", 2000, 100)
|
||||
|
||||
@@ -50,7 +50,7 @@ static var WAVE_JUSTJOKE = [
|
||||
Wave.create("Kernyr", 0, 0, true, 0, INF, 1),
|
||||
]
|
||||
static var WAVE_EMPTY = []
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_JUSTJOKE
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_NORMAL
|
||||
|
||||
static func create(
|
||||
entity_: String,
|
||||
|
||||
Reference in New Issue
Block a user