mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-25 04:52:29 +08:00
11 lines
285 B
GDScript
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
|