Jump to content

Recommended Posts

Posted

* What bug does the patch fix? What features does the patch add?

Both health & level of summoned MINI_PET are 1, this fix makes it more bllizzlike.

* For which repository revision was the patch created?

[7743]

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

No

* Who has been writing this patch? Please include either forum user names or email addresses.

Me.

Patch:

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 30d2c62..f5015e8 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5970,9 +5970,7 @@ void Spell::EffectSummonCritter(uint32 i)

    critter->AIM_Initialize();
    critter->InitPetCreateSpells();                         // e.g. disgusting oo
-    critter->SetMaxHealth(1);
-    critter->SetHealth(1);
-    critter->SetLevel(1);
+    critter->SelectLevel(critter->GetCreatureInfo());

    // set timer for unsummon
    int32 duration = GetSpellDuration(m_spellInfo);

Posted
Doesn't work. I'm usin' 7732 with manafix (this one works) and fleeing fix (which deosnt work as well).

Applied manually.

Works for me.

Maybe you should clean your client Cache, or check table creature_template?

Posted
How do I clean client cache?

BTW> Does it matter that I test it on Westfall Chicken?

aha, Westfall Chicken does have health & level 1, you can try Great Horned Owl in Darnassus.

btw, to clean client cache, just delete your <WoW>\\Cache folder, ok, I think maybe it's not necessary.

Posted
One owl has 64 hp adn the other one 600, but they're still level 1. It's supposed to be that way, right?

Yes, it's right. You can check table creature_template, both are level 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