mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-26 13:32:29 +08:00
feat(武器): 增强氧炔枪属性并更新描述
调整氧炔枪的攻击属性: - 基础攻击加成从0.3提升至0.5 - 火焰攻击加成从0.1提升至0.25 - 浓硝酸液滴的生存时间减半 更新武器描述文本,明确说明火焰的击退效果和浓硝酸的射程较短特性
This commit is contained in:
@@ -22,7 +22,7 @@ storeType = {
|
|||||||
"max-n": 1,
|
"max-n": 1,
|
||||||
"min-n": 1
|
"min-n": 1
|
||||||
}
|
}
|
||||||
descriptionTemplate = "大概率高速喷出火焰,造成$fireatk点伤害。小概率喷出$min-n~$max-n滴[b]浓硝酸[/b],每滴造成$atk点伤害。火焰具有高额击退效果。"
|
descriptionTemplate = "大概率高速喷出火焰,造成$fireatk点伤害。小概率喷出$min-n~$max-n滴[b]浓硝酸[/b],每滴造成$atk点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短。"
|
||||||
cooldown = 50.0
|
cooldown = 50.0
|
||||||
debugRebuild = true
|
debugRebuild = true
|
||||||
|
|
||||||
@@ -35,4 +35,4 @@ quality = 0
|
|||||||
typeTopic = 2
|
typeTopic = 2
|
||||||
|
|
||||||
[node name="description" parent="container" index="2"]
|
[node name="description" parent="container" index="2"]
|
||||||
text = "[center]大概率高速喷出火焰,造成[color=cyan]1.00[/color]点伤害。小概率喷出[color=cyan]3[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b],每滴造成[color=cyan]3.00[/color]点伤害。火焰具有高额击退效果。[/center]"
|
text = "[center]大概率高速喷出火焰,造成[color=cyan]1.00[/color]点伤害。小概率喷出[color=cyan]3[/color]~[color=cyan]7[/color]滴[b]浓硝酸[/b],每滴造成[color=cyan]3.00[/color]点伤害。[b]火焰[/b]具有高额击退效果,[b]浓硝酸[/b]液滴的射程较短。[/center]"
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
extends Weapon
|
extends Weapon
|
||||||
|
|
||||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||||
origin["atk"] += 0.3 * to * soulLevel
|
origin["atk"] += 0.5 * to * soulLevel
|
||||||
origin["fireatk"] += 0.1 * to * soulLevel
|
origin["fireatk"] += 0.25 * to * soulLevel
|
||||||
origin["max-n"] *= soulLevel
|
origin["max-n"] *= soulLevel
|
||||||
return origin
|
return origin
|
||||||
func attack(entity: EntityBase):
|
func attack(entity: EntityBase):
|
||||||
@@ -19,3 +19,4 @@ func attack(entity: EntityBase):
|
|||||||
bullet.baseDamage = readStore("fireatk")
|
bullet.baseDamage = readStore("fireatk")
|
||||||
elif bullet is AcidN:
|
elif bullet is AcidN:
|
||||||
bullet.baseDamage = readStore("atk")
|
bullet.baseDamage = readStore("atk")
|
||||||
|
bullet.lifeTime *= 0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user