-
[Custom][LUA][Boss]Arian
Hey guys made another Lua Rate 1-10 and leave tips
SQL:
Code:
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 (80000,80,80,14,7435000,7435000,7534000,1,0,2650,0,17540,18430,0,0,0,0,360000,0,0,0,0,0,0,0,3,1,'',1,0,0,0,2.5,8,14,0,0,0,0,0,0,0)
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 (80000,'Arian','The Demon','',0,0,0,3,0,0,348,0,0,0,0,0,NULL,0)
LUA:
Code:
print "Made By Torgash! of ac-web/mmopro.net/mmorush.com"
local NAME = Arian
local SPAWNID = 80000
function NAME_Combat(pUnit, event)
pUnit:SendChatMessage(0, 14, "Another Step Towards Destruction!")
pUnit:PlaySoundToSet(12501)
pUnit:RegisterEvent("NAME_SpellWave", 10000, 1000000)
pUnit:RegisterEvent("NAME_SpellFire", math.random(10000, 15000), 100000)
pUnit:RegisterEvent("NAME_SpellCone", 20000, 100000)
pUnit:RegisterEvent("NAME_SpellVolley", 25000, 100000)
pUnit:RegisterEvent("NAME_SpellBloss", 30000, 100000)
pUnit:RegisterEvent("NAME_SpellRain", 40000, 100000)
end
--[[Spells]]--
function NAME_SpellWave(pUnit, event) --Blast Wave
pUnit:CastSpell(38536)
pUnit:PlaySoundToSet(12507)
end
function NAME_SpellFire(pUnit, event) --Fire Blast
pUnit:FullCastSpellOnTarget(20679, pUnit:GetRandomPlayer(0))
end
function NAME_SpellCone(pUnit, event) -- Cone Of Fire
pUnit:CastSpell(36876)
end
function NAME_SpellVolley(pUnit, event) -- Fireball volley
pUnit:PlaySoundToSet(12508)
pUnit:FullCastSpellOnTarget(15243, pUnit:GetMainTank())
end
function NAME_SpellBloss(pUnit, event) -- Fire Blossom
pUnit:FullCastSpellOnTarget(19636, pUnit:GetRandomPlayer(0))
end
function NAME_SpellRain(pUnit, event) --Rain Fire
pUnit:CastSpell(39363)
end
--[[Extra]]--
function NAME_OnLeaveCombat(pUnit, event)
pUnit:SendChatMessage(14, 0, "Ive waited long enough!")
pUnit:PlaySoundToSet(12497)
pUnit:RemoveEvents()
end
function NAME_OnKilledTarget(pUnit)
pUnit:SendChatMessage(14, 0, "Fail me and suffer For Eternity!")
pUnit:PlaySoundToSet(12498)
end
function NAME_Death(pUnit)
pUnit:SendChatMessage(14, 0, "All my plans have led to this!")
pUnit:PlaySoundToSet(12495)
pUnit:RemoveEvents()
end
RegisterUnitEvent(SPAWNID, 1, "NAME_Combat")
RegisterUnitEvent(SPAWNID, 2, "NAME_OnLeaveCombat")
RegisterUnitEvent(SPAWNID, 3, "NAME_OnKilledTarget")
RegisterUnitEvent(SPAWNID, 4, "NAME_Death")
Screenies:http://i213.photobucket.com/albums/c...109_141823.jpg
http://i213.photobucket.com/albums/c...109_141833.jpg
when u enter combat he yell "Another step towards destruction!"
when i die he sais "Fail me and suffer eternity!"
when he dies he sais "All my plans have led to this!"
when he leaves combat he sais "Ive waited Long Enough!"
EDIT:
AMG HATERS!(no posts)
-
Pretty sick. Bad spelling though. Would like it if you had more pictures.