Hi guys!
im looking for a macro for the skill "Shot" that ends when the mob is dead.
thank you!
Hi guys!
im looking for a macro for the skill "Shot" that ends when the mob is dead.
thank you!
I would think of something like
CastSpellbyName ("Skillname")
wait x x= cooldown from the skill / global cooldown
CastSpellbyName ("Skillname")
wait x
....
Problem is - this is limited to a few iterations.
Therefor if the mob is dead - it will stop since there´s no target anymore
If the mob isn´t dead - it stops because of the limited iterations.
If you really want to do a skill "until the mob is dead"
You´ll need something like
Not sure if this works... just gave it 5min of thinking about it
This will do the same thing like above but 999 times with 1s wait (global cooldown? )
if you really want to do this forever (e.g. target has 100.000.000 HP and you make 1 dmg each) you would need
"i=1,0" (where i´m not sure if this isn´t deactivated) or just a really high number
can´t test this one right now since i´m not at home
Display MoreI would think of something like
CastSpellbyName ("Skillname")
wait x x= cooldown from the skill / global cooldown
CastSpellbyName ("Skillname")
wait x
....
Problem is - this is limited to a few iterations.
Therefor if the mob is dead - it will stop since there´s no target anymore
If the mob isn´t dead - it stops because of the limited iterations.
If you really want to do a skill "until the mob is dead"
You´ll need something like
Not sure if this works... just gave it 5min of thinking about it
This will do the same thing like above but 999 times with 1s wait (global cooldown? )
if you really want to do this forever (e.g. target has 100.000.000 HP and you make 1 dmg each) you would need
"i=1,0" (where i´m not sure if this isn´t deactivated) or just a really high number
can´t test this one right now since i´m not at home
You cannot use wait in loops. That's why there is no way (to my knowledge) to write loops with skills in them. They removed these possibilities because of bots.
No wait in loops - ok
but what about this macro without wait but i=1,0
yes it will give you tons of "can´t do this right now - skill has cooldown"
but simply put it should go on forever? or not? Is this also deactivated?
Sry i don´t use macros this much and don´t write that many...
honestly, you should just put shot in your macro rotation:
/run if GetActionUsable(shot slot #) then CastSpellByName("Shot");else CastSpellByName("Vampire Arrows");end
It almost sounds like you want an autoshot macro for afk'ing kills?
yes its for a s/w
at this moment im using this
/cast shot
/wait 1
/cast shot
/wait 1
/cast shot
/wait 1
/cast shot
/wait 1
/cast shot
...
...
now when the mob is dead it still casting shot and my char run to the dead mob and its annoying
im looking for some macro that while im fighting a mob it auto cast shot like the skill "autoshot" but stop the macro when the mob is dead
or just a way to stop the macro when i want
I guess you could loop the following in your macro instead of just /cast Shot:
/run if GetActionUsable(shot slot #) and UnitHealth("target")>0 then CastSpellByName("Shot");end
/wait 2
This would only cast Shot if it was available & Shot's cd is 2 seconds.
Display MoreI guess you could loop the following in your macro instead of just /cast Shot:
/run if GetActionUsable(shot slot #) and UnitHealth("target")>0 then CastSpellByName("Shot");end
/wait 2
This would only cast Shot if it was available & Shot's cd is 2 seconds.
thank you!
but i tried it and dont work
only say nothing on chat
Display MoreI would think of something like
CastSpellbyName ("Skillname")
wait x x= cooldown from the skill / global cooldown
CastSpellbyName ("Skillname")
wait x
....
Problem is - this is limited to a few iterations.
Therefor if the mob is dead - it will stop since there´s no target anymore
If the mob isn´t dead - it stops because of the limited iterations.
If you really want to do a skill "until the mob is dead"
You´ll need something like
Not sure if this works... just gave it 5min of thinking about it
This will do the same thing like above but 999 times with 1s wait (global cooldown? )
if you really want to do this forever (e.g. target has 100.000.000 HP and you make 1 dmg each) you would need
"i=1,0" (where i´m not sure if this isn´t deactivated) or just a really high number
can´t test this one right now since i´m not at home
thank you for your time but dont worked
Display MoreDisplay MoreI guess you could loop the following in your macro instead of just /cast Shot:
/run if GetActionUsable(shot slot #) and UnitHealth("target")>0 then CastSpellByName("Shot");end
/wait 2
This would only cast Shot if it was available & Shot's cd is 2 seconds.
thank you!
but i tried it and dont work
only say nothing on chat
On your screen, I don't see that you have Shot on your actionbar at all. You need to have it on your actionbar and put the slot # (1-80) into the macro.
The other thing is that you might need to type the 2 lines into the macro first & then copy/paste those 2 lines. The game sometimes doesn't like copy/paste from forums.
Display MoreDisplay MoreDisplay MoreI guess you could loop the following in your macro instead of just /cast Shot:
/run if GetActionUsable(shot slot #) and UnitHealth("target")>0 then CastSpellByName("Shot");end
/wait 2
This would only cast Shot if it was available & Shot's cd is 2 seconds.
thank you!
but i tried it and dont work
only say nothing on chat
On your screen, I don't see that you have Shot on your actionbar at all. You need to have it on your actionbar and put the slot # (1-80) into the macro.
The other thing is that you might need to type the 2 lines into the macro first & then copy/paste those 2 lines. The game sometimes doesn't like copy/paste from forums.
like this? dont working sorry im noob at macros xd
No, it should be :
GetActionUsable(1)
instead of :
GetActionUsable(shot slot 1)
Display MoreNo, it should be :
GetActionUsable(1)
instead of :
GetActionUsable(shot slot 1)
working now! but it only do 1 shot and i can paste this only 2 times
Download the addon "Extended Macro Icons" (or similar name). It doesn't just give you more icons for macros, but also increases the macro length by at least 5-6x.
^ too late
perfect thank you guys!