MMOCoin

Likes Likes:  0
Results 1 to 10 of 15

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Contributor
    enegue's Avatar
    Join Date
    Aug 2008
    Location
    Before God
    Posts
    715
    Post Thanks / Like
    Rep Power
    19
    Reputation
    106
    .. A moment ago you said that she doesn't only cast fireballs. Right now you say she doesn't do anything but speak?

    me if I have helped you in anyway ^^ Example: Sharing a repack, answering questions... Well you know the rest xD. As long as I help you!



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    22
    Reputation
    319
    Code:
    function Ching_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Muhahaha, you have finally here...")
    pUnit:RegisterEvent("Phase_1", 1000, 0)
    end
    function Ching_OnDied(pUnit, Event)
    pUnit:RemoveEvents()
    end
    function Ching_LeaveCombat (pUnit, Event)
    pUnit:RemoveEvents()
    end
    function Phase_1(pUnit, Event)
    if pUnit:GetHealthPct() <= 75 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "I will kill you, and eat you...!")
    pUnit:RegisterEvent("FireBall", 18392, 0)
    pUnit:RegisterEvent("Phase_2", 1000, 0)
    end
    end
    function Phase_2(pUnit, Event)
    if pUnit:GetHealthPct() <= 50 then
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("FireBall", 18392, 0)
    pUnit:SendChatMessage(14, 0, "Hmmmm.....")
    end
    end
    pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
    function HealingWave(pUnit, Event)
    pUnit:CastSpell(49273)
    end
    #GetClosestPlayer() --Gets the closest player.
    #GetMainTank() --Returns main tank.
    #GetAddTank() --Returns offtank.
     
     
    RegisterUnitEvent(98347, 1, "Ching_OnCombat")
    RegisterUnitEvent(98347, 2, "Ching_OnLeaveCombat")
    RegisterUnitEvent(98347, 4, "Ching_OnDied")

    1 pUnit:RegisterEvent("FireBall", 18392, 0)
    2 pUnit:RegisterEvent("FireBall", 18392, 0)


    and .. there is other spells
    pUnit:CastSpellOnTarget(25449, pUnit:GetRandomPlayer(0))
    function HealingWave(pUnit, Event)
    pUnit:CastSpell(49273)




    Well i haven't tested but it looks like you made this lua in like 2 minutes try make a longer and add more spells, Less QQ more PewPew!
    No touching please.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •