mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
feat(武器): 添加酸蚀风暴武器资源及场景配置
添加酸蚀风暴武器的图片资源、导入配置和场景文件,包含武器属性、描述模板和多语言支持。主要功能为随机喷射五种不同类型的酸,每种酸具有不同的伤害和效果。 修改了Weapon.gd中的descriptionTemplate字段,使其支持多行文本显示。新增了AcidWind.png图片资源及其导入配置,并创建了两个武器场景文件用于不同配置。
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://yq7vmijwvgx1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_pyyxv"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckr8tw7fsa7qx" path="res://resources/weapons/AcidWind.png" id="2_pnd3r"]
|
||||
|
||||
[node name="AcidWind" instance=ExtResource("1_pyyxv")]
|
||||
avatarTexture = ExtResource("2_pnd3r")
|
||||
displayName = "酸蚀风暴"
|
||||
quality = 4
|
||||
typeTopic = 3
|
||||
costBeachball = 200
|
||||
store = {
|
||||
"atk": 5,
|
||||
"c-atk": 1.0,
|
||||
"cl-atkspeed": 0.02,
|
||||
"cl-speed": 0.03,
|
||||
"n-atk": 5.0,
|
||||
"p-offset": 2.0,
|
||||
"s-count-max": 3.0,
|
||||
"weakatk": 1.0
|
||||
}
|
||||
storeType = {
|
||||
"atk": 1,
|
||||
"c-atk": 1,
|
||||
"cl-atkspeed": 2,
|
||||
"cl-speed": 2,
|
||||
"n-atk": 1,
|
||||
"p-offset": 3,
|
||||
"s-count-max": 1,
|
||||
"weakatk": 1
|
||||
}
|
||||
descriptionTemplate = "高速随机喷射以下五种[b]酸[/b]之一,强酸可造成$atk点伤害,弱酸造成$weakatk点伤害。
|
||||
[color=green][b]硫酸[/b][/color]:命中时溅射1~$s-count-max滴[b]硫酸[/b]。
|
||||
[color=lightblue][b]硝酸[/b][/color]:额外造成$n-atk点伤害。
|
||||
[color=lightyellow][b]盐酸[/b][/color]:使敌人 [i]移动速度[/i] 降低$cl-speed,[i]攻击速度[/i] 降低$cl-atkspeed。
|
||||
[color=pink][b]碳酸[/b][/color]:命中时挥发为气体向前扩散,敌人接触造成$c-atk点伤害,可无限穿透。
|
||||
[color=orange][b]磷酸[/b][/color]:使敌人 [i]散射角[/i] 增加$p-offset。"
|
||||
cooldown = 10.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_pnd3r")
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 200
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "酸蚀风暴"
|
||||
quality = 4
|
||||
typeTopic = 3
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]高速随机喷射以下五种[b]酸[/b]之一,强酸可造成[color=cyan]5[/color]点伤害,弱酸造成[color=cyan]1[/color]点伤害。
|
||||
[color=green][b]硫酸[/b][/color]:命中时溅射1~[color=cyan]3[/color]滴[b]硫酸[/b]。
|
||||
[color=lightblue][b]硝酸[/b][/color]:额外造成[color=cyan]5[/color]点伤害。
|
||||
[color=lightyellow][b]盐酸[/b][/color]:使敌人 [i]移动速度[/i] 降低[color=cyan]3%[/color],[i]攻击速度[/i] 降低[color=cyan]2%[/color]。
|
||||
[color=pink][b]碳酸[/b][/color]:命中时挥发为气体向前扩散,敌人接触造成[color=cyan]1[/color]点伤害,可无限穿透。
|
||||
[color=orange][b]磷酸[/b][/color]:使敌人 [i]散射角[/i] 增加[color=cyan]2.0°[/color]。[/center]"
|
||||
@@ -0,0 +1,58 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://di00g0wvglc8f"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_oxen4"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckr8tw7fsa7qx" path="res://resources/weapons/AcidWind.png" id="2_nvjyi"]
|
||||
|
||||
[node name="AcidWind" instance=ExtResource("1_oxen4")]
|
||||
avatarTexture = ExtResource("2_nvjyi")
|
||||
displayName = "酸蚀风暴"
|
||||
quality = 4
|
||||
typeTopic = 3
|
||||
costBeachball = 200
|
||||
store = {
|
||||
"atk": 5,
|
||||
"c-atk": 1.0,
|
||||
"cl-atkspeed": 0.02,
|
||||
"cl-speed": 0.03,
|
||||
"n-atk": 5.0,
|
||||
"p-offset": 2.0,
|
||||
"s-count-max": 3.0,
|
||||
"weakatk": 1.0
|
||||
}
|
||||
storeType = {
|
||||
"atk": 1,
|
||||
"c-atk": 1,
|
||||
"cl-atkspeed": 2,
|
||||
"cl-speed": 2,
|
||||
"n-atk": 1,
|
||||
"p-offset": 3,
|
||||
"s-count-max": 1,
|
||||
"weakatk": 1
|
||||
}
|
||||
descriptionTemplate = "高速随机喷射以下五种[b]酸[/b]之一,强酸可造成$atk点伤害,弱酸造成$weakatk点伤害。
|
||||
[color=green][b]硫酸[/b][/color]:命中时溅射1~$s-count-max滴[b]硫酸[/b]。
|
||||
[color=lightblue][b]硝酸[/b][/color]:额外造成$n-atk点伤害。
|
||||
[color=lightyellow][b]盐酸[/b][/color]:使敌人 [i]移动速度[/i] 降低$cl-speed,[i]攻击速度[/i] 降低$cl-atkspeed。
|
||||
[color=pink][b]碳酸[/b][/color]:命中时挥发为气体向前扩散,敌人接触造成$c-atk点伤害,可无限穿透。
|
||||
[color=orange][b]磷酸[/b][/color]:使敌人 [i]散射角[/i] 增加$p-offset。"
|
||||
cooldown = 10.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_nvjyi")
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 200
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "酸蚀风暴"
|
||||
quality = 4
|
||||
typeTopic = 3
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]高速随机喷射以下五种[b]酸[/b]之一,强酸可造成[color=cyan]5[/color]点伤害,弱酸造成[color=cyan]1[/color]点伤害。
|
||||
[color=green][b]硫酸[/b][/color]:命中时溅射1~[color=cyan]3[/color]滴[b]硫酸[/b]。
|
||||
[color=lightblue][b]硝酸[/b][/color]:额外造成[color=cyan]5[/color]点伤害。
|
||||
[color=lightyellow][b]盐酸[/b][/color]:使敌人 [i]移动速度[/i] 降低[color=cyan]3%[/color],[i]攻击速度[/i] 降低[color=cyan]2%[/color]。
|
||||
[color=pink][b]碳酸[/b][/color]:命中时挥发为气体向前扩散,敌人接触造成[color=cyan]1[/color]点伤害,可无限穿透。
|
||||
[color=orange][b]磷酸[/b][/color]:使敌人 [i]散射角[/i] 增加[color=cyan]2.0°[/color]。[/center]"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dwnaupe36j4it"
|
||||
path="res://.godot/imported/AcidWind.jpeg-138b917796ba39e9e8442ec22d904423.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/weapons/AcidWind.jpeg"
|
||||
dest_files=["res://.godot/imported/AcidWind.jpeg-138b917796ba39e9e8442ec22d904423.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 257 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ckr8tw7fsa7qx"
|
||||
path="res://.godot/imported/AcidWind.png-a8a3c1c71695635de03c07da3f4836c3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/weapons/AcidWind.png"
|
||||
dest_files=["res://.godot/imported/AcidWind.png-a8a3c1c71695635de03c07da3f4836c3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -14,7 +14,7 @@ class_name Weapon
|
||||
@export var storeType: Dictionary = {
|
||||
"atk": FieldStore.DataType.INTEGER
|
||||
}
|
||||
@export var descriptionTemplate: String = "造成$atk点伤害。"
|
||||
@export_multiline var descriptionTemplate: String = "造成$atk点伤害。"
|
||||
@export var needEnergy: float = 0
|
||||
@export var cooldown: float = 100
|
||||
@export var debugRebuild: bool = false
|
||||
|
||||
Reference in New Issue
Block a user