The event with the mana is unrelated.
You need to raise your affinity with her by taking her completely off. Then fight her and let her win.