mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
refactor(武器系统): 用emitType枚举替换chargable和oneShoot布尔值
重构武器发射逻辑,使用枚举类型EmitType来管理不同的武器发射方式 更新相关武器配置文件和角色控制逻辑
This commit is contained in:
@@ -11,7 +11,7 @@ avatarTexture = ExtResource("3_mdipf")
|
||||
displayName = "光标刃轮"
|
||||
typeTopic = 1
|
||||
costBeachball = 350
|
||||
oneShoot = true
|
||||
emitType = 1
|
||||
store = {
|
||||
"atk": 10,
|
||||
"speed": 0.004
|
||||
|
||||
@@ -9,7 +9,7 @@ script = ExtResource("2_p67v7")
|
||||
avatarTexture = ExtResource("2_mmtf8")
|
||||
displayName = "钢管"
|
||||
costBeachball = 350
|
||||
chargable = true
|
||||
emitType = 2
|
||||
store = {
|
||||
"atk": 5
|
||||
}
|
||||
@@ -30,5 +30,11 @@ count = 350
|
||||
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
||||
displayName = "钢管"
|
||||
|
||||
[node name="source" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="1" unique_id=365191794]
|
||||
text = "MEME"
|
||||
|
||||
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
||||
text = "[center]按住蓄力扔出钢管,蓄力越久伤害越高,至少造成[color=cyan]5[/color]点伤害,发射钢管后继续按住鼠标可进行连续发射。[/center]"
|
||||
|
||||
[node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044]
|
||||
visible = false
|
||||
|
||||
@@ -11,7 +11,7 @@ displayName = "扶桑元神"
|
||||
quality = 4
|
||||
typeTopic = 3
|
||||
costBeachball = 900
|
||||
oneShoot = true
|
||||
emitType = 1
|
||||
store = {
|
||||
"atk": 20,
|
||||
"count": 1.0,
|
||||
@@ -57,9 +57,9 @@ text = "Nine Sols × Terraria"
|
||||
text = "[center]进行[b]格挡[/b],化解飞来的子弹。
|
||||
每成功格挡一次,获得一点[b]气力[/b]。
|
||||
每拥有一点气力,增加[color=yellow]1[/color]点冲刺初速度,闪避穿过敌人时对其贴上一层[b]符咒[/b],符咒会自动引爆,召唤[b]乾坤剑[/b]穿透敌人。
|
||||
近战攻击造成乾坤剑的[color=cyan]100.0%[/color]点伤害。
|
||||
近战攻击造成乾坤剑的[color=cyan]25.0%[/color]点伤害。
|
||||
|
||||
每次格挡有[color=cyan]100.0%[/color]的概率弹反,子弹弹反后造成乾坤剑的[color=cyan]100.0%[/color]伤害。
|
||||
每次格挡有[color=cyan]25.0%[/color]的概率弹反,子弹弹反后造成乾坤剑的[color=cyan]25.0%[/color]伤害。
|
||||
每次格挡最多化解[color=cyan]1[/color]个子弹,
|
||||
体内最多储存[color=cyan]3[/color]点气力。
|
||||
每化解[color=yellow]1[/color]点伤害,
|
||||
|
||||
Reference in New Issue
Block a user