Jump to content
  • Hunter Pet Despawn


    gabrielesani
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Minor
      Version: 21.0 Milestone: 20 Priority: New
      Implemented Version: 0.20

    Hunter Pet Despawn

    If your pet reach 0 hp, instead of dying it will despawn. When you call it back he will respawn with 1 hp (making the spell Revive Pet useless). This shouldn't be the case: if the pet dies it should show death animation and remain on the ground. Then you would have to revive him.


    User Feedback

    Recommended Comments

    syncrosised

    Posted

    I managed to get this fixed. (with the help of Olion)

    PS: i dont know how to add this to the main source.

    In Pet.cpp
    Replace:
    case CORPSE:
    {
    Unsummon(PET_SAVE_NOT_IN_SLOT);
    break;
    }


    With:
    case CORPSE:
    {
    if (getPetType() != HUNTER_PET || m_corpseRemoveTime {
    Unsummon(PET_SAVE_NOT_IN_SLOT); //hunters' pets never get removed because of death, NEVER!
    return;
    }
    break;
    }

    syncrosised

    Posted

    I did notice that this is a quick fix, if your pet is out of range, you can still call it back to life with 1hp

    H0zen

    Posted

    Fixed with [URL="https://github.com/mangoszero/server/pull/126"]this PR[/URL]

    syncrosised

    Posted

    [quote=H0zen]Fixed with [URL="https://github.com/mangoszero/server/pull/126"]this PR[/URL][/quote]

    I tested it now. but if you dismis your pet, you remove your pet.
    and is your pet dies, and you die, you also lose your pet.

    H0zen

    Posted

    Thanks for your feedback. Indeed, there was a mistake, hope everything is fine now, [URL="https://github.com/mangoszero/server/pull/127"]with this PR[/URL]



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • 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