diff --git a/components/CharacterCards/MuyangDog.tscn b/components/CharacterCards/MuyangDog.tscn index a89abc8..f63bb07 100644 --- a/components/CharacterCards/MuyangDog.tscn +++ b/components/CharacterCards/MuyangDog.tscn @@ -17,11 +17,12 @@ corner_detail = 1 [node name="MuyangDog" unique_id=1046363300 instance=ExtResource("1_wq25g")] theme_override_styles/panel = SubResource("StyleBoxFlat_fi2nw") displayName = "牧羊犬" -slogan = "以身挡险,恪守使命不离不弃" +slogan = "恪守使命不离不弃" avatar = ExtResource("2_fi2nw") description = "每3秒发动格挡,弹反一切子弹。" fields = Array[int]([0, 8, 3]) fieldValues = Array[float]([50.0, 0.15, -0.2]) +clickToRebuild = true [node name="avatarTexture" parent="wrapper" parent_id_path=PackedInt32Array(2023039659) index="0" unique_id=1334645594] texture = ExtResource("2_fi2nw") @@ -30,7 +31,7 @@ texture = ExtResource("2_fi2nw") text = "牧羊犬" [node name="sloganLabel" parent="wrapper/infoContainer/VBoxContainer" parent_id_path=PackedInt32Array(533915880) index="1" unique_id=280562204] -text = "“以身挡险,恪守使命不离不弃”" +text = "“恪守使命不离不弃”" [node name="descriptionLabel" parent="wrapper/infoContainer" parent_id_path=PackedInt32Array(143242635) index="1" unique_id=808054282] text = "每3秒发动格挡,弹反一切子弹。" diff --git a/scripts/Statemachine/EntityBase.gd b/scripts/Statemachine/EntityBase.gd index d3e0761..2305218 100644 --- a/scripts/Statemachine/EntityBase.gd +++ b/scripts/Statemachine/EntityBase.gd @@ -448,7 +448,8 @@ func tryDie(by: BulletBase = null): UIState.showTip("[b]%s[/b] 已被打败!" % displayName, TipBox.MessageType.CONGRATULATION) elif isPlayer(): UIState.showTip("[b]%s[/b] 似了😭。" % displayName, TipBox.MessageType.ERROR) - queue_free() + if !isPlayer(): + queue_free() func tryHeal(count: float): playSound("heal") healed.emit(heal(count * fields.get(FieldStore.Entity.HEAL_ABILITY)))