Esempio n. 1
0
    public void Damage()
    {
        if (VampiricTouch.IsSpellUsable && !ObjectManager.Target.HaveBuff(VampiricTouch.Name))
        {
            MyHelpers.castSpell(VampiricTouch.Name);

            return;
        }

        if (VoidEruption.IsSpellUsable)
        {
            MyHelpers.castSpell(VoidEruption.Name);

            return;
        }

        if (ShadowWordVoid.IsSpellUsable)
        {
            MyHelpers.castSpell(ShadowWordVoid.Name);

            return;
        }
        if (Shadowfiend.IsSpellUsable)
        {
            MyHelpers.castSpell(Shadowfiend.Name);

            return;
        }
        if (MindFly.IsSpellUsable && !MyHelpers.isChanneling())
        {
            MyHelpers.castSpell(MindFly.Name);

            return;
        }
    }