PDA

View Full Version : [Custom][LUA][Boss]Arian



Torgash
31-03-09, 03:18 PM
Hey guys made another Lua Rate 1-10 and leave tips

SQL:

INSERT INTO `creature_proto` (`entry`,`minlevel`,`maxlevel`,`faction`,`minhealt h`,`maxhealth`,`mana`,`scale`,`npcflags`,`attackti me`,`attacktype`,`mindamage`,`maxdamage`,`can_rang ed`,`rangedattacktime`,`rangedmindamage`,`rangedma xdamage`,`respawntime`,`armor`,`resistance1`,`resi stance2`,`resistance3`,`resistance4`,`resistance5` ,`resistance6`,`combat_reach`,`bounding_radius`,`a uras`,`boss`,`money`,`invisibility_type`,`death_st ate`,`walk_speed`,`run_speed`,`fly_speed`,`extra_a 9_flags`,`spell1`,`spell2`,`spell3`,`spell4`,`spel l_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`,`typ e`,`family`,`rank`,`unk4`,`spelldataid`,`male_disp layid`,`female_displayid`,`male_displayid2`,`femal e_displayid2`,`unknown_float1`,`unknown_float2`,`c ivilian`,`leader`) VALUES (80000,'Arian','The Demon','',0,0,0,3,0,0,348,0,0,0,0,0,NULL,0)LUA:

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/cc37/Torgash/WoWScrnShot_033109_141823.jpg




http://i213.photobucket.com/albums/cc37/Torgash/WoWScrnShot_033109_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)

enegue
04-04-09, 07:51 AM
Pretty sick. Bad spelling though. Would like it if you had more pictures.