Adding a custom HoT to HealBot Continued

August 21st, 2009 | Categories: Games, Programming | Tags:

Playing around with my healing setup in World of Warcraft. If you have ever healed you might have come across HealBot. Some argue it’s bad, some say it’s good. Some say use Grid + Clique. I myself have a simple healbot setup and I enjoy it just fine with my macros I have setup and my key bindings. I also have it displaying the HoT icons on the bar, as a Paladin I only have SS+FoL now and Gift of the Naaru. Beacon of Light also gets displayed.

The purpose of this post was to inform others how to add a custom HoT (Heal over Time) to be monitored by HealBot. It does a lot of these for you, but I found that it does not monitor the Gift of the Naaru (Draenei Racial) HoT.

Find the file; HealBot_Localization.en.lua it is in the Locale folder. If you use a different language, you may wish to open your own language file instead of .en.

Add the line;

HEALBOT_GIFT_OF_THE_NAARU = "Gift of the Naaru";

In the following section;

HEALBOT_FLASH_HEAL = "Flash Heal";
HEALBOT_FLASH_OF_LIGHT = "Flash of Light";
HEALBOT_GIFT_OF_THE_NAARU = "Gift of the Naaru";
HEALBOT_GREATER_HEAL = "Greater Heal";
HEALBOT_BINDING_HEAL = "Binding Heal"

Make it like so. I added it here just because I copied the line above it for Flash of Light. Save the file.

Open HealBot.lua in the parent folder, and go to Line 1188 which happens to say:

HealBot_Watch_HoT[HEALBOT_FLASH_OF_LIGHT]="C"

Copy that line and paste it, change it to read:

HealBot_Watch_HoT[HEALBOT_GIFT_OF_THE_NAARU]="A"

The few lines should look like this:

HealBot_ShortBuffs[HEALBOT_SEAL_OF_COMMAND]=true
HealBot_ShortBuffs[HEALBOT_SEAL_OF_THE_MARTYR]=true
HealBot_Watch_HoT[HEALBOT_FLASH_OF_LIGHT]="C"
HealBot_Watch_HoT[HEALBOT_GIFT_OF_THE_NAARU]="A"
HealBot_Watch_HoT[HEALBOT_BEACON_OF_LIGHT]="CT"
HealBot_Watch_HoT[HEALBOT_SACRED_SHIELD]="A"
HealBot_Watch_HoT[HEALBOT_LIGHT_BEACON]="A"

Now navigate to line 2933 and 2934, which looks something like:

elseif spellName==HEALBOT_FLASH_OF_LIGHT then
if HealBot_Player_HoT[uscGUID][spellName]<17 then HealBot_Player_HoT[uscGUID][spellName]=17 end

Copy that and paste below it, so the section looks like the following:

if HealBot_Player_HoT[uscGUID][spellName]<17 then HealBot_Player_HoT[uscGUID][spellName]=17 end
elseif spellName==HEALBOT_FLASH_OF_LIGHT then
if HealBot_Player_HoT[uscGUID][spellName]<17 then HealBot_Player_HoT[uscGUID][spellName]=17 end
elseif spellName==HEALBOT_GIFT_OF_THE_NAARU then
if HealBot_Player_HoT[uscGUID][spellName]<17 then HealBot_Player_HoT[uscGUID][spellName]=17 end
elseif spellName==HEALBOT_WILD_GROWTH or spellName==HEALBOT_TRANQUILITY then
HealBot_Watch_AM_HoT=3

Save the file, and open the game, or do a /reload in-game to get the new code loaded. Cast Gift of the Naaru on yourself, or another in your party, and you should now see the HoT icon.

EDIT: As I post this article here and on the HealBot forums, the author has included support for GotN and some others in the newest Beta.

  1. John
    August 22nd, 2009 at 11:46
    Reply | Quote | #1

    This is awesome, I just got my Shaman up to 80 a few days ago and went Resto with it, and I’ve been looking at how to customize HealBot for my uses. It’s been annoying that it doesn’t monitor Gift of the Naaru, but following these instructions it works easily.

    This is immensely helpful in adding it to HealBot, although you may want to note that line 1188 is inside the paladin-specific elseif:

    elseif strsub(HealBot_PlayerClassEN,1,4)==HealBot_Class_En[HEALBOT_PALADIN] then

    If you’re not a paladin, you’ll need to find your own class section and add in the line there. For me as a Shaman, the section I needed to add it to was in between lines 1212 and 1225.

    Thanks for the instructions!

  2. August 22nd, 2009 at 12:05
    Reply | Quote | #2

    @John
    Same day I made this post, I posted the code here on the HealBot forums, and the author has added support for GotN into HealBot production, and I’m sure into the correct areas.

    You can download the newest one, if you register on his site, and get the latest Beta build.

TOP