1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-05 09:42:13 +08:00

feat(武器系统): 重构氧化加农炮并添加篮球消耗机制

- 修改Oxygener武器属性,增加count字段控制篮球消耗
- 实现checkAttack方法检查篮球消耗
- 调整武器基础数值和描述
- 移除氧气火焰的击退效果
- 在Rooster角色中替换初始武器为Oxygener
- 修复代码缩进问题
This commit is contained in:
2026-03-14 07:21:42 +08:00
parent 52f7872a2a
commit 06413d204c
6 changed files with 22 additions and 11 deletions
+7 -5
View File
@@ -11,18 +11,20 @@ displayName = "氧化加农炮"
quality = 0
typeTopic = 2
store = {
"atk": 3.0,
"fireatk": 1.0,
"atk": 10.0,
"count": 1,
"fireatk": 5.0,
"max-n": 7.0,
"min-n": 3.0
"min-n": 2.0
}
storeType = {
"atk": 0,
"count": 1,
"fireatk": 0,
"max-n": 1,
"min-n": 1
}
descriptionTemplate = "高速喷出[b]火焰[/b],造成$fireatk点伤害。小概率喷出[b]硝化火[/b],召唤$min-n~$max-n滴[b]浓硝酸[/b]围绕在火焰旁,每滴造成$atk点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短。"
descriptionTemplate = "高速喷出[b]火焰[/b],造成$fireatk点伤害。小概率喷出[b]硝化火[/b],召唤$min-n~$max-n滴[b]浓硝酸[/b]围绕在火焰旁,每滴造成$atk点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短,每发射$count次火焰会消耗[color=yellow]1[/color]个[b]篮球[/b]。"
cooldown = 50.0
debugRebuild = true
@@ -35,4 +37,4 @@ quality = 0
typeTopic = 2
[node name="description" parent="container" index="2"]
text = "[center]高速喷出[b]火焰[/b],造成[color=cyan]1.00[/color]点伤害。小概率喷出[b]硝化火[/b],召唤[color=cyan]3[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b]围绕在火焰旁,每滴造成[color=cyan]3.00[/color]点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短。[/center]"
text = "[center]高速喷出[b]火焰[/b],造成[color=cyan]5.00[/color]点伤害。小概率喷出[b]硝化火[/b],召唤[color=cyan]2[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b]围绕在火焰旁,每滴造成[color=cyan]10.00[/color]点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短,每发射[color=cyan]1[/color]次火焰会消耗[color=yellow]1[/color]个[b]篮球[/b]。[/center]"