I just created my own little part for Force Lightning...
and added it into the bottom of the PVERotation
Now, if I tried to add it higher into the rotation, I.E. right below Cooldowns it would cast more often, but when it locked up it would halt the rest of the rotation. Whereas at the bottom when it locks up its completely ignored, but will cast when it's fine.
I also don't like running with the botloader as it makes my client freeze more after combat ends so thats why I have the BuddyTor.Me.Combat check in each ability, except for a new one I added... which could be a possibility as it's made as an opener from stealth... Spike. So I also added this into the rotation:
Spell.Cast("Spike", ret => Me.HasBuff("Stealth") && Me.CurrentTarget.Distance <= 0.5f)
My question to you guys is, where do I find an API listing of all the function calls, and what not for this. I'm trying to come up with a bit more but its hard when I don't know all the API
Code:
private Composite HandleForceLightning
{
get
{
return new PrioritySelector(
Spell.Cast("Force Lightning", ret => Me.HasBuff("Harnessed Darkness") && Me.BuffCount("Harnessed Darkness") == 3 && BuddyTor.Me.InCombat)
);
}
}
Code:
public override Composite PVERotation
{
get
{
return new PrioritySelector(
Spell.WaitForCast(),
HandleCoolDowns,
HandleAOE,
HandleSingleTarget,
HandleForceLightning
);
}
}
I also don't like running with the botloader as it makes my client freeze more after combat ends so thats why I have the BuddyTor.Me.Combat check in each ability, except for a new one I added... which could be a possibility as it's made as an opener from stealth... Spike. So I also added this into the rotation:
Spell.Cast("Spike", ret => Me.HasBuff("Stealth") && Me.CurrentTarget.Distance <= 0.5f)
My question to you guys is, where do I find an API listing of all the function calls, and what not for this. I'm trying to come up with a bit more but its hard when I don't know all the API