As you can only use three spells per battle, you have to select the magic right before the attack if you have no need for the default ones. You can see them in the lower right corner of the screen with enemy base. Tap on the red minus icon to remove the spell and choose the one you need from the available.
Have more questions? Submit a request