Brief Overview:
Hey guys. This is a project I did just for fun. For you guys who love the office, in the episode titled "Money" on season 4, Micheal describes a man in the witness protection program named "Lord Rupert Everton", a shipping merchant that raises fancy dogs. So I made this LUA and designed the boss to be about a 20man raid. Again, this was just for fun
The Fight
The fight is pretty basic. Every now and then, he will spawn a Fancy Dog. He will also periodically cleave. At 50%, he becomes enraged. Also, throughout the fight, he cracks "That's what she said" jokes. This is meant for about 20 players.
Screenshot:
LUA:
Code:
function Rupert_Combat(Unit, Event)
Unit:SendChatMessage(11, 0, "Beware of my fancy dogs!")
Unit:RegisterEvent("Rupert_Cleave", 30000, 0)
Unit:RegisterEvent("Rupert_Dog", 20000, 0)
Unit:RegisterEvent("Rupert_Rage", 1500, 0)
end
function Rupert_Cleave(Unit, Event)
Unit:Castspell(25231)
end
function Rupert_Dog(Unit, Event)
local faction = 90
x = Unit:GetX();
y = Unit:GetY();
z = Unit:GetZ();
o = Unit:GetO();
Unit:SpawnCreature(812001, x, y, z, o, faction, 60000)
end
function Rupert_Rage(Unit, Event)
if Unit:GetHealthPct() < 50 then
Unit:SendChatMessage(12, 0, "This is hard!... That's what she said!")
Unit:CastSpell(40683)
end
end
function Rupert_Wipe(Unit, Event)
Unit:RemoveEvents()
end
function Rupert_Died(Unit, Event)
Unit:SendChatMessage(11, 0, "I..Declare..Bankrupcy! And death!")
Unit:RemoveEvents()
end
function Rupert_KillPlayer(Unit, Event)
Unit:SendChatMessage(12, 0, "You stand no chance against me and my fancy dogs!")
end
RegisterUnitEvent(812000, 1, "Rupert_Combat")
RegisterUnitEvent(812000, 2, "Rupert_Wipe")
RegisterUnitEvent(812000, 3, "Rupert_KillPlayer")
RegisterUnitEvent(812000, 4, "Rupert_Died")
SQLs:
Lord Rupert Everton:
Code:
INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('812000','Lord Rupert Everton','Shipping Merchant','','0','7','0','1','2347','0','0','0','0','0');
INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('812000','72','72','21','1300000','1300000','0','0','2000','2760','4282','0','0','0','0','0','0','0','36000','2200','10','10','10','10','10','10','1','0','1','420391','0','0','2.5','8','14');
Fancy dog:
Code:
INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('812001','Fancy Dog','Rupert's Pet','','0','1','0','1','782','0','0','0','0','0');
INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('812001','72','72','21','53000','53000','0','0','1500','800','1801','0','0','0','0','0','0','0','36000','1800','5','55','5','55','5','55','1','0','0','32199','0','0','2.5','8','14');
Download the full pack here: Send big files the easy way. Files too large for email attachments? No problem!
The pack includes the LUA and the two SQLs.
The IDs for the NPCs are:
Lord Rupert: 812000
Fancy Dog: 812001
If you haven't seen this episode of The Office, you can watch it here: RixStuff.net - Watch The Office Online
I hope you guys enjoy this mini fun project. If you have any questions or comments, feel free to post them below or send me a PM!