MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides  
Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Discussion
Reload this Page [Release] Death Knight LUA Boss
Emulator Server Discussion World of Warcraft Emulator Server general chat .
[NO Questions here]

Reply
 
LinkBack Thread Tools
[Release] Death Knight LUA Boss
(#1)
Old
TheSpidey's Avatar
TheSpidey is Offline
Emulator Server Specialist

Rep Power: 2
Reputation: 279
TheSpidey is a jewel in the roughTheSpidey is a jewel in the roughTheSpidey is a jewel in the rough
 
Posts: 1,918
Join Date: Jan 2008
[Release] Death Knight LUA Boss - 03-13-2008

He's quite hard, and will require a good team to handle.
I'd suggest lowering his health if you want it easier.

Code:
--[[=========================>
======Death Knight========>
====one helluva fight=======>
=========================>
Base outline:
When a player approaches he'll warn him. //Doesn't work since the core doesn't supprt this yet.
Phase 1:
Demon Armor every 30 seconds
Phase 2: <96%
Demon Armor every 30 seconds
Desecration every 15 seconds - 512 damage over 8 seconds in an area
Phase 3: <80%
Demon Armor every 30 seconds
Desecration every 15 seconds - 512 damage over 8 seconds in an area
Shadowsurge (debuff) the tank every 20 seconds for 5 seconds.
425 - 575 damage to all enemies in 45 yard radius every 31 seconds
Immunity to fire and shadow for 3 seconds every 11 seconds
Phase 4: <60%
Increase shadow damage taken by tank by 60% for 15 seconds every 20 seconds
He also starts to heal himself, cast Death and Decay, all the former spells and more
Also all the previous stuff
Phase 5: <20%
Does everything faster now

]]
function DK_DND (pUnit, Event)
pUnit:CastSpellOnTarget(37788, pUnit:GetMainTank())
end

function DK_Desecrate (pUnit, Event)
pUnit:CastSpell(36473, pUnit:GetMainTank())
end

function DK_Chastice (pUnit, Event)
pUnit:CastSpell(36863, pUnit:GetMainTank())
end

function DK_Heal (pUnit, Event)
pUnit:CastSpell(16588)
end

function DK_NetherProt (pUnit, Event)
pUnit:CastSpell(30300)
end

function DK_DemonicDoom (pUnit, Event)
pUnit:CastSpellOnTarget(23298, pUnit:GetMainTank())
end

function DK_DemonicProt (pUnit, Event)
pUnit:CastSpell(31901)
end

function DK_CrushingShadows (pUnit, Event)
pUnit:CastSpellOnTarget(40243, pUnit:GetMainTank())
end

function DK_ShadowCleave (pUnit, Event)
pUnit:CastSpellOnTarget(30495, pUnit:GetMainTank())
end

function DK_DarkShell (pUnit, Event)
pUnit:CastSpell(32358)
end

function DK_DarkStrike (pUnit, Event)
pUnit:CastSpellOnTarget(22574, pUnit:GetMainTank())
end

function DK_ShadowSurge (pUnit, Event)
pUnit:CastSpellOnTarget(36518, pUnit:GetMainTank())
end

function DK_ShadowStorm (pUnit, Event)
pUnit:CastSpellOnTarget(14297, pUnit:GetMainTank())
end

function DK_DemonArmor (pUnit, Event)
pUnit:CastSpell(34881)
end

--===========================--
--=======Setting Phases=======--
--==========================--

function DK_Death (pUnit, Event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(11, 0, "You may have defeated me, mortals. But we are LEGION!")
end

function DK_Phase6 (pUnit, Event)
if pUnit:GetHealthPct() < 20 then
--Is that all you got?!
pUnit:RemoveEvents()
--Give me more! Give me MORE!!
pUnit:SendChatMessage(12, 0, "AARGH!") --Cheesy, I know.
pUnit:RegisterEvent("DK_DemonArmor", 29000, 0)
pUnit:RegisterEvent("DK_CrushingShadows", 10000, 0) --Take this, tank!
pUnit:RegisterEvent("DK_ShadowCleave", 6000, 0)
pUnit:RegisterEvent("DK_DemonicProt", 12000, 0)
pUnit:RegisterEvent("DK_ShadowSurge", 16000, 0)
pUnit:RegisterEvent("DK_Heal", 17500, 0)
pUnit:RegisterEvent("DK_DND", 22500, 0)
pUnit:RegisterEvent("DK_NetherProt", 9000, 0)
pUnit:RegisterEvent("DK_DarkShell", 11000, 0)
pUnit:RegisterEvent("DK_DemonicDoom", 19000, 0)
pUnit:RegisterEvent("DK_ShadowStorm", 18000, 0)
pUnit:RegisterEvent("DK_Chastice", 5000, 0)
pUnit:RegisterEvent("DK_DarkStrike", 3000, 0)
end
end


function DK_Phase5 (pUnit, Event)
if pUnit:GetHealthPct() < 40 then
--No way these noobs are gonna kill us.
pUnit:RemoveEvents()
--Harder Better Faster Stronger
pUnit:SendChatMessage(12, 0, "FOR THE KING!")
pUnit:RegisterEvent("DK_DemonArmor", 29000, 0)
pUnit:RegisterEvent("DK_CrushingShadows", 17000, 0) --Take this, tank!
pUnit:RegisterEvent("DK_ShadowCleave", 7000, 0)
pUnit:RegisterEvent("DK_DemonicProt", 14000, 0)
pUnit:RegisterEvent("DK_ShadowSurge", 16000, 0)
pUnit:RegisterEvent("DK_Heal", 23500, 0)
pUnit:RegisterEvent("DK_DND", 26500, 0)
pUnit:RegisterEvent("DK_NetherProt", 9000, 0)
pUnit:RegisterEvent("DK_DarkShell", 13000, 0)
pUnit:RegisterEvent("DK_DemonicDoom", 19000, 0)
pUnit:RegisterEvent("DK_ShadowStorm", 21000, 0)
pUnit:RegisterEvent("DK_Chastice", 6000, 0)
pUnit:RegisterEvent("DK_Phase6", 1000, 0)
end
end

function DK_Phase4 (pUnit, Event)
if pUnit:GetHealthPct() < 60 then
--Time to take out the tank.
pUnit:RemoveEvents()
pUnit:SendChatMessage(12, 0, "Take this!")
pUnit:RegisterEvent("DK_DemonArmor", 29000, 0)
pUnit:RegisterEvent("DK_CrushingShadows", 20000, 0) --Take this, tank!
pUnit:RegisterEvent("DK_ShadowCleave", 9000, 0)
pUnit:RegisterEvent("DK_DemonicProt", 19000, 0)
pUnit:RegisterEvent("DK_ShadowSurge", 22000, 0)
pUnit:RegisterEvent("DK_Heal", 23500, 0)
pUnit:RegisterEvent("DK_DND", 30500, 0)
pUnit:RegisterEvent("DK_NetherProt", 11000, 0)
pUnit:RegisterEvent("DK_DarkShell", 17000, 0)
pUnit:RegisterEvent("DK_Phase5", 1000, 0)
end
end

function DK_Phase3 (pUnit, Event)
if pUnit:GetHealthPct() < 80 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(11, 0, "You haven't seen NOTHING yet!")
pUnit:RegisterEvent("DK_DemonArmor", 30000, 0)
pUnit:RegisterEvent("DK_Desecrate", 15000, 0)
pUnit:RegisterEvent("DK_ShadowSurge", 20000, 0)
pUnit:RegisterEvent("DK_ShadowStorm", 31000, 0)
pUnit:RegisterEvent("DK_NetherProt", 11000, 0)
pUnit:RegisterEvent("DK_Phase4", 1000, 0)
end
end

function DK_Phase2 (pUnit, Event)
if pUnit:GetHealthPct() < 96 then
--Oooh stfu noobs
pUnit:RemoveEvents()
pUnit:RegisterEvent("DK_DemonArmor", 30000, 0)
pUnit:RegisterEvent("DK_Desecrate", 15000, 0)
pUnit:RegisterEvent("DK_Phase3", 1000, 0)
end
end

function DK_Attack (pUnit, Event)
pUnit:SendChatMessage(11, 0, "Foolish choice, mortals.")
--cue action biggrin.gif
pUnit:RegisterEvent("DK_DemonArmor", 30000, 0) --In case the attackers steal / dispel it sad.gif
pUnit:RegisterEvent("DK_Phase2", 1000, 0)
end

function DK_Approach (pUnit, Event)
pUnit:SendChatMessage(11, 0, "Do not make one step further. Know that I am stronger than you'll ever be.")
end

RegisterUnitEvent(73000, 10, "DK_Approach")
RegisterUnitEvent(73000, 1, "DK_Attack")
RegisterUnitEvent(73000, 4, "DK_Death")
Code:
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Death Knight', '', '', '7', '0', '3', '14591', '0', '0', NULL, '73000');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('80', '80', '168', '1300000', '1300000', '125000', '1', '0', '1500', '2512', '3115', '0', '0', '0', '1', '1', '0', '35575', '0', '3600', '0', '0', '0', '73000');

Last edited by TheSpidey; 03-14-2008 at 12:45 PM..
Reply With Quote

Donate to remove ads.
(#2)
Old
lawlz0r's Avatar
lawlz0r is Offline
Contributor
Rep Power: 1
Reputation: 103
lawlz0r will become famous soon enoughlawlz0r will become famous soon enough
 
Posts: 131
Join Date: Jan 2008
Location: Österreich o_O
03-13-2008

GJ.. but SS or Vid would be nice :D
Reply With Quote
(#3)
Old
beileroord is Offline
Corporal
Rep Power: 2
Reputation: 10
beileroord is on a distinguished road
 
Posts: 31
Join Date: Nov 2007
03-14-2008

Well looks nice :





But getting this error on the LUA :



Guess U forgot to change the DEATHKNIGHTID to 73000, changed it, gonna test now.

NICE but indeed a terribel ass to kill... on this and gonna play a bit to find some other displayid and appropriate weapons.

Last edited by beileroord; 03-14-2008 at 12:38 PM..
Reply With Quote
(#4)
Old
Motivet262 is Offline
Knight
Rep Power: 2
Reputation: 17
Motivet262 is on a distinguished road
 
Posts: 196
Join Date: Jun 2007
Location: Sweden
03-14-2008

I get those Errors to on my Custom Scripts...
Reply With Quote
(#5)
Old
TheSpidey's Avatar
TheSpidey is Offline
Emulator Server Specialist

Rep Power: 2
Reputation: 279
TheSpidey is a jewel in the roughTheSpidey is a jewel in the roughTheSpidey is a jewel in the rough
 
Posts: 1,918
Join Date: Jan 2008
03-14-2008

Quote:
Originally Posted by beileroord View Post
Well looks nice :





But getting this error on the LUA :



Guess U forgot to change the DEATHKNIGHTID to 73000, changed it, gonna test now.

NICE but indeed a terribel ass to kill... on this and gonna play a bit to find some other displayid and appropriate weapons.
Yeah, well initially I just made the LUA without the SQL, and when I did make the SQL I forgot to change the LUA ;P

He's pretty hard, give him lower HP.
Reply With Quote
(#6)
Old
Lich King's Avatar
Lich King is Offline
Contributor
Rep Power: 2
Reputation: 97
Lich King will become famous soon enough
 
Posts: 887
Join Date: May 2007
Location: My house
03-14-2008

Nice, I'll be using this one too,
EDIT: I need to spread


Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361