mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix(武器): 调整紫水晶簇的攻击力和价格
将紫水晶簇的攻击加成从3倍降低到1倍,同时将价格从250降低到200
This commit is contained in:
@@ -10,7 +10,7 @@ offset_bottom = 302.0
|
||||
script = ExtResource("2_0xgcv")
|
||||
avatarTexture = ExtResource("2_wgtcw")
|
||||
displayName = "紫水晶簇"
|
||||
costBeachball = 250
|
||||
costBeachball = 200
|
||||
descriptionTemplate = "撞击造成$atk点伤害。"
|
||||
cooldown = 200.0
|
||||
|
||||
@@ -23,9 +23,6 @@ texture = ExtResource("2_wgtcw")
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 250
|
||||
|
||||
[node name="soul" parent="container/info/infos" index="2"]
|
||||
count = 1
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "紫水晶簇"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ extends Weapon
|
||||
class_name PurpleCrystalWeapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["atk"] += 3 * to * soulLevel
|
||||
origin["atk"] += 1 * to * soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
var weaponPos = entity.findWeaponAnchor("normal")
|
||||
|
||||
Reference in New Issue
Block a user