Jump to content
Sign in to follow this  
orwell

Rogue Macros

Recommended Posts

I need 2 macros.

1- Spammable stealth which won't get you out of stealth if pushed again, but when it's pushed with SHIFT, it gets you out of stealth.

2- Sinister Strike with spammable autoattack

Share this post


Link to post
Share on other sites

1- (Server down, not tested)

/run if ({GetSpellCooldown(GetSpellID("Stealth"),"spell")})[3]~=0 xor IsShiftKeyDown() then CastSpellByName("Stealth")end

2- I don't get what you need...

Share this post


Link to post
Share on other sites

a. Easier way - install addon from this thread

1.

/cast [nostealth] Stealth; [stealth mod:shift] Stealth

2.

/cast Sinister Strike

/cast !Attack

 

Without addons:

1.

Use one from post above

2.

/cast Sinister Strike

/script if not IsCurrentAction(60) then UseAction(60) end;

You need to place Attack button to slot 60 or any other just change number in macro. Slot numbers you can check here IbP6QK0.jpg

Share this post


Link to post
Share on other sites
Spoiler

 

The easiest way would be to just use 

/script if (not PlayerFrame.inCombat) then AttackTarget() end
/cast Sinister Strike

Share this post


Link to post
Share on other sites

This macro doesnt allow you to autochange targets in combat when previous target dies or when mob aggro on you first. So its not only easier but also worse.

Edited by Gregory

Share this post


Link to post
Share on other sites
11 hours ago, Gregory said:

This macro doesnt allow you to autochange targets in combat when previous target dies or when mob aggro on you first.

Is there a way to avoid that problem ?

The "dead mob still in target" is a little bit annoying.

Share this post


Link to post
Share on other sites
On 2/1/2017 at 3:56 PM, Gregory said:

 

1.

/cast [nostealth] Stealth; [stealth mod:shift] Stealth

2.

/cast Sinister Strike

/cast !Attack

 

Installed cast conditionals.

1 doesn't work. It works like normal stealth, getting me out of stealth on second click. Can u check that?

2. works nicely

Edited by orwell

Share this post


Link to post
Share on other sites
On 2/1/2017 at 2:07 PM, WobLight said:

1- (Server down, not tested)


/run if ({GetSpellCooldown(GetSpellID("Stealth"),"spell")})[3]~=0 xor IsShiftKeyDown() then CastSpellByName("Stealth")end

2- I don't get what you need...

1. gives an error, coulnd't upload image, can u test it?

Share this post


Link to post
Share on other sites
22 hours ago, orwell said:

1. gives an error, coulnd't upload image, can u test it?

Ah, looks like there's no 'xor' operator...

/run local i,a,sn sn="Stealth" i=0 while a~=sn do i=i+1 a=GetSpellName(i,"spell")end if ({GetSpellCooldown(i,"spell")})[3]~=0 == not IsShiftKeyDown() then CastSpellByName(sn)end

This should do.

 

EDIT:

Expanded GetSpellID, which was not defined.

Edited by WobLight

Share this post


Link to post
Share on other sites
17 hours ago, WobLight said:

Ah, looks like there's no 'xor' operator...


/run local i,a,sn sn="Stealth" i=0 while a~=sn do i=i+1 a=GetSpellName(i,"spell")end if ({GetSpellCooldown(i,"spell")})[3]~=0 == not IsShiftKeyDown() then CastSpellByName(sn)end

This should do.

 

EDIT:

Expanded GetSpellID, which was not defined.

Not getting out of stealth by shift clicking :(

Share this post


Link to post
Share on other sites
On 4/2/2017 at 6:48 AM, orwell said:

Not getting out of stealth by shift clicking :(

shift+click on buttons is used for sticky buttons and may not work, try to replace IsShiftKeyDown()  with IsControlKeyDown() (or IsAltKeyDown) and try using Ctrl (or Alt); or use a keybind.

Edit: Also check that shit+key is not already bound to something else by default.

Edited by WobLight

Share this post


Link to post
Share on other sites
On 2/4/2017 at 0:12 PM, WobLight said:

shift+click on buttons is used for sticky buttons and may not work, try to replace IsShiftKeyDown()  with IsControlKeyDown() (or IsAltKeyDown) and try using Ctrl (or Alt); or use a keybind.

Edit: Also check that shit+key is not already bound to something else by default.

It worked when I unbounded shift-R. Great call. ty!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×