Heaven deals X damage to each creature with flying.
Aftermath (Cast this spell only from your graveyard. Then exile it.) Earth deals X damage to each creature without flying.