[Help] Attack Rnd Player LUA Script menu

User Tag List

Results 1 to 3 of 3
  1. #1
    wurstbr0t's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Attack Rnd Player LUA Script

    Hey,

    I need a LUA Script for attacking rnd players in raid.

    .. i heard it should be like this

    function Cast[SpellID](unit)
    local plr = unit:GetRandomPlayer()
    if (plr ~= nil) then
    unit:FullCastSpellOnTarget([SpellID],plr)
    end
    end

    But i dont know how to use it :O
    Can someone help me plz?

    [Help] Attack Rnd Player LUA Script
  2. #2
    Peter1337's Avatar Member
    Reputation
    4
    Join Date
    Dec 2007
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just try out this

    function MOB_ABILITY(Unit)
    Unit:FullCastSpellOnTarget(SPELLID,Unit:GetRandomPlayer(0))
    end
    Change the red marked word
    MOB = name of the mob
    ABILITY = spell name e.g. charge or frostbold
    SPELLID = the id of the spell

  3. #3
    wurstbr0t's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Peter1337 View Post
    Just try out this



    Change the red marked word
    MOB = name of the mob
    ABILITY = spell name e.g. charge or frostbold
    SPELLID = the id of the spell

    :O
    Thanxs :D

Similar Threads

  1. Can someone please help me with my lua script.
    By ConnorJ in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-20-2013, 05:19 AM
  2. [Lua Script] [HELP] I need help for a boss lua script
    By simoxx in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 05-24-2012, 07:23 PM
  3. [Lua] Afk player checker script - HELP!
    By gospag in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 04-12-2010, 06:07 PM
  4. Need help fixing some simple lua scripts :-)
    By kaato in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 04-10-2009, 06:11 PM
  5. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
All times are GMT -5. The time now is 09:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search