• 0

    posted a message on BigWigs
    With the new translational convention it appears you've borked a couple modules. I know for one aq20\Guardians.lua is having variable conflicts.
    Posted in: Raid AddOns
  • 0

    posted a message on BigWigs - Karazhan
    Had another thought about how the fix for the Curator should be, this should hopefully be easy to follow and shouldn't have any problems if a user has a particular warning disabled.

    Edit: See attached diff file
    Posted in: Raid AddOns
  • 0

    posted a message on BigWigs - Karazhan
    Quote from Nevcairiel »

    One thing ive noticed in many boss fights, but specific to Curator now:

    The Evocation bar does not show on Engage, but after the first Evocation it shows. Thats kinda weird. Cant you add the Bar on Engage as well ?

    This problem is directly related to the setup of the if statement for the boss fight. The first if evaluates to true so none of the elseifs can be true.

    Well anyways I made some fixes and optimizations to the Curator code, I'm just hoping that the 6 sec offset to the evocate timer at the start is correct.

    Edit: This code has changed you can find the new fix @ (http://www.wowace.com/forums/index.php?topic=3248.msg85673#msg85673

    ------------------------------
    -- Event Handlers --
    ------------------------------

    --[[
    function mod:CHAT_MSG_MONSTER_YELL(msg)
    if self.db.profile.berserk and msg == L["berserk_trigger"] then
    self:Message(L["berserk_message"]:format(boss), "Attention")
    self:Bar(L["berserk_bar"], 720, "INV_Shield_01")
    elseif self.db.profile.weaktime and msg == L["berserk_trigger"] then
    self:Evocation()
    elseif self.db.profile.weaken and msg == L["weaken_trigger"] then
    self:Message(L["weaken_message"], "Important", nil, "Alarm")
    self:Bar(L["weaken_bar"], 20, "Spell_Nature_Purge")
    self:ScheduleEvent("weak1", "BigWigs_Message", 15, L["weaken_fade_warning"], "Urgent")
    self:ScheduleEvent("weak2", "BigWigs_Message", 20, L["weaken_fade_message"], "Important", nil, "Alarm")
    self:Evocation()
    elseif self.db.profile.enrage and msg == L["enrage_trigger"] then
    self:Message(L["enrage_message"], "Important")
    self:CancelScheduledEvent("weak1")
    self:CancelScheduledEvent("weak2")
    self:CancelScheduledEvent("evoc1")
    self:CancelScheduledEvent("evoc2")
    self:CancelScheduledEvent("evoc3")
    self:TriggerEvent("BigWigs_StopBar", self, L["weaken_bar"])
    self:TriggerEvent("BigWigs_StopBar", self, L["weaktime_bar"])
    end
    end
    ]]--
    function mod:CHAT_MSG_MONSTER_YELL(msg)
    if self.db.profile.weaken and msg == L["weaken_trigger"] then
    self:Message(L["weaken_message"], "Important", nil, "Alarm")
    self:Bar(L["weaken_bar"], 20, "Spell_Nature_Purge")
    self:ScheduleEvent("weak1", "BigWigs_Message", 15, L["weaken_fade_warning"], "Urgent")
    self:ScheduleEvent("weak2", "BigWigs_Message", 20, L["weaken_fade_message"], "Important", nil, "Alarm")
    if self.db.profile.weaktime then -- Trying to cut down on redundancy
    self:Evocation()
    end
    return
    elseif self.db.profile.weaktime and msg == L["weaken_trigger"] then -- Just incase our user has {self.db.profile.weaken} turned off
    self:Evocation()
    return
    elseif self.db.profile.enrage and msg == L["enrage_trigger"] then
    self:Message(L["enrage_message"], "Important")
    self:CancelScheduledEvent("weak1")
    self:CancelScheduledEvent("weak2")
    self:CancelScheduledEvent("evoc1")
    self:CancelScheduledEvent("evoc2")
    self:CancelScheduledEvent("evoc3")
    self:TriggerEvent("BigWigs_StopBar", self, L["weaken_bar"])
    self:TriggerEvent("BigWigs_StopBar", self, L["weaktime_bar"])
    return
    end
    --[[ Everything bellow here only needs to be run once and will be skiped afterwards ]]--
    if self.db.profile.berserk and msg == L["berserk_trigger"] then
    self:Message(L["berserk_message"]:format(boss), "Attention")
    self:Bar(L["berserk_bar"], 720, "INV_Shield_01")
    end
    if self.db.profile.weaktime and msg == L["berserk_trigger"] then -- Start our Evocation timers at the begging of the fight to trigger 6 sec earlier than normal
    self:Bar(L["weaktime_bar"], 109, "Spell_Nature_Purge")
    self:ScheduleEvent("evoc1", "BigWigs_Message", 39, L["weaktime_message3"], "Positive")
    self:ScheduleEvent("evoc2", "BigWigs_Message", 79, L["weaktime_message2"], "Attention")
    self:ScheduleEvent("evoc3", "BigWigs_Message", 99, L["weaktime_message1"], "Urgent")
    end
    end

    --[[
    function mod:Evocation()
    if self.db.profile.weaktime then
    self:Bar(L["weaktime_bar"], 115, "Spell_Nature_Purge")
    self:ScheduleEvent("evoc1", "BigWigs_Message", 45, L["weaktime_message3"], "Positive")
    self:ScheduleEvent("evoc2", "BigWigs_Message", 85, L["weaktime_message2"], "Attention")
    self:ScheduleEvent("evoc3", "BigWigs_Message", 105, L["weaktime_message1"], "Urgent")
    end
    end
    ]]--
    function mod:Evocation()
    self:Bar(L["weaktime_bar"], 115, "Spell_Nature_Purge")
    self:ScheduleEvent("evoc1", "BigWigs_Message", 45, L["weaktime_message3"], "Positive")
    self:ScheduleEvent("evoc2", "BigWigs_Message", 85, L["weaktime_message2"], "Attention")
    self:ScheduleEvent("evoc3", "BigWigs_Message", 105, L["weaktime_message1"], "Urgent")
    end


    I'm going to use the reamaing space to plug GeSHIsmf, I think its needed for this forum.
    Posted in: Raid AddOns
  • To post a comment, please or register a new account.