Fire Mage CC - MMOCrawlerbots | WoW Bot Forum
Important: Please register to see attachments and use the bot.

Author Topic: Fire Mage CC  (Read 509 times)

October 22, 2012, 15:26:45 PM

mathex

  • ***
  • Posts: 101
  • Reputation: 9
  • Profiles
    • View Profile
This is a CC for fire mages. Not much explanation is needed her you go.

Code: Lua
  1.         function Settings()
  2.                 FightDist = 15;
  3.                 PullDist = 35;
  4.         end
  5.  
  6.         function PullMob(MobAddr)
  7.                 -- Pulling with Fireball
  8.                 _Log("Pull with: Fireball");
  9.                 CastSpellByID(133 , MobAddr , true);
  10.         end
  11.  
  12.         function NextAction()
  13.                 if true then return end
  14.         end
  15.  
  16.         function Fight()
  17.                 Target = GetAttacker(1);
  18.                
  19.                 -- Molten Armor
  20.                 if IsSpellKnown(30482) and IsSpellReady(30482) and HasBuff(Player,30482) == false then
  21.                         _Log("Cast Molten Armor");
  22.                         CastSpellByID(30482 , Player , true);
  23.                         NextAction();
  24.                 end
  25.        
  26.                 -- Mirror Image on Cooldown
  27.                 if IsSpellKnown(55342) and IsSpellReady(55342) then
  28.                         _Log("Cast Mirror Image");
  29.                         CastSpellByID(55342 , Player , true);
  30.                         NextAction();
  31.                 end
  32.        
  33.                 -- Combustion if target has ignite debuff.
  34.                 if IsSpellKnown(11129) and IsSpellReady(11129) and HasBuff(Target,12654) == true then
  35.                         _Log("Cast Combustion");
  36.                         CastSpellByID(11129 , Target , true);
  37.                         NextAction();
  38.                 end
  39.        
  40.                 -- Casts Living Bomb when the debuff is not on the target.
  41.                 if IsSpellKnown(44457) and IsSpellReady(44457) and HasBuff(Target,12654) == false then
  42.                         _Log("Cast Living Bomb");
  43.                         CastSpellByID(44457 , Target , true);
  44.                         NextAction();
  45.                 end
  46.        
  47.                 -- Cast Pyroblast when Pyroblast! is procced.
  48.                 if IsSpellKnown(11366) and IsSpellReady(11366) and HasBuff(Player,48108) == true then
  49.                         _Log("Cast Instan Pyroblast");
  50.                         CastSpellByID(11366 , Target , true);
  51.                         NextAction();
  52.                 end
  53.        
  54.                 -- Cast Inferno Blast if Heating Up is procced.
  55.                 if IsSpellKnown(108853) and IsSpellReady(108853) and HasBuff(Player,48107) == true then
  56.                         _Log("Cast Inferno Blast");
  57.                         CastSpellByID(108853 , Target , true);
  58.                         NextAction();
  59.                 end
  60.        
  61.                 -- Fireball Filler
  62.                 if IsSpellKnown(133) and IsSpellReady(133) then
  63.                         _Log("Cast Fireball");
  64.                         CastSpellByID(133 , Target , true);
  65.                         NextAction();
  66.                 end
  67.         end
  68. end

Replace the text in mage.lua with this.
« Last Edit: October 24, 2012, 14:51:11 PM by telcy »
** WAITING FOR QUESTING MODE **

 

* Useful Links

WoW Bot - CrawlerBot
* Download
* Guide
* Info & Clip

* Useful Stuff