diff --git a/zone/pets.cpp b/zone/pets.cpp index 5a39e6fbe7..0d14c413b0 100644 --- a/zone/pets.cpp +++ b/zone/pets.cpp @@ -75,103 +75,6 @@ void GetRandPetName(char *name) strn0cpy(name, temp.c_str(), 64); } -//not used anymore -/*int CalcPetHp(int levelb, int classb, int STA) -{ - int multiplier = 0; - int base_hp = 0; - switch(classb) { - case WARRIOR:{ - if (levelb < 20) - multiplier = 22; - else if (levelb < 30) - multiplier = 23; - else if (levelb < 40) - multiplier = 25; - else if (levelb < 53) - multiplier = 27; - else if (levelb < 57) - multiplier = 28; - else - multiplier = 30; - break; - } - case DRUID: - case CLERIC: - case SHAMAN:{ - multiplier = 15; - break; - } - case PALADIN: - case SHADOWKNIGHT:{ - if (levelb < 35) - multiplier = 21; - else if (levelb < 45) - multiplier = 22; - else if (levelb < 51) - multiplier = 23; - else if (levelb < 56) - multiplier = 24; - else if (levelb < 60) - multiplier = 25; - else - multiplier = 26; - break; - } - case MONK: - case BARD: - case ROGUE: - case BEASTLORD:{ - if (levelb < 51) - multiplier = 18; - else if (levelb < 58) - multiplier = 19; - else - multiplier = 20; - break; - } - case RANGER:{ - if (levelb < 58) - multiplier = 20; - else - multiplier = 21; - break; - } - case MAGICIAN: - case WIZARD: - case NECROMANCER: - case ENCHANTER:{ - multiplier = 12; - break; - } - default:{ - if (levelb < 35) - multiplier = 21; - else if (levelb < 45) - multiplier = 22; - else if (levelb < 51) - multiplier = 23; - else if (levelb < 56) - multiplier = 24; - else if (levelb < 60) - multiplier = 25; - else - multiplier = 26; - break; - } - } - - if (multiplier == 0) - { - LogFile->write(EQEMuLog::Error, "Multiplier == 0 in CalcPetHp,using Generic....");; - multiplier=12; - } - - base_hp = 5 + (multiplier*levelb) + ((multiplier*levelb*STA) + 1)/300; - return base_hp; -} -*/ - void Mob::MakePet(uint16 spell_id, const char* pettype, const char *petname) { // petpower of -1 is used to get the petpower based on whichever focus is currently // equipped. This should replicate the old functionality for the most part.