If your lower then lvl 36 then you cant cast Corruption while in Meta
Therefore you just stand there looking at the target.
If your lower then lvl 36 then you cant cast Corruption while in Meta
Therefore you just stand there looking at the target.
public static Composite CreateWarlockDemonologyNormalPull()
{
return new PrioritySelector(
Safers.EnsureTarget(),
Movement.CreateMoveToLosBehavior(),
Movement.CreateFaceTargetBehavior(),
Spell.WaitForCast(true),
Spell.Cast("Shadowbolt", ret => StyxWow.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis")),
Spell.Buff("Corruption",true),
Movement.CreateMoveToTargetBehavior(true, 35f)
);
}
public static Composite CreateWarlockDemonologyNormalPull()
{
return new PrioritySelector(
Safers.EnsureTarget(),
Movement.CreateMoveToLosBehavior(),
Movement.CreateFaceTargetBehavior(),
Spell.WaitForCast(true),
Spell.Cast("Shadowbolt", ret => StyxWoW.Me.HasAura("Metamorphosis")),
Spell.Buff("Corruption",true),
Movement.CreateMoveToTargetBehavior(true, 35f)
);
}
i havent tested this yet but could be something like this?
string MetaSpell = "";
public static Composite CreateWarlockDemonologyNormalPull()
{
if (StyxWoW.Me.Level >= 36)
Metaspell = "Corruption";
else if (StyxWoW.Me.Level < 36)
{
MetaSpell = "Shadowbolt";
}
return new PrioritySelector(
Safers.EnsureTarget(),
Movement.CreateMoveToLosBehavior(),
Movement.CreateFaceTargetBehavior(),
Spell.WaitForCast(true),
Spell.Cast("MetaSpell" && StyxWoW.Me.HasAura("Metamorphosis")),
Spell.Buff("Corruption",true),
Movement.CreateMoveToTargetBehavior(true, 35f)
);
}
for meta issue?
string MetaSpell = "";
if (StyxWoW.Me.Level >= 36 && StyxWoW.Me.HasAura("Metamorphosis"))
MetaSpell = "Corruption";
else if (StyxWoW.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis"))
{
MetaSpell = "Shadowbolt";
}
else if (StyxWoW.Me.Level < 36 && !StyxWoW.Me.HasAura("Metamorphosis"))
{
MetaSpell = "Corruption";
}
Spell.Cast("Shadowbolt", ret => StyxWoW.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis")),
Spell.Buff("Corruption",true),
new Decorator(ret => StyxWoW.Me.HasAura("Metamorphosis"),
new PrioritySelector(
Spell.Buff("Corruption", ret => StyxWoW.Me.Level >= 36 && StyxWoW.Me.CurrentTarget.HasAura("Doom")),
Spell.Cast("Shadowbolt")),
just use my uploaded code it does the same thing, when i finished adding some other features ill upload it.
wow, guess u cant help some ppl