mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 23:41:54 +08:00
95db9deb3c
实现新的矢量星武器系统,包括武器卡片、子弹行为和粒子效果。主要功能包括: - 添加VectorStarWeapon.gd武器脚本,支持多子弹发射和追踪目标 - 实现VectorStar.gd子弹脚本,包含初始冲刺和后续追踪逻辑 - 添加相关场景资源和配置 - 将新武器添加到公鸡角色的武器库中
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bb1uh8k7gkhr7"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_tmgup"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Weapons/VectorStarWeapon.gd" id="2_1dfg4"]
|
|
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="3_wfty8"]
|
|
|
|
[node name="VectorStar" instance=ExtResource("1_tmgup")]
|
|
script = ExtResource("2_1dfg4")
|
|
avatarTexture = ExtResource("3_wfty8")
|
|
displayName = "星辰核心"
|
|
quality = 2
|
|
store = {
|
|
"atk": 5,
|
|
"forwardtime": 1,
|
|
"maxcount": 6,
|
|
"mincount": 3
|
|
}
|
|
storeType = Array[int]([0, 0, 0, 0])
|
|
descriptionTemplate = "发射$mincount~$maxcount个[b]无主的矢量星[/b],在$forwardtime秒后向目标冲刺并造成$atk点伤害。"
|
|
needEnergy = 20.0
|
|
|
|
[node name="avatar" parent="container/info" index="0"]
|
|
texture = ExtResource("3_wfty8")
|
|
|
|
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
|
|
text = "20.0"
|
|
|
|
[node name="name" parent="container/info" index="2"]
|
|
displayName = "星辰核心"
|
|
quality = 2
|
|
|
|
[node name="description" parent="container" index="2"]
|
|
text = "[center]发射[color=cyan]3.0[/color]~[color=cyan]6.0[/color]个[b]无主的矢量星[/b],在[color=cyan]1.0[/color]秒后向目标冲刺并造成[color=cyan]5.0[/color]点伤害。[/center]"
|