mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
3a32d2af25
- 为BigLaser和PurpleCrystal武器添加@tool注解 - 重构LGBTWeapon的攻击逻辑,支持多角度子弹发射 - 更新LGBT武器的配置属性和描述模板 - 将Rooster角色的武器从BigLaser替换为LGBT武器
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://wl8u5m52708w"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_jwtmd"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Weapons/LGBTWeapon.gd" id="2_0tyah"]
|
|
[ext_resource type="Texture2D" uid="uid://cwfyi61xkt4bt" path="res://resources/weapons/lgbt.jpeg" id="2_ou6jo"]
|
|
|
|
[node name="LGBT" instance=ExtResource("1_jwtmd")]
|
|
offset_bottom = 346.0
|
|
script = ExtResource("2_0tyah")
|
|
avatarTexture = ExtResource("2_ou6jo")
|
|
displayName = "彩虹旗"
|
|
quality = 4
|
|
costs = Array[int]([0, 1])
|
|
costCounts = Array[int]([200, 100])
|
|
store = {
|
|
"angle": 15.0,
|
|
"atk": 20,
|
|
"count": 7.0,
|
|
"power": 0.3,
|
|
"trace": 2.0
|
|
}
|
|
storeType = Array[int]([0, 0, 1, 0, 2])
|
|
descriptionTemplate = "发射$count条,每条间分隔$angle,可追踪$trace秒,效率为$power的带状彩虹,每条造成$atk点伤害。"
|
|
needEnergy = 150.0
|
|
debugRebuild = true
|
|
|
|
[node name="avatar" parent="container/info" index="0"]
|
|
texture = ExtResource("2_ou6jo")
|
|
|
|
[node name="energy" parent="container/info/energyInfo" index="1"]
|
|
text = "150.0"
|
|
|
|
[node name="name" parent="container/info" index="2"]
|
|
displayName = "彩虹旗"
|
|
quality = 4
|
|
|
|
[node name="description" parent="container" index="2"]
|
|
size_flags_vertical = 3
|
|
text = "[center]发射[color=cyan]7.0[/color]条,每条间分隔[color=cyan]15.0°[/color],可追踪[color=cyan]2.0[/color]秒,效率为[color=cyan]30.0%[/color]的带状彩虹,每条造成[color=cyan]20.0[/color]点伤害。[/center]"
|
|
autowrap_mode = 2
|