1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Weapons/HJM.gd
T
fallingshrimp e2570491aa feat(武器): 添加HJM武器脚本及UID文件
添加HJM武器的Godot脚本文件,包含攻击力和冷却时间的升级逻辑
2025-11-08 07:32:41 +08:00

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