First I need an array to store all the properties of spells so it needs to be permanent and present throughout all layouts. Array is like an object type not a variable so how do I preserve that data between layouts?
Also, the array is getting very long so how could I just preset the values of the array instead of putting it in one by one in the actions?