SmartBuff

19 - New Fel and Demon armor, Soul Harvest

Fel and Demon armor no longer has a duration, so changed code to this:

      {SMARTBUFF_FELARMOR, 0, SMARTBUFF_CONST_SELF, nil, nil, nil, S.LinkWarlockArmor},
      {SMARTBUFF_DEMONARMOR, 0, SMARTBUFF_CONST_SELF, nil, nil, nil, S.LinkWarlockArmor},

Also tried adding Soul Harvest with:

In apropriate lines in the buff.lua

  SMARTBUFF_SOULHARVEST     = GetSpellInfo(79268); --"Soul Harvest"

      {SMARTBUFF_SOULHARVEST, 0.5, SMARTBUFF_CONST_ITEM}

And in the main code:

      if (bUsable and sPlayerClass == "WARLOCK" and buffnS == SMARTBUFF_SOULHARVEST and UnitPower("player", 7) == 3) then
        bUsable = false;
      end

This does, however, not work. Not sure why. But it'd be nice having Soul Harvest as well to make it easier to regain chards inbetween battles.

User When Change
Unferd Feb 11, 2011 at 14:30 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Reported
Feb 11, 2011
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees