Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] So, Foe, if I do it the way you talked about, would that work since I need to remove the stats on lo

[DiscordArchive] So, Foe, if I do it the way you talked about, would that work since I need to remove the stats on lo

[DiscordArchive] So, Foe, if I do it the way you talked about, would that work since I need to remove the stats on lo

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
05-18-2024, 09:12 PM
#11
Archived author: Sylian • Posted: 2024-05-18T21:12:44.540000+00:00
Original source

But doesnt it save the stats to the player in the DB if you logout?
rektbyfaith
05-18-2024, 09:12 PM #11

Archived author: Sylian • Posted: 2024-05-18T21:12:44.540000+00:00
Original source

But doesnt it save the stats to the player in the DB if you logout?

rektbyfaith
Administrator
0
05-18-2024, 09:12 PM
#12
Archived author: Foe • Posted: 2024-05-18T21:12:48.606000+00:00
Original source

no
rektbyfaith
05-18-2024, 09:12 PM #12

Archived author: Foe • Posted: 2024-05-18T21:12:48.606000+00:00
Original source

no

rektbyfaith
Administrator
0
05-18-2024, 09:17 PM
#13
Archived author: Sylian • Posted: 2024-05-18T21:17:21.518000+00:00
Original source

Okay, but I should still call the UpdateAllStats right?
Also, how would you make it if you didnt want to call that UpdateAllStats, since I guess I would need to call it sometime right?
rektbyfaith
05-18-2024, 09:17 PM #13

Archived author: Sylian • Posted: 2024-05-18T21:17:21.518000+00:00
Original source

Okay, but I should still call the UpdateAllStats right?
Also, how would you make it if you didnt want to call that UpdateAllStats, since I guess I would need to call it sometime right?

rektbyfaith
Administrator
0
05-18-2024, 09:17 PM
#14
Archived author: Sylian • Posted: 2024-05-18T21:17:37.026000+00:00
Original source

Or would I just call all the other functions that is included in it
rektbyfaith
05-18-2024, 09:17 PM #14

Archived author: Sylian • Posted: 2024-05-18T21:17:37.026000+00:00
Original source

Or would I just call all the other functions that is included in it

rektbyfaith
Administrator
0
05-18-2024, 09:18 PM
#15
Archived author: Foe • Posted: 2024-05-18T21:18:28.354000+00:00
Original source

I dunno, I'm not designing your system so I haven't looked at it more than at a glance
rektbyfaith
05-18-2024, 09:18 PM #15

Archived author: Foe • Posted: 2024-05-18T21:18:28.354000+00:00
Original source

I dunno, I'm not designing your system so I haven't looked at it more than at a glance

rektbyfaith
Administrator
0
05-18-2024, 10:04 PM
#16
Archived author: Sylian • Posted: 2024-05-18T22:04:32.375000+00:00
Original source

I got it working with a custom function created that calls on a script where I then set the stat's value.
Now I just got to stop it from getting removed when an aura or buff has been applied.
rektbyfaith
05-18-2024, 10:04 PM #16

Archived author: Sylian • Posted: 2024-05-18T22:04:32.375000+00:00
Original source

I got it working with a custom function created that calls on a script where I then set the stat's value.
Now I just got to stop it from getting removed when an aura or buff has been applied.

rektbyfaith
Administrator
0
05-18-2024, 10:09 PM
#17
Archived author: Rymercyble • Posted: 2024-05-18T22:09:12.348000+00:00
Original source

well u cant "stop it" from doing that what u need to do is to change process of calculating it to account for ur change....otherwise u will need to call it after any and every stat update
rektbyfaith
05-18-2024, 10:09 PM #17

Archived author: Rymercyble • Posted: 2024-05-18T22:09:12.348000+00:00
Original source

well u cant "stop it" from doing that what u need to do is to change process of calculating it to account for ur change....otherwise u will need to call it after any and every stat update

rektbyfaith
Administrator
0
05-18-2024, 10:10 PM
#18
Archived author: Rymercyble • Posted: 2024-05-18T22:10:48.755000+00:00
Original source

im doing my stuff so same as foe i just quickly look at it and not rly think too deep into it so im still not sure what exactly u want to do and therefore cant tell more
rektbyfaith
05-18-2024, 10:10 PM #18

Archived author: Rymercyble • Posted: 2024-05-18T22:10:48.755000+00:00
Original source

im doing my stuff so same as foe i just quickly look at it and not rly think too deep into it so im still not sure what exactly u want to do and therefore cant tell more

rektbyfaith
Administrator
0
05-18-2024, 10:23 PM
#19
Archived author: Sylian • Posted: 2024-05-18T22:23:56.510000+00:00
Original source

What I want to add is when you loot a certain item, you get an increase to a random stat out of the main ones, and, the system is account wide, so that means when players play on other characters, they can loot items that add more stats for all characters.
rektbyfaith
05-18-2024, 10:23 PM #19

Archived author: Sylian • Posted: 2024-05-18T22:23:56.510000+00:00
Original source

What I want to add is when you loot a certain item, you get an increase to a random stat out of the main ones, and, the system is account wide, so that means when players play on other characters, they can loot items that add more stats for all characters.

rektbyfaith
Administrator
0
05-18-2024, 10:26 PM
#20
Archived author: Sylian • Posted: 2024-05-18T22:26:04.138000+00:00
Original source

I just dont really feel that it would be a good idea to call that UpdateAllStats function.
So I created a new function that can also be called from the lua part, where I just send the statID and amount with it.
This works fine, but the problem is that when the stats gets updated after new item equipped and aura applied, that removes the stat bonus, and I cant just call it again, because it doesnt know what amount it should increase with
rektbyfaith
05-18-2024, 10:26 PM #20

Archived author: Sylian • Posted: 2024-05-18T22:26:04.138000+00:00
Original source

I just dont really feel that it would be a good idea to call that UpdateAllStats function.
So I created a new function that can also be called from the lua part, where I just send the statID and amount with it.
This works fine, but the problem is that when the stats gets updated after new item equipped and aura applied, that removes the stat bonus, and I cant just call it again, because it doesnt know what amount it should increase with

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