1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-09 13:17:12 +08:00

feat(武器): 增强HXD武器的攻击力和改进描述文本颜色

将HXD武器的攻击力加成从1倍提升至3倍,并优化描述文本中关键数值的颜色标记,提高可读性
This commit is contained in:
2026-02-02 16:29:56 +08:00
parent a20bc187be
commit 22133141bf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ storeType = {
"atk": 1,
"count": 1
}
descriptionTemplate = "发射$count颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹$atk次,每次反弹对敌人造成$atk点伤害,有1/4的概率不计入反弹总次数。散射+4°,反弹时伤害-4%"
descriptionTemplate = "发射$count颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹$atk次,每次反弹对敌人造成$atk点伤害,有[color=yellow]1/4[/color]的概率不计入反弹总次数。散射[color=red]+4°[/color],反弹时伤害[color=red]-4%[/color]"
cooldown = 1000.0
debugRebuild = true
@@ -35,4 +35,4 @@ quality = 3
typeTopic = 3
[node name="description" parent="container" index="2"]
text = "[center]发射[color=cyan]4[/color]颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹[color=cyan]4[/color]次,每次反弹对敌人造成[color=cyan]4[/color]点伤害,有1/4的概率不计入反弹总次数。散射+4°,反弹时伤害-4%[/center]"
text = "[center]发射[color=cyan]4[/color]颗[b]茴香豆[/b],在敌人间反弹,每颗茴香豆最多可以反弹[color=cyan]4[/color]次,每次反弹对敌人造成[color=cyan]4[/color]点伤害,有[color=yellow]1/4[/color]的概率不计入反弹总次数。散射[color=red]+4°[/color],反弹时伤害[color=red]-4%[/color][/center]"
+1 -1
View File
@@ -2,7 +2,7 @@
extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 1 * to * soulLevel
origin["atk"] += 3 * to * soulLevel
origin["count"] *= soulLevel
return origin
func attack(entity: EntityBase):