Help with basic dispel script? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Nomfeld's Avatar Member
    Reputation
    1
    Join Date
    Sep 2013
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with basic dispel script?

    Anyone know how to fix this code? It's supposed to dispel everything except certain buffs like lifebloom. The dispel portion works but I can't get it to stop dispelling on LB.

    Code:
    local lb = UnitBuff("target", 33763) -- Lifebloom
    
    if lb then
    return false
    end
    
    for i = 1, 40 do
    	local buff = { UnitBuff("target", i) }
    	if buff[9] then
    		return true
    	end
    end
    TY!

    Help with basic dispel script?
  2. #2
    G0tha's Avatar Member
    Reputation
    9
    Join Date
    Jul 2013
    Posts
    76
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    local lb = UnitBuff("target","Lifebloom") -- Lifebloom
    http://www.wowwiki.com/API_UnitBuff
    Last edited by G0tha; 11-17-2014 at 09:27 AM.

Similar Threads

  1. Need help with threat mob scripting
    By yashirotcm in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 07-31-2009, 02:05 PM
  2. Need help with an LUA script.
    By Ryoken in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-21-2009, 09:30 PM
  3. Need help with a PHP Script
    By Fireking300 in forum Programming
    Replies: 2
    Last Post: 06-13-2009, 02:27 PM
  4. Help with this LUA script
    By jordash in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-08-2008, 04:19 PM
  5. {question} Alil help with the .M2 script for 3DS max
    By BH5432 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 01-17-2008, 07:55 PM
All times are GMT -5. The time now is 08:00 PM. 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