PDA

View Full Version : [Release]Akil'zon [Lua][Custom]



Torgash
27-03-09, 11:24 AM
Hey Guys This Is My First Release And Be Nice i made this Akil'zon script it isnt the real one its a alot harder! attuned for 80 and a mad healer and tank

SQL:

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 (40020,'Akil\'zon','Eagle Avatar','',0,0,0,3,0,0,21630,0,0,0,1,1,NULL,0)
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 (40020,80,80,14,7430000,7430000,1230000,1,0,2300,0 ,17340,18320,0,0,0,0,0,0,0,0,0,0,0,0,3,0.9,'',1,38 3212,0,0,2.5,8,14,0,0,0,0,0,0,0)LUA:

print "This Script Is Made For MmoPro.Net"
print "All Credits To Me Torgash"
print "This Is Not The Blizzlike Fight Sorry"
print "Enjoy The Boss!"

function Akil_Combat(pUnit, event)
pUnit:SendChatMessage(14, 0, "You Be Da Prey!")
pUnit:RegisterEvent("Akil_Spell1", 8000, 10000)
pUnit:RegisterEvent("Akil_Spell2", 12000, 10000)
pUnit:RegisterEvent("Akil_Spell3", 15000, 10000)
pUnit:RegisterEvent("Akil_Spell4", 20000, 10000)
pUnit:RegisterEvent("Akil_pSpell1", 18000, 1000)
pUnit:RegisterEvent("Akil_pSpell2", 60000, 1000)
pUnit:RegisterEvent("Akil_pSpell3", 15000, 1000)
pUnit:RegisterEvent("Akil_pSpell4", 60000, 1000)
end

--[[Spells]]--
function Akil_Spell1(pUnit, event)
pUnit:FullCastSpellOnTarget(59007, pUnit:GetMainTank())
end

function Akil_Spell2(pUnit, event)
pUnit:FullCastSpellOnTarget(29915, pUnit:GetMainTank())
end

function Akil_Spell3(pUnit, event)
pUnit:FullCastSpellOnTarget(42397, pUnit:GetMainTank())
end

function Akil_Spell4(pUnit, event)
pUnit:CastSpell(43217)
end

function Akil_pSpell1(pUnit, event)
pUnit:FullCastSpellOnTarget(49804, pUnit:GetMainTank())
end

function Akil_pSpell2(pUnit, event)
pUnit:FullCastSpellOnTarget(28456, pUnit:GetMainTank())
end

function Akil_pSpell3(pUnit, event)
pUnit:FullCastSpellOnTarget(55955, pUnit:GetMainTank())
end

function Akil_pSpell4(pUnit, event)
pUnit:FullCastSpellOnTarget(21060, pUnit:GetRandomPlayer(0))
end

--Extra--

function Akil_Died(pUnit, event)
pUnit:SendChatMessage(14, 0, "No! Im Be Da Prey! You Be Da Predator! Zul'jin... Will... Be... Waiting...")
pUnit:RemoveEvents()
end

function Akil_Killed(pUnit, event)
print "Killed Target"
pUnit:SendChatMessage(14, 0, "Enough!")
end

function Akil_Leave(pUnit, event)
pUnit:SendChatMessage(14, 0, "Come My Birdies Eat There Corpse!")
pUnit:RemoveEvents()
end

RegisterUnitEvent(40020, 1, "Akil_Combat")
RegisterUnitEvent(40020, 2, "Akil_Leave")
RegisterUnitEvent(40020, 3, "Akil_Killed")
RegisterUnitEvent(40020, 4, "Akil_Died")Enjoy my boss

Leave a tip if u wana help me get better :D remeber First Release!

keving
27-03-09, 11:55 AM
Looks good :)
I will try it

anyway +rep :)

Torgash
27-03-09, 03:10 PM
Ty (cant only type 2letters)

stoneharry
29-03-09, 06:24 AM
Simple but effective. My advise to you is to lose the prints, they will cause a server crash if the script is happening 2 times at once on a server! :) Personaly I only use print at the moment on script loadup, so that I can say "Made by stoneharry" etc. To make it display when loaded, you just put it anywhere on the script but outside the function.

enegue
29-03-09, 09:24 AM
Hm, I suggest putting some pictures of it. It will attract more downloads.

Torgash
30-03-09, 04:20 PM
Ty guys! i will remove the print function didnt know it could crash