Jump to content

Sunder Armor


Garub

Recommended Posts

  • 4 weeks later...
54 minutes ago, Ordush said:

Can not be done on Vanilla, without a lot of tinkering.
I know that you are using fightclass editor. ?

Does ObjectManager.Target.BuffStack not work? I have a prot warr fightclass which used to have this working (can't 100% remember how), however the person said the stacks don't actually matter because sunder is actually just a rage aggro builder as well so it's used as a filler.

Edited by Marsbar
aggro, not rage
Link to comment
Share on other sites

3 hours ago, Marsbar said:

Does ObjectManager.Target.BuffStack not work? I have a prot warr fightclass which used to have this working (can't 100% remember how), however the person said the stacks don't actually matter because sunder is actually just a rage aggro builder as well so it's used as a filler.

Yea but debuff timer doesn't work in vanilla, so you can't reapply.

Link to comment
Share on other sites

39 minutes ago, Ordush said:

Yea but debuff timer doesn't work in vanilla, so you can't reapply.

Ah okay so the way to go about it would be to start/reset a timer (couple of seconds shorter than the debuff duration) on each application of sunder and the condition to be timer.IsReady && BuffStack == 5

Link to comment
Share on other sites

2 hours ago, Marsbar said:

Ah okay so the way to go about it would be to start/reset a timer (couple of seconds shorter than the debuff duration) on each application of sunder and the condition to be timer.IsReady && BuffStack == 5

Yep.
I don't think the FC editor has timers, unless he adds it as C#. ?
Edit: He also has to base the timer on each mob he has the sunders on.
What he can do: Use mob GUID, and if mob has 4 sunder stacks then on next application add a timer based on that guid.
That is why i said the " without a lot of tinkering. " . ?

Edited by Ordush
Link to comment
Share on other sites

OP linked to a WotLK DB because he is actually a WotLK player. I noticed his spongebob icon and all the other 3.3.5a threads. So using Lua he can definitely achieve this.

Link to comment
Share on other sites

1 minute ago, Matenia said:

OP linked to a WotLK DB because he is actually a WotLK player. I noticed his spongebob icon and all the other 3.3.5a threads. So using Lua he can definitely achieve this.

You are completely right, i totally overlooked that lol.
I just saw Bambo mentioning me, and i instantly thought it was Vanilla, because that is what my FC is.
But, yeah wotlk is easy. You can even set the conditions in the FC editor.
Just add two conditions. one being 1-5 stacks. and another that reapply based on 5 stacks and x time left. ?

Link to comment
Share on other sites

  • 1 year later...
8 hours ago, kuckla said:

I cant make it work… tried everything but it just wont let me do this!

Trying to have it in my DPS wotlk warrior Rotation so it applies the sunders at x time left but i cant make it work.

 

Warrior test.xml 1.36 kB · 2 downloads

Hello, 

Try this, it should work. put into your fightclass editor and enable C# code.

if (Target.HaveBuff("Sunder Armor") && Player.RagePercentage >= 30 
                && Target.BuffStack("Sunder armor") <= 4 && Target.HealthPercent >= 30
                && SpellManager.KnowSpell("Sunder Armor"))
            {
                SpellManager.CastSpellByNameLUA("Sunder Armor");
                Thread.Sleep(150);

            }

 

Link to comment
Share on other sites

  • 3 years later...

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
×
×
  • Create New...