Jump to content

[3.3.5] Making Hunters use Focus instead of Mana.

By Pyzayt
in Serverside

Recommended Posts

So, title pretty much summarises everything. I want to make the Hunter class on my 3.3.5 server use Focus as a resource rather than Mana, as it is in Cataclysm. I tried mess about with the ChrClasses.dbc file, but it didn't really go to plan.

Does anyone know how I could go about this? I need the Hunters to actually have Focus as a resource rather than Mana before I can go about making their spells use Focus.

Link to comment
Share on other sites

Isn't like Mana a category in the DBC file ? Maybe you might need a new category created like focus and assign that too the class/classes. Not sure If im correct here since I haven't been messing around with CharClasses.dbc , just throwing an idea on the table.

Like my project and you like to support me you can do it here!

Link to comment
Share on other sites

I got it working. Focus is already a Resource used in 3.3.5 (used solely by Hunter pets). In the end I had to edit the Unit.cpp and Player.cpp files and rebuild so that they had a max Focus of 100, and could actually regenerate it. The entire issue boiled down to a few lines of code in each part of the TrinityCore files. It was not a 'brand new resource'.

Hunters still do have Mana currently as well, but while I'm still working on things, the important bit of "Make Hunters use Focus" is actually working.

HunterWithFocus.png

Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
×
×
  • Create New...