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

9 lines
353 B
GDScript
Raw Permalink Normal View History

extends AcidBulletBase
class_name AcidC
func succeedToHit(_dmg: float, entity: EntityBase):
entity.fields[FieldStore.Entity.DAMAGE_MULTIPILER] = clamp(entity.fields[FieldStore.Entity.DAMAGE_MULTIPILER] - arg1, 0.2, INF)
func split(newBullet: BulletBase, _index: int, _total: int, _lastBullet: float):
newBullet.scale = scale.sign()
return newBullet