Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is the 43 MANA_REGENERATION item stat not a thing in 3.3.5? Seems the core is only using spell/aura

[DiscordArchive] Is the 43 MANA_REGENERATION item stat not a thing in 3.3.5? Seems the core is only using spell/aura

[DiscordArchive] Is the 43 MANA_REGENERATION item stat not a thing in 3.3.5? Seems the core is only using spell/aura

rektbyfaith
Administrator
0
10-19-2024, 07:02 PM
#1
Archived author: Qeme • Posted: 2024-10-19T19:02:39.398000+00:00
Original source

Is the 43 MANA_REGENERATION item stat not a thing in 3.3.5? Seems the core is only using spell/aura *_POWER_REGEN ?
rektbyfaith
10-19-2024, 07:02 PM #1

Archived author: Qeme • Posted: 2024-10-19T19:02:39.398000+00:00
Original source

Is the 43 MANA_REGENERATION item stat not a thing in 3.3.5? Seems the core is only using spell/aura *_POWER_REGEN ?

rektbyfaith
Administrator
0
10-19-2024, 07:03 PM
#2
Archived author: Qeme • Posted: 2024-10-19T19:03:56.434000+00:00
Original source

https://github.com/azerothcore/azerothco...m.cpp#L924
rektbyfaith
10-19-2024, 07:03 PM #2

Archived author: Qeme • Posted: 2024-10-19T19:03:56.434000+00:00
Original source

https://github.com/azerothcore/azerothco...m.cpp#L924

rektbyfaith
Administrator
0
10-19-2024, 07:05 PM
#3
Archived author: Bench • Posted: 2024-10-19T19:05:57.603000+00:00
Original source

Looks like it gets applied in Player/PlayerStorage
rektbyfaith
10-19-2024, 07:05 PM #3

Archived author: Bench • Posted: 2024-10-19T19:05:57.603000+00:00
Original source

Looks like it gets applied in Player/PlayerStorage

rektbyfaith
Administrator
0
10-19-2024, 07:12 PM
#4
Archived author: Qeme • Posted: 2024-10-19T19:12:45.956000+00:00
Original source

Hmm. So it only works for modifed items?
```cpp
case ITEM_MOD_MANA_REGENERATION:
ApplyManaRegenBonus(enchant_amount, apply);
LOG_DEBUG("entities.player.items", "+ {} MANA_REGENERATION", enchant_amount);
break;```
Because it doesn't seem to work when I add it as a stat in the DB.
[Image: image.png?ex=690c4a6d&is=690af8ed&hm=500...a54587de4&]
rektbyfaith
10-19-2024, 07:12 PM #4

Archived author: Qeme • Posted: 2024-10-19T19:12:45.956000+00:00
Original source

Hmm. So it only works for modifed items?
```cpp
case ITEM_MOD_MANA_REGENERATION:
ApplyManaRegenBonus(enchant_amount, apply);
LOG_DEBUG("entities.player.items", "+ {} MANA_REGENERATION", enchant_amount);
break;```
Because it doesn't seem to work when I add it as a stat in the DB.
[Image: image.png?ex=690c4a6d&is=690af8ed&hm=500...a54587de4&]

Recently Browsing
 
Recently Browsing