Jump to content

hewasanhero

Members
  • Content Count

    2
  • Donations

    0.00 GBP 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hewasanhero

  • Rank
    Newbie

Core Infomation

  • Core
    Zero
  1. hewasanhero

    mangos zero Change cost of unlearning pet skills

    Haha, yeah. I won't deny that my solution is a bit hacky, but the fact that these values were hard-coded in the core is hacky in the first place. Oh well, should work just fine for my purposes.
  2. Just as said in the title, I've managed to change respec cost for players to 0 using the mangosd.conf file, but I can't find a similar option for unlearning pet skills. Another thing too is that you can select the 'untrain pet' option and have it take your gold even if your pet doesn't have any trained skills. I'm using v13 of brotalnia's Light's Hope repack. EDIT: Found the source of my issue. Turns out pet re-training costs are hard-coded in the core, specifically in the resetTalentsCost() function of Pet.cpp. Going to make a change in PetHandler.cpp so it always sets the cost to 0 rather than calling the resetTalentsCost() function. // PetHandler.cpp -- uint32 cost = pet->resetTalentsCost(); ++ uint32 cost = 0;

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×