mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
9 lines
379 B
GDScript
9 lines
379 B
GDScript
|
|
extends AcidBulletBase
|
||
|
|
class_name AcidS
|
||
|
|
|
||
|
|
func succeedToHit(_dmg: float, _entity: EntityBase):
|
||
|
|
for i in randi_range(0, int(arg1)):
|
||
|
|
for bullet in BulletBase.generate(ComponentManager.getBullet("AcidS"), launcher, position, rotation + deg_to_rad(180 + 90 * randf_range(-1, 1)), true, true):
|
||
|
|
if bullet is AcidS:
|
||
|
|
bullet.baseDamage = baseDamage
|