mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
refactor: 调整武器和召唤物属性及配置
- 移除LGBTFlag的最大生命值设置 - 调整HJM武器的伤害和时间系数 - 修改Arrow子弹的轨迹参数 - 将BulletBase的伤害计算从initialDamage改为baseDamage - 简化LGBTWeapon的召唤参数 - 提升Bow武器的攻击力和降低能量消耗 - 调整HJM武器的属性和描述 - 更新Rooster角色的武器配置
This commit is contained in:
@@ -6,7 +6,6 @@ var count: int = 0
|
||||
var angle: float = 0
|
||||
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 200
|
||||
attackCooldownMap[0] = 1000
|
||||
func ai():
|
||||
tryAttack(0)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
extends Weapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["time"] /= 1 + 0.05 * to * soulLevel
|
||||
origin["time"] /= 1 + 0.01 * to * soulLevel
|
||||
origin["atk"] += 2 * to * soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
|
||||
@@ -10,7 +10,7 @@ func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["trace"] += 0.05 * to * soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"), true, false)
|
||||
var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"))
|
||||
summon.atk = readStore("atk")
|
||||
summon.maxTraceTime = readStore("trace") * 1000
|
||||
summon.tracePower = readStore("power")
|
||||
|
||||
Reference in New Issue
Block a user