*Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-21 09:48:44 -06:00
1 parent 55695eda78
commit a84e757793
10 files changed
+162 -131

No files matched your search

+2 -2
View File
@@ -1845,7 +1845,7 @@ bool ChatHandler::HandleNpcTameCommand(const char* /*args*/)
pet->SetUInt32Value(UNIT_FIELD_LEVEL, level);
// caster have pet now
player->SetPet(pet);
player->SetPet(pet, true);
pet->SavePetToDB(PET_SAVE_AS_CURRENT);
player->PetSpellInitialize();
@@ -4375,7 +4375,7 @@ bool ChatHandler::HandleCreatePetCommand(const char* args)
// visual effect for levelup
pet->SetUInt32Value(UNIT_FIELD_LEVEL,creatureTarget->getLevel());
player->SetPet(pet);
player->SetPet(pet, true);
pet->SavePetToDB(PET_SAVE_AS_CURRENT);
player->PetSpellInitialize();