1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00

feat(武器): 为火山武器添加第四段攻击并调整动画参数

- 添加第四段伤害计算(dmg4)并更新伤害乘数数组
- 调整基础攻击力从15降至10,修改各段伤害比例
- 延长攻击动画时间从1.7秒增至2.0秒
- 更新动画关键帧和碰撞检测时机
- 修改武器描述文本以反映4段攻击特性
- 调整碰撞体大小和位置以适应新动画
This commit is contained in:
2025-11-22 16:06:44 +08:00
parent 55fb3080e5
commit 06d01f0790
3 changed files with 31 additions and 24 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ func update(to: int, origin: Dictionary, _entity: EntityBase):
origin["dmg1"] += 0.03 * to * soulLevel
origin["dmg2"] += 0.03 * to * soulLevel
origin["dmg3"] += 0.03 * to * soulLevel
origin["dmg4"] += 0.03 * to * soulLevel
origin["atk"] += 1 * to * soulLevel
return origin
func attack(entity: EntityBase):
@@ -18,4 +19,4 @@ func attack(entity: EntityBase):
var bullet: Volcano = j
bullet.baseDamage = readStore("atk")
bullet.rotates = readStore("rotate")
bullet.damageMultipliers = [readStore("dmg1"), readStore("dmg2"), readStore("dmg3")]
bullet.damageMultipliers = [readStore("dmg1"), readStore("dmg2"), readStore("dmg3"), readStore("dmg4")]