mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-30 07:51:54 +08:00
fix: 修复测试模式下使用错误波次数据的问题并调整格挡效果
调整波次数据在测试模式下使用正常波次而非测试波次,避免潜在问题 修改格挡特效动画轨道,增加隐藏方法调用 调整格挡子弹生成位置距离
This commit is contained in:
@@ -21,11 +21,14 @@ tracks/0/path = NodePath("%stage/../texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"times": PackedFloat32Array(0, 0.8),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"values": [{
|
||||
"args": [&"default", 1.0, false],
|
||||
"method": &"play"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"hide"
|
||||
}]
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ class_name ParrierBullet
|
||||
func hitBullet(bullet: BulletBase):
|
||||
if BulletTool.canDamage(bullet, launcher):
|
||||
if MathTool.rate(parryRate):
|
||||
var eff = EffectController.create(ComponentManager.getEffect("Parry"), position + (bullet.position - position).normalized() * 100)
|
||||
var eff = EffectController.create(ComponentManager.getEffect("Parry"), position + (bullet.position - position).normalized() * 120)
|
||||
eff.modulate = bullet.modulate
|
||||
eff.shot()
|
||||
bullet.tryDestroy()
|
||||
|
||||
@@ -47,7 +47,7 @@ static var WAVE_TESTBOSS_CHICK = [
|
||||
Wave.create("Chick", 0, 0, true, 0, INF, 10),
|
||||
]
|
||||
static var WAVE_EMPTY = []
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_TESTBOSS_BEAR
|
||||
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_NORMAL
|
||||
|
||||
static func create(
|
||||
entity_: String,
|
||||
|
||||
Reference in New Issue
Block a user