mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix(武器平衡): 调整道教石像和无为之剑的数值
降低道教石像的攻击加成和rate2加成 提高道教石像的基础攻击力 为无为之剑添加rate2属性并实现伤害计算 更新相关描述文本
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
extends Weapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["atk"] += 4 * to * soulLevel
|
||||
origin["atk"] += 3 * to * soulLevel
|
||||
origin["rate1"] *= soulLevel
|
||||
origin["rate2"] += 0.15 * (soulLevel - 1)
|
||||
origin["rate2"] += 0.12 * (soulLevel - 1)
|
||||
return origin
|
||||
func checkAttack(entity: EntityBase) -> bool:
|
||||
return len(entity.getOrCreateCycleTimer("parry", 2000, 100).bullets) > 2
|
||||
|
||||
Reference in New Issue
Block a user