Jump to content
  • 0

Change cost of unlearning pet skills


hewasanhero

Question

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;

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

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