mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 00:11:54 +08:00
e2570491aa
添加HJM武器的Godot脚本文件,包含攻击力和冷却时间的升级逻辑
7 lines
167 B
GDScript
7 lines
167 B
GDScript
@tool
|
|
extends Weapon
|
|
|
|
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
|
origin["time"] /= 1 + 0.05 * to * soulLevel
|
|
origin["atk"] *= 2 * to * soulLevel
|