* Used array.push instead of array[i]
* Used damage instead of damageEffect in DPS calculation check