Replace direct array access
Use std::vector for storing precasted spells
Extract member variable