mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
c6ff68541b
- 移除LGBTFlag的最大生命值设置 - 调整HJM武器的伤害和时间系数 - 修改Arrow子弹的轨迹参数 - 将BulletBase的伤害计算从initialDamage改为baseDamage - 简化LGBTWeapon的召唤参数 - 提升Bow武器的攻击力和降低能量消耗 - 调整HJM武器的属性和描述 - 更新Rooster角色的武器配置
13 lines
368 B
GDScript
13 lines
368 B
GDScript
@tool
|
|
extends Weapon
|
|
|
|
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
|
origin["time"] /= 1 + 0.01 * to * soulLevel
|
|
origin["atk"] += 2 * to * soulLevel
|
|
return origin
|
|
func attack(entity: EntityBase):
|
|
var summon = entity.summon(ComponentManager.getSummon("HJM"))
|
|
summon.atk = readStore("atk")
|
|
summon.attackTime = readStore("time") * 1000
|
|
return true
|