
Holy Librams!

Written by Jay Miller

---

This addon automates switching very select pieces of gear ("librams")
in order to maximize either the healing throughput or mana efficiency
of holy paladins. It works in a 100% transparent manner in and out of
combat.

This addon works best if you have the following librams:

* Libram of Souls Redeemed
* Blessed Book of Nagrand (or Libram of Light)
* Libram of Absolute Truth
* Libram of Mending
* Libram of the Lightbringer

It has two modes, throughput mode and efficiency mode:

* Efficiency mode - /hl mp5 - Switches librams to minimize your mana
  usage (default).
* Throughput mode - /hl hps - Switches librams to maximize your
  healing per second.

Here's the Flash of Light logic:

   if target has BoL then
      Equip LoSR
   else
      Equip BBoN (or LoL)
   end

And here's the Holy Light logic (roughly):

   if mode is efficiency then
      if player has Mending buff then
         Equip LoAT
      else
         Equip LoM
      end
   else
      if target has BoL then
         Equip LoSR
      else
         Equip LotL
      end
   end

Good luck!

