Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Thank you for the info Foe.

[DiscordArchive] Thank you for the info Foe.

[DiscordArchive] Thank you for the info Foe.

Pages (3): Previous 1 2 3
rektbyfaith
Administrator
0
05-18-2024, 04:43 PM
#21
Archived author: Foe • Posted: 2024-05-18T16:43:47.220000+00:00
Original source

It's what he wants to do for now, so
rektbyfaith
05-18-2024, 04:43 PM #21

Archived author: Foe • Posted: 2024-05-18T16:43:47.220000+00:00
Original source

It's what he wants to do for now, so

rektbyfaith
Administrator
0
05-18-2024, 04:44 PM
#22
Archived author: Sylian • Posted: 2024-05-18T16:44:44.195000+00:00
Original source

I will look around the source a bit more to see if I missed something
rektbyfaith
05-18-2024, 04:44 PM #22

Archived author: Sylian • Posted: 2024-05-18T16:44:44.195000+00:00
Original source

I will look around the source a bit more to see if I missed something

rektbyfaith
Administrator
0
05-18-2024, 04:47 PM
#23
Archived author: Foe • Posted: 2024-05-18T16:47:34.775000+00:00
Original source

Just look at what's called in the different function calls
rektbyfaith
05-18-2024, 04:47 PM #23

Archived author: Foe • Posted: 2024-05-18T16:47:34.775000+00:00
Original source

Just look at what's called in the different function calls

rektbyfaith
Administrator
0
05-18-2024, 04:49 PM
#24
Archived author: Foe • Posted: 2024-05-18T16:49:35.719000+00:00
Original source

Check what happens in GetTotalStatValue
rektbyfaith
05-18-2024, 04:49 PM #24

Archived author: Foe • Posted: 2024-05-18T16:49:35.719000+00:00
Original source

Check what happens in GetTotalStatValue

rektbyfaith
Administrator
0
05-18-2024, 04:49 PM
#25
Archived author: Foe • Posted: 2024-05-18T16:49:52.792000+00:00
Original source

That'd be where you'd want to apply your addition
rektbyfaith
05-18-2024, 04:49 PM #25

Archived author: Foe • Posted: 2024-05-18T16:49:52.792000+00:00
Original source

That'd be where you'd want to apply your addition

rektbyfaith
Administrator
0
05-18-2024, 04:53 PM
#26
Archived author: Foe • Posted: 2024-05-18T16:53:48.450000+00:00
Original source

You want to add some form of construct to the player class to hold the additional stats per player. Then in GetTotalStatValue read that and apply it to the return value. Then you want a function to modify that array/map/vector/whatever in the player class so whenever the GetTotalStatValue function gets called it applies the modifier.
rektbyfaith
05-18-2024, 04:53 PM #26

Archived author: Foe • Posted: 2024-05-18T16:53:48.450000+00:00
Original source

You want to add some form of construct to the player class to hold the additional stats per player. Then in GetTotalStatValue read that and apply it to the return value. Then you want a function to modify that array/map/vector/whatever in the player class so whenever the GetTotalStatValue function gets called it applies the modifier.

rektbyfaith
Administrator
0
05-18-2024, 04:53 PM
#27
Archived author: Sylian • Posted: 2024-05-18T16:53:52.681000+00:00
Original source

This is what the UpdateAllStats loop prints for each index in it.

That matches
[Image: image.png?ex=690c29e0&is=690ad860&hm=b87...b6fe1d784&]
rektbyfaith
05-18-2024, 04:53 PM #27

Archived author: Sylian • Posted: 2024-05-18T16:53:52.681000+00:00
Original source

This is what the UpdateAllStats loop prints for each index in it.

That matches
[Image: image.png?ex=690c29e0&is=690ad860&hm=b87...b6fe1d784&]

rektbyfaith
Administrator
0
05-18-2024, 04:54 PM
#28
Archived author: Sylian • Posted: 2024-05-18T16:54:35.923000+00:00
Original source

The first one is what GetTotalValue returns, and the next one is the stat id
rektbyfaith
05-18-2024, 04:54 PM #28

Archived author: Sylian • Posted: 2024-05-18T16:54:35.923000+00:00
Original source

The first one is what GetTotalValue returns, and the next one is the stat id

Pages (3): Previous 1 2 3
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)