Code: Select all
class = "RangedAttack",
attackPower = 16,
pierce = 10,
accuracy = 10,
cooldown = 7,
attackSound = "swipe_bow",
ammo = "arrow",
Is there a way to have a RangedAttack have a "pierce" component, or is there something I'm missing here with the use of ammo (i.e. the arrow is what needs to have the pierce component, not say the bow that has the RangedAttack class)?