1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/AcidS.gd
T

9 lines
379 B
GDScript
Raw Normal View History

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