In that scenario, cast Earth Shock. If Lava Burst would have been available during the shock CD, cast Flame Shock. In future you should; if Flame Shock is about to expire (6s) AND Lightning Shield has 5 or more stacks, Earth Shock early and reapply Flame Shock when shock CD comes up.