Stop Casting Spell for Kill Shot? menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Totoy Tulog's Avatar Member
    Reputation
    3
    Join Date
    May 2015
    Posts
    43
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Stop Casting Spell for Kill Shot?

    Code:
    /run hpt=UnitHealth("target")/UnitHealthMax("target")
    /run up=UnitPower("Player")
    /run c=CastSpellByName
    /run u=IsUsableSpell
    /run if hpt <= 0.20 and u("Kill Shot")==1 then c("Kill Shot") end
    /run if hpt >= 0.50 and u("Aimed Shot")==1 then c("Aimed Shot") end
    /run if hpt >= 0.20 and u("Arcane Shot")==1 then c("Arcane Shot") end
    /run if up <= 25 and u("Steady Shot")==1 then c("Steady Shot") end
    Problem with my macro is that It wont Cancel Aimed Shot or Steady Shot Casting when Kill Shot is available at 20% HP or less.

    Maybe there a way to do it.

    I tried and didnt work.
    Code:
    /run if hpt <= 0.20 SpellStopCasting() and u("Kill Shot")==1 then c("Kill Shot") end

    Stop Casting Spell for Kill Shot?

Similar Threads

  1. [Request] Need PQR Function for cheking target name and casting spell by dat name.
    By DarhangeR in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 11-12-2018, 07:29 AM
  2. Looking for reliable way to cast spells...
    By akh in forum WoW Memory Editing
    Replies: 2
    Last Post: 01-02-2009, 02:21 PM
  3. [GUIDE] - Scripting for Antrix, Making Mobs Talk, Cast Spells, etc
    By Greed in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 12-10-2007, 07:51 PM
  4. Free mana spells for priests
    By xgoblin in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 02-04-2007, 10:20 PM
  5. Replies: 25
    Last Post: 11-28-2006, 11:23 PM
All times are GMT -5. The time now is 06:12 AM. 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