ArcEmu All In One
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Á¦°¡ Á÷Á¢ ¾§ÀÇ lua¸¦ ¸¸µé°íÀִµ¥¿ä

Go down

Á¦°¡ Á÷Á¢ ¾§ÀÇ lua¸¦ ¸¸µé°íÀִµ¥¿ä Empty Á¦°¡ Á÷Á¢ ¾§ÀÇ lua¸¦ ¸¸µé°íÀִµ¥¿ä

¿Ã¸®±â by gunwoo11 2009-02-22, 3:10 pm

ÇöÀç
function cthun_OnEnterCombat(Unit, Event)
Unit:SetCombatMeleeCapable(1)
Unit:RegisterEvent("cthun_eyebeam",2500,0)
Unit:RegisterEvent("cthun_phase2",30000,0)
Unit:StopMovement(1)
end

function cthun_eyebeam(Unit, Event)
Unit:FullCastSpellOnTarget(32950, Unit:GetRandomPlayer(0))
end

function cthun_phase2(Unit, Event)
Unit:RemoveEvents()
Unit:FullCastSpell(40683)
Unit:FullCastSpell(40683)
Unit:RegisterEvent("cthun_darkglare",2000,0)
Unit:SetCombatMeleeCapable(1)
Unit:StopMovement(1)
Unit:RegisterEvent("cthun_OnEnterCombat",30000,0)
end

function cthun_darkglare(Unit, Event)
Unit:FullCastSpell(40683)
Unit:FullCastSpell(26029)
Unit:FullCastSpellOnTarget(41937, Unit:GetRandomPlayer(0))
end

function cthun_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
end

function cthun_OnDied(Unit, Event)
Unit:RemoveEvents()
end

RegisterUnitEvent(15589, 1, "cthun_OnEnterCombat")
RegisterUnitEvent(15589, 2, "cthun_phase2")
RegisterUnitEvent(15589, 3, "cthun_OnLeaveCombat")
RegisterUnitEvent(15589, 4, "cthun_OnDied")

À̸¸Å­ ¸¸µé¾ú°Åµç¿ä?
±×·±µ¥ Á¦°¡ lua¸¦ ¸¸µå´Â°É µû·Î ´©±¸ÇÑÅ× Áú¹®Çغ¸Áú¾Ê¾Æ¼­ ÇÑ°¡Áö ¸ð¸£´Â°Ô Àִµ¥
Á¦ µý¿¡´Â Unit:RegisterEvent("cthun_phase2",30000,0) ÀÌ°É·Î ÆäÀÌÁî2·Î 30ÃÊÈÄ¿¡ °¡¶ó°í ¸¸µé¾ú´Âµ¥
¿©±â 30000ÀÌ°Ô 30ÃÊ·Î µÇ´Â°Ô ¸Â³ª¿ä? ÀÚ²Ù Çϸé óÀ½ºÎÅÍ ÆäÀÌÁî2·Î °¡´õ¶ó°í¿ä

gunwoo11

°Ô½Ã¹° °¹¼ö : 45
Registration date : 2009-01-18

À§·Î Go down

À§·Î


 
Permissions in this forum:
´ä±ÛÀ» ¿Ã¸± ¼ö ¾ø½À´Ï´Ù