I liked your znecro script I ran into some issues with channeling pylons though. The znecro would just death nova repeatedly and not generate any globes (i.e., devour).
Also imo deathnova is just to proc zodiac for land of the dead so there's no reason to cast it if lotd is off cd.
Great work!!
I have a question for you, is it possible to have the script pick the leader based on username? I think for the double rath + zbarb + znecro setup I would want my znecro to be the leader.
I made the following modification to address the aformentioned issues:
Also imo deathnova is just to proc zodiac for land of the dead so there's no reason to cast it if lotd is off cd.
Great work!!
I have a question for you, is it possible to have the script pick the leader based on username? I think for the double rath + zbarb + znecro setup I would want my znecro to be the leader.
I made the following modification to address the aformentioned issues:
Code:
private bool GetPower_lotdActive(TrinityActor leader, out TrinityPower power)
{
power = null;
TrinityActor target;
//LogMessage($"mana, maxmana, manapct = {Player.PrimaryResource}, {Player.PrimaryResourceMax}, {Player.PrimaryResourcePct}");
if (Player.HasBuff(SNOPower.Pages_Buff_Infinite_Casting) && Skills.Necromancer.LandOfTheDead.CanCast()) {
power = Devour();
return true;
}
else if (!Skills.Necromancer.LandOfTheDead.CanCast() && ShouldDeathNova(leader, out target))
{
power = DeathNova(target);
return true;
}
else if (ShouldBoneSpear(leader, out target))
{
power = BoneSpear(target);
return true;
}
else if (ShouldDevour())
{
power = Devour();
return true;
}
else return false;
}
Last edited: