mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-09 13:17:12 +08:00
fix(武器/子弹): 调整管道武器和子弹的数值计算
修复管道武器的充能计算方式,改为基于灵魂等级减1的乘法 修改子弹旋转速度计算,使用初始速度替代能量值 添加子弹基础伤害与能量值的关联 调整子弹命中后的能量衰减系数
This commit is contained in:
@@ -3,7 +3,7 @@ extends Weapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["atk"] += 1 * to * soulLevel
|
||||
origin["charge"] += 0.005 * to * soulLevel
|
||||
origin["charge"] += 0.05 * (soulLevel - 1)
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
var weaponPos = entity.findWeaponAnchor("normal")
|
||||
|
||||
Reference in New Issue
Block a user