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

    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;
    }

    Link to comment
    Share on other sites

    [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.

    Link to comment
    Share on other sites



    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