I am trying to give certain enemies statistics, so I can use them later in a table. How would I do this?
local metalbear = {atk = 9999, atkSpeed = 150, def = 9999, movementSpeed = 300, range = 50, longRange = false, isSingleTarget = true}
So I can use this in a function:
function enemy:new(atkBuff, defBuff, spawnTime, spawnPattern) end --Would I use something like: metalbear.atk or metalbear[1]