1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 20:27:13 +08:00

feat(武器): 调整道教石像属性和机制

修改道教石像的攻击属性计算方式,移除rate3属性并调整rate2的计算公式
更新武器描述文本以匹配新的机制
将道教石像添加到猞猁角色的武器库中
This commit is contained in:
2026-05-08 16:04:41 +08:00
parent ad63aacf94
commit 04727c0feb
3 changed files with 18 additions and 15 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ extends Weapon
func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["atk"] += 4 * to * soulLevel
origin["rate1"] *= soulLevel
origin["rate2"] *= soulLevel
origin["rate3"] *= soulLevel
origin["rate2"] += 0.06 * (soulLevel - 1)
return origin
func checkAttack(entity: EntityBase) -> bool:
return len(entity.getOrCreateCycleTimer("parry", 2000, 100).bullets) > 0