[LUA Release] Evil Kitty menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Pimpin_N0ob's Avatar Active Member
    Reputation
    42
    Join Date
    Feb 2007
    Posts
    424
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA Release] Evil Kitty

    You can use what type of cat you use and put this script on. What it does is turns the kitty into a demon and casts some spells, then when the demon dies it changes the model back into a cat.

    Code:
    function BlackTabby_OnCombat(Unit, Event)
    Unit:SendChatMessage(11, 0, "Meow")
    Unit:SetModel(18373)
    end
    
    function BlackTabby_laugh(pUnit, Event) 
    if pUnit:GetHealthPct() <99 then
    pUnit:SendChatMessage(11, 0, "You will regret this!")
    pUnit:RemoveEvents(); 
    end
    end
    
    function BlackTabby_claw(pUnit, Event) 
    pUnit:CastSpell(35055, pUnit:GetClosestPlayer()) 
    pUnit:RegisterEvent("Kitty_claw", 10000, 5)
    end
    
    function BlackTabby_Volley(pUnit, Event)
    if pUnit:GetHealthPct() <50 then
    pUnit:FullCastSpellOnTarget(38533, pUnit:GetRandomPlayer(7))
    pUnit:SendChatMessage(11, 0, "Die!!")
    pUnit:RegisterEvent("Kittey_Volley", 20000, 10) 
    end
    end
    
    function BlackTabby_OnDied(Unit, Event)
    Unit:SetModel(5448)
    end
    
    
    RegisterUnitEvent(7383, 1, "EnterCombat_OnCombat")
    RegisterUnitEvent(7383, 2, "OnDeath_OnDied")
    Again, thanks to insanesk8123 for checking my script. =)

    Enjoy =)
    --Pimpin_N0ob

    Edit: I will add some pictures when test server is up and script is in.
    Last edited by Pimpin_N0ob; 10-04-2008 at 12:21 AM.

    [LUA Release] Evil Kitty
  2. #2
    xeross155's Avatar Member
    Reputation
    4
    Join Date
    Aug 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, thats very original

  3. #3
    EcHoEs's Avatar lol why u mad
    Reputation
    374
    Join Date
    Sep 2006
    Posts
    1,647
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Too simple tbh.
    Make it have something unique, this is just like any of the other fights, just with other model.
    And it wont work on top of it.
    1st. You are registering unit event "entercombat_oncombat" and "ondeath_ondied" of which neither exist.
    2nd. You are registering "kitty_claw" with function blacktabby_claw, function kitty_claw doesn't exist at all
    3rd. You are not registering Blacktabby_laugh, blacktabby_claw or blacktabby_volley at all.
    All in all, poor script, too simple, and not working

    Code:
    function BlackTabby_OnCombat(Unit, Event)
    Unit:SendChatMessage(11, 0, "Meow")
    Unit:SetModel(18373)
    Unit:RegisterUnitEvent("BlackTabby_laugh", 1000, 1)
    end
     
    function BlackTabby_laugh(pUnit, Event) 
    if pUnit:GetHealthPct() <99 then
    pUnit:SendChatMessage(11, 0, "You will regret this!")
    pUnit:RemoveEvents(); 
    pUnit:RegisterEvent("BlackTabby_claw", 10000, 1)
    pUnit:RegisterEvent("BlackTabby_volley", 1000, 1)
    end
    end
     
    function BlackTabby_claw(pUnit, Event) 
    pUnit:CastSpellOnTarget(35055, pUnit:GetClosestPlayer()) 
    end
     
    function BlackTabby_Volley(pUnit, Event)
    if pUnit:GetHealthPct() <50 then
    pUnit:FullCastSpellOnTarget(38533, pUnit:GetRandomPlayer(7))
    pUnit:SendChatMessage(11, 0, "Die!!")
    end
    end
     
    function BlackTabby_OnDied(Unit, Event)
    Unit:SetModel(5448)
    end
     
     
    RegisterUnitEvent(7383, 1, "BlackTabby_OnCombat")
    RegisterUnitEvent(7383, 2, "BlackTabby_OnDied")
    Should work.
    Last edited by EcHoEs; 10-04-2008 at 03:08 PM.


  4. #4
    xeross155's Avatar Member
    Reputation
    4
    Join Date
    Aug 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The idea was original, didnt really look at the code

  5. #5
    Karmo's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    >.> kinda... yeah D=

  6. #6
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Already noticed an error in BOTH of your scripts.
    Code:
    pUnit:SendChatmMessage(11, 0, "You will regret this!")


    it helps to read over your script.
    Last edited by Gastricpenguin; 10-03-2008 at 08:51 AM.
    Life Puzzler WoW - Website | Forums

Similar Threads

  1. [LUA Release] Arthas/Kel'thuzad
    By Pimpin_N0ob in forum WoW EMU General Releases
    Replies: 22
    Last Post: 01-11-2009, 10:06 AM
  2. Lua Release - Rage (Boss)
    By Roger Fang in forum WoW EMU General Releases
    Replies: 11
    Last Post: 10-04-2008, 09:02 PM
  3. [LUA Release] Warp Npc (Noob friendly)
    By Lytle69 in forum WoW EMU General Releases
    Replies: 6
    Last Post: 10-03-2008, 06:06 PM
  4. [LUA Release] Sarkona
    By kreegoth in forum WoW EMU General Releases
    Replies: 0
    Last Post: 09-11-2008, 08:46 AM
All times are GMT -5. The time now is 10:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search