Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Just like you can see a players health regenerate when you target them, you should see their mana do

[DiscordArchive] Just like you can see a players health regenerate when you target them, you should see their mana do

[DiscordArchive] Just like you can see a players health regenerate when you target them, you should see their mana do

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
08-15-2022, 12:49 AM
#11
Archived author: Anchy • Posted: 2022-08-15T00:49:13.885000+00:00
Original source


[Image: unknown.png?ex=690bf089&is=690a9f09&hm=0...4ad5d10d0&]
rektbyfaith
08-15-2022, 12:49 AM #11

Archived author: Anchy • Posted: 2022-08-15T00:49:13.885000+00:00
Original source


[Image: unknown.png?ex=690bf089&is=690a9f09&hm=0...4ad5d10d0&]

rektbyfaith
Administrator
0
08-15-2022, 12:49 AM
#12
Archived author: Anchy • Posted: 2022-08-15T00:49:54.667000+00:00
Original source

all i did was add
```cpp
if (GetTypeId() == TYPEID_PLAYER && power == POWER_MANA)
val = val + 1;```
to Unit::SetPower before the guard
rektbyfaith
08-15-2022, 12:49 AM #12

Archived author: Anchy • Posted: 2022-08-15T00:49:54.667000+00:00
Original source

all i did was add
```cpp
if (GetTypeId() == TYPEID_PLAYER && power == POWER_MANA)
val = val + 1;```
to Unit::SetPower before the guard

rektbyfaith
Administrator
0
08-15-2022, 12:50 AM
#13
Archived author: Anchy • Posted: 2022-08-15T00:50:28.828000+00:00
Original source

this put the mana out of sync and forced an update from the server to the client, for some reason if the mana is in sync and u still ask the client to update the client doesnt seem to care
rektbyfaith
08-15-2022, 12:50 AM #13

Archived author: Anchy • Posted: 2022-08-15T00:50:28.828000+00:00
Original source

this put the mana out of sync and forced an update from the server to the client, for some reason if the mana is in sync and u still ask the client to update the client doesnt seem to care

rektbyfaith
Administrator
0
08-15-2022, 12:50 AM
#14
Archived author: Anchy • Posted: 2022-08-15T00:50:36.378000+00:00
Original source

somebody smarter than me would need to look further into it
rektbyfaith
08-15-2022, 12:50 AM #14

Archived author: Anchy • Posted: 2022-08-15T00:50:36.378000+00:00
Original source

somebody smarter than me would need to look further into it

rektbyfaith
Administrator
0
08-15-2022, 12:54 AM
#15
Archived author: Anchy • Posted: 2022-08-15T00:54:59.789000+00:00
Original source

it all still doesnt really make sense to me
rektbyfaith
08-15-2022, 12:54 AM #15

Archived author: Anchy • Posted: 2022-08-15T00:54:59.789000+00:00
Original source

it all still doesnt really make sense to me

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