Forums WoW Modding Discussion Serverside [Archive] [3.3.5] Making Hunters use Focus instead of Mana.

[Archive] [3.3.5] Making Hunters use Focus instead of Mana.

[Archive] [3.3.5] Making Hunters use Focus instead of Mana.

rektbyfaith
Administrator
0
02-11-2022, 12:32 AM
#1
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.
rektbyfaith
02-11-2022, 12:32 AM #1

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.

rektbyfaith
Administrator
0
02-13-2022, 10:30 AM
#2
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.
rektbyfaith
02-13-2022, 10:30 AM #2

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.

rektbyfaith
Administrator
0
02-13-2022, 08:12 PM
#3
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.
rektbyfaith
02-13-2022, 08:12 PM #3

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.

rektbyfaith
Administrator
0
02-13-2022, 08:22 PM
#4
Archived author: Yuritsuki • Posted: 2022-02-13T20:22:35+00:00
Original source

Quote: 8 minutes ago, Callmephil said:

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.
True. This one is more possible to realize.
rektbyfaith
02-13-2022, 08:22 PM #4

Archived author: Yuritsuki • Posted: 2022-02-13T20:22:35+00:00
Original source

Quote: 8 minutes ago, Callmephil said:

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.
True. This one is more possible to realize.

rektbyfaith
Administrator
0
02-16-2022, 06:12 PM
#5
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]
rektbyfaith
02-16-2022, 06:12 PM #5

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]

rektbyfaith
Administrator
0
02-17-2022, 09:45 AM
#6
Archived author: Callmephil • Posted: 2022-02-17T09:45:10+00:00
Original source

Great! Well done
rektbyfaith
02-17-2022, 09:45 AM #6

Archived author: Callmephil • Posted: 2022-02-17T09:45:10+00:00
Original source

Great! Well done

rektbyfaith
Administrator
0
02-17-2022, 11:51 AM
#7
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.
rektbyfaith
02-17-2022, 11:51 AM #7

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.

rektbyfaith
Administrator
0
07-06-2022, 03:18 AM
#8
Archived author: jy02339377 • Posted: 2022-07-06T03:18:14+00:00
Original source

怎么做到的让猎人使用专注而不是使用法力
rektbyfaith
07-06-2022, 03:18 AM #8

Archived author: jy02339377 • Posted: 2022-07-06T03:18:14+00:00
Original source

怎么做到的让猎人使用专注而不是使用法力

rektbyfaith
Administrator
0
07-06-2022, 03:18 AM
#9
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
rektbyfaith
07-06-2022, 03:18 AM #9

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

rektbyfaith
Administrator
0
07-22-2022, 09:58 AM
#10
Archived author: MSDhoni • Posted: 2022-07-22T09:58:22+00:00
Original source

http://doramasmp4.shop/
rektbyfaith
07-22-2022, 09:58 AM #10

Archived author: MSDhoni • Posted: 2022-07-22T09:58:22+00:00
Original source

http://doramasmp4.shop/

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)