mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
feat(资源): 添加新食物和武器资源并调整现有配置
添加蛋挞、香辣鸡腿堡、阴阳球和钓鱼竿等新食物资源 调整Bow武器的攻击力和自身伤害计算逻辑 修改Tree武器的攻击速率和伤害比例 更新BigLaser和Tree的显示名称及配置 添加相关纹理资源及导入配置
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
extends Weapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["atk"] += 0.075 * to * soulLevel
|
||||
origin["atk"] += 0.1 * to * soulLevel
|
||||
origin["count"] = 1 * soulLevel
|
||||
origin["self"] += 0.025 * to
|
||||
origin["self"] *= soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
entity.takeDamage(readStore("self"))
|
||||
|
||||
Reference in New Issue
Block a user