wolfrain62
Member
- Joined
- Aug 22, 2014
- Messages
- 137
So I am trying to finish up a ninja routine and I ran into a problem with my mutilate condition. I want to make sure that it will not break my combo chain. All the conditions work except for Armor Crush. I tried LastSpell.Name == "Armor Crush" and also the LastSpellId == 3563 but mutilate never casts after armor crush. However it can cast after Dancing Edge, Shadow Fang, and Aeolian Edge. Any help is much appreciated.
Code:
public static async Task<bool> Mutilate()
{
if (Me.CurrentTarget.HasAura(AuraBook.ShadowFang) && !Me.CurrentTarget.HasAura(AuraBook.Mutilate, true, NinjaSettings.MutilationClip) && (Actionmanager.LastSpellId == 3563 || Actionmanager.LastSpellId == 2251 || Actionmanager.LastSpellId == 2255 || Actionmanager.LastSpellId == 2257))
{
await Spell.CastSpell("Mutilate", () => true);
}
return false;
}
Last edited: