void Reset()
        {
            Pyroblast_cd = 0;
            FireBlast_cd = 0;
            DragonBreath_cd = 0;
            Living_Bomb_cd = 0;
            //Combustion_cd = 30000;//30 sec for reset
            Ice_Barrier_cd = 0;
            Iceblock_cd = 0;
            ConeofCold_cd = 0;
            Blizzard_cd = 10000;
            CounterSpell_cd = 0;
            Evocation_cd = 0;
            Blink_cd = 0;
            Bolt_cd = 0;
            Nova_cd = 0;
            polyCheckTimer = 0;
            fmCheckTimer = 0;
            Polymorph = false;
            clearcast = false;
            BOLT = 0;
            NOVA = 0;

            if (master)
            {
                setStats(CLASS_MAGE, me->getRace(), master->getLevel(), true);
                ApplyClassPassives();
                ApplyPassives(CLASS_MAGE);
           }
        }
示例#2
0
        void Reset()
        {
            Torment_cd = 0;

            if (master && m_creatureOwner)
            {
                setStats(master->getLevel(), PET_TYPE_VOIDWALKER, true);
                ApplyPassives(PET_TYPE_VOIDWALKER);
                ApplyClassPassives();
                SetBaseArmor(162 * master->getLevel());
            }
        }
示例#3
0
        void Reset()
        {
            ArcaneShot_cd = 0;
            ChimeraShot_Timer = 0;
            SilencingShot_Timer = 0;
            AimedShot_Timer = 0;
            Feign_Death_Timer = 0;

            if (master)
            {
                setStats(CLASS_HUNTER, me->getRace(), master->getLevel(), true);
                ApplyClassPassives();
                ApplyPassives(CLASS_HUNTER);
             }
        }
示例#4
0
        void Reset()
        {
            Rain_of_fire_cd = 0;
            Haunt_cd = 0;
            conflagarate_cd = 0;
            chaos_bolt_cd = 0;
            fear_cd = 0;

            if (master)
            {
                setStats(CLASS_WARLOCK, me->getRace(), master->getLevel(), true);
                //TODO: passives
                ApplyClassPassives();
                ApplyPassives(CLASS_WARLOCK);
            }
        }