PDA

View Full Version : [Release] LUA Thael'Khas Boss


Rasmuz
03-14-2009, 09:12 PM
[LUA] Thael'Khas Advanced Boss
I updated my custom boss named Thael'Khas from my server which i am working on. Hes a hard boss

How to install:
1. Copy the things from the LUA code into a Notepad file and save as ThaelKhas.lua in your Scripts folder
2. Copy all the SQL things into a new notepad file and save as Thael.sql and execute into your database
3. Now restart your server and spawn boss with entry 700001

What he does:

Power Word: Fortitude - Increases his own stamina with 165 stamina
Shadow Bolt - 8500 Damage
Arcane Missiles - 11000 Damage
Frost Nova - 6700 Damage
Pyroblast - 15000 Damage
Rain of Fire - 17000 Damage
Arcane Explosion - 10000 Damage
Greater Heal - He heals himself 45000 HP
Summon - He starts summon Flame of The Unholy (He do 10 times in 1 minute)
That was the start functions. Now its

Phase 1:

He transforms into Illidan Stormrage
Power Word: Fortitude - Gives himself 165 Stamina
Shadow Bolt - 11000 Damage
Arcane Missiles - 15000 Damage
Frost Nova - 17800 Damage
Pyroblast - 22000 Damage
Rain of Fire - 34000 Damage
Arcane Explosion - 13000 Damage
Greater Heal - He heals himself for 450000 HP
Summon - He starts summon Ultimate Flame of The Unholy (He do 10 times in 1 minutes



Dont forget to say thanks

LUA file
Code:

function ThaelKhas_PowerWordFortitude(Unit, Event)
Unit:CastSpellOnTarget(48161, Unit:GetMainTank())
end

function ThaelKhas_ShadowBolt(Unit, Event)
Unit:FullCastSpellOnTarget(47809, Unit:GetMainTank())
end

function ThaelKhas_ArcaneMissiles(Unit, Event)
Unit:FullCastSpellOnTarget(42846, Unit:GetMainTank())
end

function ThaelKhas_FrostNova(Unit, Event)
Unit:FullCastSpellOnTarget(42917, Unit:GetMainTank())
end

function ThaelKhas_PyroBlast(Unit, Event)
Unit:FullCastSpellOnTarget(42891, Unit:GetMainTank())
end

function ThaelKhas_RainofFire(Unit, Event)
Unit:FullCastSpellOnTarget(47820, Unit:GetMainTank())
end

function ThaelKhas_ArcaneExplosion(Unit, Event)
Unit:FullCastSpellOnTarget(42921, Unit:GetMainTank())
end

function ThaelKhas_GreaterHeal(Unit, Event)
Unit:CastSpellOnTarget(48063, Unit:GetMainTank())
end

function ThaelKhas_Summon(Unit, Event)
local x = Unit:GetX();
local y = Unit:GetY();
local z = Unit:GetZ();
local o = Unit:GetO();
Unit:SpawnCreature (95000, x, y, z, o, 14 ,60000);
end

function ThaelKhas_OnCombat(unit)
unit:SendChatMessage(14, 0, "You will be killed by me. The leader of The Unholy Might!")
unit:RegisterEvent("ThaelKhas_PowerWordFortitude",4500, 0)
unit:RegisterEvent("ThaelKhas_ShadowBolt",8500, 0)
unit:RegisterEvent("ThaelKhas_ArcaneMissiles",11000, 0)
unit:RegisterEvent("ThaelKhas_FrostNova",6700, 0)
unit:RegisterEvent("ThaelKhas_PyroBlast",15000, 0)
unit:RegisterEvent("ThaelKhas_RainofFire",17000, 0)
unit:RegisterEvent("ThaelKhas_ArcaneExplosion",10000, 0)
unit:RegisterEvent("ThaelKhas_GreaterHeal",45000, 0)
Unit:RegisterEvent("ThaelKhas_Summon", 60000, 10)
Unit:RegisterEvent("ThaelKhas_Phase1", 5000, 1)
end

function ThaelKhas_PowerWordFortitude(Unit, Event)
Unit:CastSpellOnTarget(48161, Unit:GetMainTank())
end

function ThaelKhas_ShadowBolt(Unit, Event)
Unit:FullCastSpellOnTarget(47809, Unit:GetMainTank())
end

function ThaelKhas_ArcaneMissiles(Unit, Event)
Unit:FullCastSpellOnTarget(42846, Unit:GetMainTank())
end

function ThaelKhas_FrostNova(Unit, Event)
Unit:FullCastSpellOnTarget(42917, Unit:GetMainTank())
end

function ThaelKhas_PyroBlast(Unit, Event)
Unit:FullCastSpellOnTarget(42891, Unit:GetMainTank())
end

function ThaelKhas_RainofFire(Unit, Event)
Unit:FullCastSpellOnTarget(47820, Unit:GetMainTank())
end

function ThaelKhas_ArcaneExplosion(Unit, Event)
Unit:FullCastSpellOnTarget(42921, Unit:GetMainTank())
end

function ThaelKhas_GreaterHeal(Unit, Event)
Unit:CastSpellOnTarget(48063, Unit:GetMainTank())
end

function ThaelKhas_Summon(Unit, Event)
local x = Unit:GetX();
local y = Unit:GetY();
local z = Unit:GetZ();
local o = Unit:GetO();
Unit:SpawnCreature (95001, x, y, z, o, 14 ,60000);
end

function ThaelKhas_Phase1(Unit, Event)
if Unit:GetHealthPct() <= 75 then
Unit:SetModel(21135)
Unit:SetScale(1)
Unit:SendChatMessage(14, 0, "Grr... You made me angry!")
Unit:CastSpell(27082)
unit:RegisterEvent("ThaelKhas_PowerWordFortitude",5600, 0)
unit:RegisterEvent("ThaelKhas_ShadowBolt",11000, 0)
unit:RegisterEvent("ThaelKhas_ArcaneMissiles",15000, 0)
unit:RegisterEvent("ThaelKhas_FrostNova",17800, 0)
unit:RegisterEvent("ThaelKhas_PyroBlast",22000, 0)
unit:RegisterEvent("ThaelKhas_RainofFire",34000, 0)
unit:RegisterEvent("ThaelKhas_ArcaneExplosion",13000, 0)
unit:RegisterEvent("ThaelKhas_GreaterHeal",450000, 0)
Unit:RegisterEvent("ThaelKhas_Summon", 60000, 10)
end
end

function ThaelKhas_OnLeaveCombat(unit)
unit:RemoveEvents()
end

function ThaelKhas_OnKilledTarget(unit)
unit:SendChatMessage(14, 0, "What.. did i s..ay, you lose.. No one here in the land can beat ME!!!")
unit:RemoveEvents()
end

function ThaelKhas_OnDeath(unit)
Unit:SendChatMessage(14,0, "You.. killed Thael'Kas... The leader of The Unholy Might! I will come back! I WILL COME BACK!")
unit:RemoveEvents()
end



RegisterUnitEvent(700001, 1, "ThaelKhas_OnCombat")
RegisterUnitEvent(700001, 2, "ThaelKhas_OnLeaveCombat")
RegisterUnitEvent(700001, 3, "ThaelKhas_OnKilledTarget")
RegisterUnitEvent(700001, 4, "ThaelKhas_OnDeath")

insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('95000', "Flame of The Unholy", "", '', '0', '3', '0', '1', '0', '0', '20431', '20431', '20431', '20431', '1', '1', '0', '0');

insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)

values ('95000', '75', '75', '14', '12000', '12000', '', '0.3', '0', '500', '0', '2300', '4400', '0', '0', '0', '0', '0', '4500', '0', '0', '0', '0', '0', '0', '0', '0', "0", '0', '0', '0','0','0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');

Ultimate Flame Of Unholy

insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('95001', "Ultimate Flame of The Unholy", "", '', '0', '3', '0', '1', '0', '0', '20431', '20431', '20431', '20431', '1', '1', '0', '0');

insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('95001', '75', '75', '14', '22000', '22000', '', '0.5', '0', '500', '0', '3400', '5500', '0', '0', '0', '0', '0', '6600', '0', '0', '0', '0', '0', '0', '0', '0', "0", '0', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');


Rep+ And Bump ^__^

Credits: Some1 who made it :D

Ubbelol
03-15-2009, 12:47 PM
Use
Code tag when using scripts in a post.

And give the correct credits. If you don't know who it is, then don't release it.
Don't ask for fkn rep!

xeroz23
03-15-2009, 01:05 PM
U didnt make any of it so why should you have +rep?
And not telling about the credits

Blyitgen
04-14-2009, 09:52 AM
It is me that made this boss!!!! Hes asking for rep for my work!!! Damn noob!!!

Coreyduffel
04-14-2009, 10:04 AM
WoW What a douche!

+REP GOES TO NADSKAP2!!!

Die_Nasty
04-14-2009, 12:00 PM
[LUA] Thael'Khas Advanced Boss
I updated my custom boss named Thael'Khas from my server which i am working on. Hes a hard boss

Credits: Some1 who made it

Ehm?

tobi100000
04-14-2009, 12:36 PM
+rep to nadskap2 then :P

Ghontar
04-14-2009, 03:26 PM
Is it just me or are people just too lazy when it comes to making up new names on Bosses/Mobs?

Deathninja
04-14-2009, 07:26 PM
Making a boss/mob name does take some thought and most of the time it takes a creative mind. I think it is a good name. Seems like something Blizzard themselves would do. And to Ubbelol he clearly stated he made it himself.

Wizard
04-14-2009, 07:27 PM
Nice