DatWoW
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Chess Event DBM AddOn

4 posters

Go down

Chess Event DBM AddOn Empty Chess Event DBM AddOn

Post by Despite Fri Apr 09, 2010 8:07 pm

Full discussion at DBM Forums:
http://www.deadlybossmods.com/phpbb3/viewtopic.php?f=5&t=2480


Hello, Im Despite from DatWoW private server. I've been trying to create a DBM event for a custom chess event boss in Karazhan.

The ChessEvent:
There 2 "main" bosses stading on the middle of the table, a Paladin and a Warrior. (King Llane and Warchief Blackhand)
When engaged they will both start a running enrage timer of 8 minutes which will wipe the whole raid.*
King Llane is casting Hammer of Justice on the 2nd one in his threat list every 10-50sec.(random)*
Warchief Blackhand casts Mortal Strike on his highest one in threat every 10-40sec.(random)
When Llane drops down to 90%(180k/200k) hp he will summon 2 healers to the left side of the chess board.*
When Warchief Blackhand drops down to 90%(270k/300k) hp he will summon 1 healer to the left side of the chess board.
The healers cast a 3 seconds cast Chain heal for 15k on them selves jumping to the nearby friendlies. This is with a 6,5seconds CD starting when the casting begins*
Both Llane and Blackhand summon adds to the corners of the table every 15sec. Starting from the Llane spawning 4 adds and then Blackhand. When Llane dies (must be killed first) he will stop summoning the adds.*
Additional adds(4) will spawn at the left and right side of the table when which ever of the "main bosses" drop to 60% or 40% hp all 4 will be spawned but in random que:
  • A Water Elemental - Casting AoE Waterbolt damaging the whole raid (discard LoS) every 5-10seconds.*
  • A "Daemon" - Casting AoE Shadowbolt (such as Kazzak's one) damaging the whole raid (discard LoS) every 5-10seconds.*
  • A Warlock - Casting Fel Fireball on a random target with a 3sec cast time.*
  • A Mage - Casting Frostbolt on a random target with a 3sec cast time*

*(Important)

Thats the base of the Boss Encounter which im trying to make a DBM addition for.
I've got no Lua/xml experience other than hello world wow addons... So im requesting some help here.



Here's what i've done this far:

DMB_Karazhan(folder)
Added this as the last ine in DBM_Karazhan.toc
Code:
Chess.lua

Created new file Chess.lua
Code:
local Chess = DBM:NewBossMod("Chess", DBM_CE_NAME, DBM_CE_DESCRIPTION, DBM_KARAZHAN, DBM_KARAZHAN_TAB, 14);

Chess.Version         = "1.0";
Chess.Author         = "Despite";
Chess.Phase         = 1;

Chess:AddOption("HOJ", true, DBM_CE_OPTION_2);

Chess:RegisterEvents(
   "CHAT_MSG_MONSTER_YELL",
   "SPELL_AURA_APPLIED"
);

Chess:RegisterCombat("COMBAT");


Chess:AddBarOption("Enrage")

function Chess:OnCombatStart(delay)
   
   self:StartStatusBarTimer(480 - delay, "Enrage", "Interface\\Icons\\Spell_Shadow_UnholyFrenzy");
   self:ScheduleSelf(50 - delay, "EnrageWarn", 300);
   self:ScheduleSelf(100 - delay, "EnrageWarn", 120);
   self:ScheduleSelf(200 - delay, "EnrageWarn", 60);
   self:ScheduleSelf(300 - delay, "EnrageWarn", 30);
   self:ScheduleSelf(400 - delay, "EnrageWarn", 10);
end


function Chess:OnEvent(event, arg1)

   if event == "EnrageWarn" and type(arg1) == "number" then
      if arg1 >= 60 then
         self:Announce(string.format(DBM_CE_WARN_ENRAGE, (arg1/60), DBM_MIN), 1)
         else

   elseif event == "SPELL_AURA_APPLIED" then
      if arg1.spellId == 29522 then -- Wrong spell ID
         self:Announce(string.format(DBM_CE_WARN_HOJ, tostring(arg1.destName)), 2);
      end
   end
end

Added these lines to the localization.en.lua
Code:
--ChessEvent
DBM_CE_NAME            = "Chess";
DBM_CE_DEBUFF_HOJ   = "([^%s]+) (%w+) afflicted by Hammer of Justice.";
DBM_CE_WARN_HOJ   = "*** Hammer of Justice on >%s< ***";
DBM_CE_WARN_ENRAGE      = "*** Enrage in %s %s ***";
Despite
Despite
Admin
Admin

Posts : 100
Join date : 2009-09-13
Location : Finland

http://datwow.sytes.net

Back to top Go down

Chess Event DBM AddOn Empty Re: Chess Event DBM AddOn

Post by Haufen Sun May 09, 2010 6:49 pm

The ChessEvent is too hard i think
Haufen
Haufen
Pro
Pro

Posts : 49
Join date : 2010-05-09
Age : 32

http://www.glassass.com

Back to top Go down

Chess Event DBM AddOn Empty Re: Chess Event DBM AddOn

Post by Sibylla Mon May 17, 2010 2:22 pm

Try to make DBM for Magtheridon.It will be impossible to do it without DBM.
Sibylla
Sibylla
Champion
Champion

Posts : 141
Join date : 2010-05-04
Age : 31
Location : Serbia

Back to top Go down

Chess Event DBM AddOn Empty Re: Chess Event DBM AddOn

Post by Electrifies Wed May 19, 2010 7:08 am

Haufen, the chess even't is ez mide if u just get peeps to interupt the NPC healers
Electrifies
Electrifies
Pro
Pro

Posts : 52
Join date : 2010-03-24
Age : 33
Location : Sweden

Back to top Go down

Chess Event DBM AddOn Empty Re: Chess Event DBM AddOn

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum