Thread: AA fix
View Single Post
  #4  
Old 07-14-2004, 02:30 PM
Toopher10
Fire Beetle
 
Join Date: Jul 2004
Posts: 4
Default Final edition

Here is the final edition of the aa's this is non planar aa's. I will post the planar activated aa's as soon as i get them, but please, give me some feedback lol!

Code:
void Client::ActivateAA(int activate){ 
   int32 timermod=0; 
   switch(activate){ 


// ======Cleric Abilitie's=======

// Divine Resurrection, reuse time 18hours
      case 36: 
         MemorizeSpell(8,2738,3); 
         CastToMob()->CastSpell(2738,this->GetID()); 
         timermod=64800; 
         break;

// Innate invis to Undead, reuse time 7 secs  
      case 37: 
         MemorizeSpell(8,1427,3); 
         CastToMob()->CastSpell(1427,this->GetID()); 
         timermod=7; 
         break;
         
// Celestial Regeneration, reuse time 15 mins
      case 38: 
         MemorizeSpell(8,2740,3); 
         CastToMob()->CastSpell(2740,this->GetID()); 
         timermod=8640; 
         break;
         
// Bestow Divine Aura, reuse time 2 hour 24 mins 
      case 39: 
         MemorizeSpell(8,2690,3); 
         CastToMob()->CastSpell(2690,this->GetID()); 
         timermod=7200; 
         break;
         
// Turn Undead, reuse time 1 hour 12 mins 
      case 40: 
         MemorizeSpell(8,2776,3); 
         CastToMob()->CastSpell(2776,this->GetID()); 
         timermod=4320; 
         break;
         
// Purify Soul, resuse time 30 mins 
      case 46: 
         MemorizeSpell(8,2642,3); 
         CastToMob()->CastSpell(1427,this->GetID()); 
         timermod=1800; 
         break;
         
// ===========Druid===========

// Exodus, reuse time 1 hour 20 mins
      case 43: 
         MemorizeSpell(8,2771,3); 
         CastToMob()->CastSpell(2771,this->GetID()); 
         timermod=4800; 
         break;
         
// ==========Shaman===========

// Cannibalization, reuse time 30 seconds
      case 47: 
         MemorizeSpell(8,2749,3); 
         CastToMob()->CastSpell(2749,this->GetID()); 
         timermod=4180; 
         break;
         
// Rabid Bear, reuse time 2 hours
      case 50: 
         MemorizeSpell(8,2750,3); 
         CastToMob()->CastSpell(2750,this->GetID()); 
         timermod=7200; 
         break;
         
// =========Wizard===========
         
// Manaburn, reuse time 2hour 24 mins
      case 51: 
         MemorizeSpell(8,2751,3); 
         CastToMob()->CastSpell(2751,target->GetID()); 
         timermod=8640; 
         break;
         
// Nexus Gate, reuse time 1 hour 12 mins
      case 53: 
         MemorizeSpell(8,2945,3); 
         CastToMob()->CastSpell(2945,this->GetID()); 
         timermod=4320; 
         break;
         
// =========Enchanter=========

// Gather Mana, reuse time 2 hour 24 mins
      case 57: 
         MemorizeSpell(8,2753,3); 
         CastToMob()->CastSpell(2753,this->GetID()); 
         timermod=8640; 
         break;
         
// =========Mage==============

//  Mend Companion, reuse time 2 hour 24 mins
      case 58: 
         MemorizeSpell(8,2654,3); 
         CastToMob()->CastSpell(2654,this->GetID()); 
         timermod=8640; 
         break;

// Frenzied Burnout, reuse time 1 hour 12 mins
      case 60: 
         MemorizeSpell(8,2754,3); 
         CastToMob()->CastSpell(2754,this->GetID()); 
         timermod=4320; 
         break;

// Elemental form fire, reusetime 1 hour 12 mins
      case 61: 
         MemorizeSpell(8,2795,3); 
         CastToMob()->CastSpell(2795,this->GetID()); 
         timermod=4320; 
         break;

// Elemental form water, reuse time 1 hour 12 mins
      case 62: 
         MemorizeSpell(8,2798,3); 
         CastToMob()->CastSpell(2798,this->GetID()); 
         timermod=4320; 
         break;

// Elemental form earth, reuse time 1 hour 12 mins
      case 63: 
         MemorizeSpell(8,2792,3); 
         CastToMob()->CastSpell(2792,this->GetID()); 
         timermod=4320; 
         break;

// Elemental form Air, reuse time 1 hour 12 mins
      case 64: 
         MemorizeSpell(8,2789,3); 
         CastToMob()->CastSpell(2789,this->GetID()); 
         timermod=4320; 
         break;

// Turn summoned, reuse time 1 hour 12 mins
         case 66: 
         MemorizeSpell(8,2691,3); 
         CastToMob()->CastSpell(2691,this->GetID()); 
         timermod=4320; 
      break;

// ===========Necromancer=============

// Lifeburn. reuse time 2 hours, 24 mins
      case 68: 
         MemorizeSpell(8,2488,3); 
         CastToMob()->CastSpell(2488,this->GetID()); 
         timermod=8640; 
         break;

// Dead Mesmerization, reuse time 1 hour 12 mins
      case 69: 
         MemorizeSpell(8,2706,3); 
         CastToMob()->CastSpell(2706,this->GetID()); 
         timermod=4320; 
         break;

// Fearstorm, reusetime 1 hour 12 mins
      case 70: 
         MemorizeSpell(8,2707,3); 
         CastToMob()->CastSpell(2707,this->GetID()); 
         timermod=4320; 
         break;

// Flesh to bone, reusetime 7 seconds
      case 71: 
         MemorizeSpell(8,2772,3); 
         CastToMob()->CastSpell(2772,this->GetID()); 
         timermod=7; 
         break;
// Call to corpse, reuse time 1 hour 12 mins
      case 72: 
         MemorizeSpell(8,3284,3); 
         CastToMob()->CastSpell(3284,this->GetID()); 
         timermod=4320; 
         break;
         
// =======Palidin========

// Act of Valor, reuse time 1 hour 12 mins
      case 76: 
         MemorizeSpell(8,2775,3); 
         CastToMob()->CastSpell(2775,this->GetID()); 
         timermod=4320; 
         break;

// Holy Steed, reuse time 7 secs
      case 77: 
         MemorizeSpell(8,2782,3); 
         CastToMob()->CastSpell(2782,this->GetID()); 
         timermod=7; 
         break;

// ==========Ranger========

//  Innate Camouflage, reusetime 1 second
      case 80: 
         MemorizeSpell(8,2765,3); 
         CastToMob()->CastSpell(2765,this->GetID()); 
         timermod=1; 
         break;

// ========Shadow Knight===

// Unholy Steed, reusetime 7 secs
      case 85: 
         MemorizeSpell(8,2783,3); 
         CastToMob()->CastSpell(2783,this->GetID()); 
         timermod=7; 
         break;

// Improved harm touch, reusetime 1 hour 30 mins
      case 86: 
         MemorizeSpell(8,2964,3); 
         CastToMob()->CastSpell(2964,this->GetID()); 
         timermod=5400; 
         break;

// Leech Touch, reuse time 1 hour 30 mins
      case 87: 
         MemorizeSpell(8,610,3); 
         CastToMob()->CastSpell(610,this->GetID()); 
         timermod=5400; 
         break;

// =========Monk===========

// Purify Body, reuse time, 1 hour 12 mins
      case 98: 
         MemorizeSpell(8,2742,3); 
         CastToMob()->CastSpell(2742,this->GetID()); 
         timermod=4320; 
         break;
         
// ========Rogue==========

// Escape, reuse time 1 hour 12 mins
      case 102: 
         MemorizeSpell(8,5244,3); 
         CastToMob()->CastSpell(5244,this->GetID()); 
         timermod=4320; 
         break;
     
// Purge Posion, reuse time 1 hour 12 mins
      case 107: 
         MemorizeSpell(8,5232,3); 
         CastToMob()->CastSpell(5232,this->GetID()); 
         timermod=4320; 
         break;
         
// ========Beast Lord========

// Hobble of Spirits, reuse time 10 mins
      case 126: 
         MemorizeSpell(8,3280,3); 
         CastToMob()->CastSpell(3280,this->GetID()); 
         timermod=600; 
         break;
         
// Frenzy of Spirit, reuse time 15 mins
      case 127: 
         MemorizeSpell(8,3289,3); 
         CastToMob()->CastSpell(3289,this->GetID()); 
         timermod=900; 
         break;
         
// Paragon of Spirit, reuse time 15 mins
      case 127: 
         MemorizeSpell(8,3291,3); 
         CastToMob()->CastSpell(3291,this->GetID()); 
         timermod=900; 
         break; 
   }
Reply With Quote