1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-04 02:37:12 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Weapons/SevenSoul.gd
T
fallingshrimp 159389c908 feat(武器系统): 添加七魂武器及相关资源
添加七魂武器系统,包括:
- 七魂武器脚本和场景
- 灵魂子弹脚本和场景
- 相关图片资源和音效
- 修改公鸡角色的武器配置
- 修复子弹基础类的UI状态检测问题
2025-09-25 21:57:32 +08:00

11 lines
285 B
GDScript

@tool
extends Weapon
func attack(entity: EntityBase):
for i in 7:
for j in BulletBase.generate(ComponentManager.getBullet("SevenSoul"), entity, entity.texture.global_position, 0):
j.index = i
func update(to, origin, _entity):
origin["atk"] += 1 * to * soulLevel
return origin