GTXMike 21 Posted June 21, 2015 Share Posted June 21, 2015 Hello. I would like to add a spell that my pet can cast into my rotation but I have no clue how to do it as it's not on spell list. My water elemental can cast Freeze ( /cast Freeze ) that on some mobs can give me up to two extra fingers of frost, how to add it into rotation? I would like to keep my pet passive and let rotation to do the job with skill order that i want. Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/ Share on other sites More sharing options...
Droidz 2738 Posted June 21, 2015 Share Posted June 21, 2015 Hello, Use SpellSettings "Not spell, is lua script" and in spell name put: for i=1,50 do local spellName, spellSubName = GetSpellBookItemName(i, BOOKTYPE_PET) if spellName and spellName == "Growl" then CastSpell(i, BOOKTYPE_PET); end end Replace Growl by your spell name. (this code don't support multi languages wow clients) Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10365 Share on other sites More sharing options...
Droidz 2738 Posted June 21, 2015 Share Posted June 21, 2015 For multi languages support you can use this script: local name = GetSpellInfo(2649); if name then for i=1,50 do local spellName, spellSubName = GetSpellBookItemName(i, BOOKTYPE_PET) if spellName and spellName == name then CastSpell(i, BOOKTYPE_PET); end end end (remplace 2649 by your pet spell id) Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10366 Share on other sites More sharing options...
GTXMike 21 Posted June 22, 2015 Author Share Posted June 22, 2015 Thank you very much will try that :) Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10378 Share on other sites More sharing options...
GTXMike 21 Posted June 23, 2015 Author Share Posted June 23, 2015 Right so it is working but not yet as it should, the skill Freeze i want to use is an AOE same like Blizzard, i did select option AOE spell to cast it near the target but it wont, it will select the skill but it's waiting for my input to cast the spell, also option check if spell is usable is set to TRUE but yet bot is trying to use skill even if its not available so i set timer to 24000 as cool down is 24 seconds. How to fix this? So bot would actually use the skill as AOE skill. Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10379 Share on other sites More sharing options...
GTXMike 21 Posted June 23, 2015 Author Share Posted June 23, 2015 Right so it is working but not yet as it should, the skill Freeze i want to use is an AOE same like Blizzard, i did select option AOE spell to cast it near the target but it wont, it will select the skill but it's waiting for my input to cast the spell, also option check if spell is usable is set to TRUE but yet bot is trying to use skill even if its not available so i set timer to 24000 as cool down is 24 seconds. How to fix this? So bot would actually use the skill as AOE skill. Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10380 Share on other sites More sharing options...
GTXMike 21 Posted June 23, 2015 Author Share Posted June 23, 2015 How to add Garisson Ability into rotation, like Call to Arms? Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10391 Share on other sites More sharing options...
Droidz 2738 Posted June 27, 2015 Share Posted June 27, 2015 Right so it is working but not yet as it should, the skill Freeze i want to use is an AOE same like Blizzard, i did select option AOE spell to cast it near the target but it wont, it will select the skill but it's waiting for my input to cast the spell, also option check if spell is usable is set to TRUE but yet bot is trying to use skill even if its not available so i set timer to 24000 as cool down is 24 seconds. How to fix this? So bot would actually use the skill as AOE skill. Do you have try to use spell condition "CooldownEnabled"? Can you share the fightclass please. How to add Garisson Ability into rotation, like Call to Arms? Try to use this spell name: http://www.wowhead.com/spell=161691 Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10423 Share on other sites More sharing options...
GTXMike 21 Posted June 27, 2015 Author Share Posted June 27, 2015 This is my fight class profile for frost mage, without the code you provided me of course. I will try that Garisson Ability spell and let you know how it went. GTX Frost Mage.xml Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10425 Share on other sites More sharing options...
GTXMike 21 Posted June 27, 2015 Author Share Posted June 27, 2015 /cast garrison ability works fine thank you :) Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10426 Share on other sites More sharing options...
GTXMike 21 Posted June 28, 2015 Author Share Posted June 28, 2015 Droidz did you looked into issue with that pet skill that doesn't want to cast on target? Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10433 Share on other sites More sharing options...
GTXMike 21 Posted June 29, 2015 Author Share Posted June 29, 2015 I tried to do everything but bot still waiting for mouse input to click to cast the spell :/ Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10434 Share on other sites More sharing options...
Droidz 2738 Posted June 29, 2015 Share Posted June 29, 2015 Freeze is an AOE spell? If yes, wait next update, I have added AOE support for lua script (put "True" at spell setting "AOE Spell") Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10440 Share on other sites More sharing options...
GTXMike 21 Posted June 30, 2015 Author Share Posted June 30, 2015 Freeze is an AOE spell? If yes, wait next update, I have added AOE support for lua script (put "True" at spell setting "AOE Spell") Just checked Droidz it works perfect now, thank you. That will seriously improve DPS on the Frost Mage :) Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10445 Share on other sites More sharing options...
GTXMike 21 Posted June 30, 2015 Author Share Posted June 30, 2015 Updated my rotation to version 1.1 with Water Jet and Freeze :) available to download. Will add Prismatic Crystal when will reach level 100 :) Thank you Droidz. Droidz 1 Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10446 Share on other sites More sharing options...
GTXMike 21 Posted June 30, 2015 Author Share Posted June 30, 2015 Hiya Droidz there is one more issue with this. All works fine BUT the option Check if spell is usable doesn't work with LUA script and also condition If Spell Usable doesn't work with this, it means the bot is spamming this LUA script all the time. Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10453 Share on other sites More sharing options...
GTXMike 21 Posted June 30, 2015 Author Share Posted June 30, 2015 Had to fix spell spamming issue with 3 conditions: 1. Frostbolt casting = True 2. Fingers of Frost buff = False 3. Frozen Orb spell on cooldown = True Works like a charm now. Droidz 1 Link to comment https://wrobot.eu/forums/topic/2203-how-to-add-pets-skill-into-rotation/#findComment-10454 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now