예제 #1
0
파일: bot_mage_ai.cpp 프로젝트: ddark/ecl
 void ReduceCD(uint32 diff)
 {
     CommonTimers(diff);
     if (Pyroblast_cd > diff)            Pyroblast_cd -= diff;
     if (Ice_Barrier_cd > diff)          Ice_Barrier_cd -= diff;
     if (Iceblock_cd > diff)             Iceblock_cd -= diff;
     if (ConeofCold_cd > diff)           ConeofCold_cd -= diff;
     if (Living_Bomb_cd > diff)          Living_Bomb_cd -= diff;
     if (FireBlast_cd > diff)            FireBlast_cd -= diff;
     if (Bolt_cd > diff)                 Bolt_cd -= diff;
     if (Blizzard_cd > diff)             Blizzard_cd -= diff;
     if (CounterSpell_cd > diff)         CounterSpell_cd -= diff;
     if (Nova_cd > diff)                 Nova_cd -= diff;
     if (DragonBreath_cd > diff)         DragonBreath_cd -= diff;
     if (Blink_cd > diff)                Blink_cd -= diff;
     if (Combustion_cd > diff)           Combustion_cd -= diff;
     if (Evocation_cd > diff)            Evocation_cd -= diff;
     if (polyCheckTimer > diff)          polyCheckTimer -= diff;
     if (fmCheckTimer > diff)            fmCheckTimer -= diff;
 }
예제 #2
0
 void ReduceCD(uint32 diff)
 {
     CommonTimers(diff);
     if (Torment_cd > diff)              Torment_cd -= diff;
 }