Rating: 0

tl;dr:
1. Notice that `ghost` spell can take you to the flag
2. Cast the spell twice (once from scroll and then directly), first one to reach the flag, and second one, to get "returned" back to the flag.

Full writeup: https://github.com/p4-team/ctf/tree/master/2019-11-14-dragon-finals/under_mountain