What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Warlock Soulburn and Soul Swap / Soulstone

ChrillePan

New Member
Joined
Dec 5, 2011
Messages
24
Reaction score
0
I try to make my own routines but it will not work as simple as i thougt :)

I want to use Soulburn in preperation for Soul Swap and than casting Soul Swap itself!

I try to cast Souldburn as first and the toon will do it, but then it starts directly with Malefic Grasp

So, my first issue^^

The other one,
how can I buffed myself the soulstone?
I try to rename all parts of the textparts, but nothing :/

Grtz Chrille

I forget the most Important: My Code ( Part of it ) :D

Soulstone

Code:
private static bool NeedToCreateHealthStone
        {
            get
            {
                return !StyxWoW.Me.CarriedItems.Any(i => i.ItemSpells.Any(s => s.ActualSpell != null && s.ActualSpell.Name == "Healthstone"));
            }
        }

        private static bool NeedToCreateSoulStone
        {
            get
            {
                return !StyxWoW.Me.CarriedItems.Any(i => i.ItemSpells.Any(s => s.ActualSpell != null && s.ActualSpell.Name == "Soulstone"));
            }
        }

        [Behavior(BehaviorType.PreCombatBuffs, WoWClass.Warlock)]
        public static Composite CreateWarlockPreCombatBuffs()
        {
            return new PrioritySelector(
                Spell.WaitForCast(true),
                Spell.BuffSelf("Create Healthstone", ret => NeedToCreateHealthStone),
                Spell.BuffSelf("Create Soulstone", ret => NeedToCreateSoulStone),
                new Decorator(
                    ret => !StyxWoW.Me.HasAura("Soulstone"),
                    new PrioritySelector(
                        ctx => Item.FindFirstUsableItemBySpell("Soulstone"),
                        new Decorator(
                            ret => ret != null,
                            new Sequence(
                                new Action(ret => Logger.Write("Using soulstone on myself")),
                                new Action(ret => WoWMovement.MoveStop()),
                                new Action(ret => StyxWoW.Me.ClearTarget()),
                                new Action(ret => ((WoWItem)ret).Use()),
                                new WaitContinue(System.TimeSpan.FromMilliseconds(500), ret => false, new ActionAlwaysSucceed()))))),
                Spell.BuffSelf("Dark Intent", ret => !StyxWoW.Me.HasAura("Dark Intent")),
                Spell.BuffSelf("Health Funnel", ret => StyxWoW.Me.GotAlivePet && PetManager.PetTimer.IsFinished && StyxWoW.Me.Pet.HealthPercent < 60 && StyxWoW.Me.HealthPercent > 40)
                );
        }

Code:
{
            return new PrioritySelector(
                Spell.WaitForCast(false),
                Pet.CreateSummonPet("Voidwalker"),
                new Decorator(
                    ret => !SpellManager.HasSpell("Summon Voidwalker"),
                    Pet.CreateSummonPet("Voidwalker")),
                Spell.Buff("Dark Intent", 
                    ret => StyxWoW.Me.PartyMembers.OrderByDescending(p => p.MaxHealth).FirstOrDefault(), 
                    ret => !StyxWoW.Me.HasAura("Dark Intent")),
		Spell.Buff("Soulstone", 
                    ret => StyxWoW.Me.PartyMembers.OrderByDescending(p => p.MaxHealth).FirstOrDefault(), 
                    ret => !StyxWoW.Me.HasAura("Soulstone"))
                );
        }

Dark Intent work, sometimes Soulstone, but not every time :/

Soulburn and Soul Swap

Code:
{
            return new PrioritySelector(
                Safers.EnsureTarget(),
                Movement.CreateMoveToLosBehavior(),
                Movement.CreateFaceTargetBehavior(),
                Spell.WaitForCast(true),
                Spell.PreventDoubleCast(_Doublecast),
                Helpers.Common.CreateAutoAttack(true),
                Helpers.Common.CreateInterruptSpellCast(ret => StyxWoW.Me.CurrentTarget),



                //Double cast protection
                //new Decorator(ret => StyxWoW.Me.CurrentTarget.HasMyAura("Unstable Affliction") && StyxWoW.Me.CastingSpell != null && StyxWoW.Me.CastingSpell.Name == "Unstable Affliction",
                 //   new Styx.TreeSharp.Action(r => SpellManager.StopCasting())),

                new Decorator(ret=> StyxWoW.Me.CurrentTarget.HealthPercent > 20.0f, 
                    new PrioritySelector(
		Spell.Cast("Haunt", ret => !StyxWoW.Me.CurrentTarget.HasMyAura("Haunt")),
                Spell.Cast("Soulburn", ret => !StyxWoW.Me.HasAura("Soulburn")),
                Spell.Cast("Soul Swap", ret => StyxWoW.Me.HasAura("Soulburn")),           
                Spell.Cast("Malefic Grasp")
                )) ,
                 new Decorator(ret=> StyxWoW.Me.CurrentTarget.HealthPercent <= 20.0f, 
                     new PrioritySelector(
                         Spell.Buff("Haunt", ret => !StyxWoW.Me.CurrentTarget.HasMyAura("Haunt")),
                	 Spell.Cast("Drain Soul"))),


                Movement.CreateMoveToTargetBehavior(true, 35f)
                );
        }

Soul Swap will not be casted :/
 
Last edited:
Code:
new Decorator(
                            ret => StyxWoW.Me.CurrentTarget.CurrentHealth > 600000 && AgonyTime <= 0 && UnstableAfflictionTime <= 0 && CorruptionTime <= 0,
                            new PrioritySelector(
                                Spell.Cast("Soulburn", ret => StyxWoW.Me.CurrentSoulShards > 0),
                                new Decorator(
                                    ret => SpellManager.Spells["Soulburn"].Cooldown,
                                    new Styx.TreeSharp.Action(r => { SpellManager.Cast("Soul Swap"); return RunStatus.Success; })))),



This worked in my CC. I forced it as Soulburn has an internal cooldown. I couldn't get a return on the Soulburn Aura..... Maybe it will get fixed later, who knows
 
Back
Top