[Archive] [3.3.5] Making Hunters use Focus instead of Mana.
[Archive] [3.3.5] Making Hunters use Focus instead of Mana.
Archived author: Pyzayt • Posted: 2022-02-11T00:32:13+00:00
Original source
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.
Archived author: Uthil • Posted: 2022-02-13T10:30:58+00:00
Original source
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.
Archived author: Callmephil • Posted: 2022-02-13T20:12:28+00:00
Original source
Implementing a new resource will be a hassle if you're still a novice, but you can start by cloning rogue logic (with energy) and see how it goes.
Quote: 8 minutes ago, Callmephil said:True. This one is more possible to realize.
Implementing a new resource will be a hassle if you're still a novice, but you can start by cloning rogue logic (with energy) and see how it goes.
Archived author: Yuritsuki • Posted: 2022-02-13T20:22:35+00:00
Original source
Quote: 8 minutes ago, Callmephil said:True. This one is more possible to realize.
Implementing a new resource will be a hassle if you're still a novice, but you can start by cloning rogue logic (with energy) and see how it goes.
Archived author: Pyzayt • Posted: 2022-02-16T18:12:25+00:00
Original source
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.
![[Image: HunterWithFocus.png.42f3b997cc095f0ee7bc...584e91.png]](https://www.wowmodding.net/uploads/monthly_2022_02/HunterWithFocus.png.42f3b997cc095f0ee7bce11704584e91.png)
Archived author: Callmephil • Posted: 2022-02-17T09:45:10+00:00
Original source
Great! Well done
Archived author: Pyzayt • Posted: 2022-02-17T11:51:00+00:00
Original source
Well, I still need to finish reworking all their spells to use Focus instead of Mana, but I found a tool by I think StoneHarry for that particular pain of a DBC.
Archived author: jy02339377 • Posted: 2022-07-06T03:18:14+00:00
Original source
怎么做到的让猎人使用专注而不是使用法力
Archived author: jy02339377 • Posted: 2022-07-06T03:18:43+00:00
Original source
How to do let the hunter use focus and not use mana
Archived author: MSDhoni • Posted: 2022-07-22T09:58:22+00:00
Original source
http://doramasmp4.shop/