Jump to content

Reset cooldown on dismiss pet


Recommended Posts

Posted

Heya,

When you dismiss your water elemental and use cold snap to summon it back up again, it will have its old cooldown and thats wrong.

I've solved it now.

Dont know if its the best way, but works :)

@@ -422,7 +422,8 @@ void Pet::SavePetToDB(PetSaveMode mode)
            RemoveAllAuras();

        _SaveSpells();
-        _SaveSpellCooldowns();
+        if(!getPetType()==SUMMON_PET) 
+            _SaveSpellCooldowns();
        _SaveAuras();

        uint32 loyalty =1;

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use