[DiscordArchive] can someone tell me what does GetMaxPower do?
[DiscordArchive] can someone tell me what does GetMaxPower do?
Archived author: aionisbeingpegged • Posted: 2022-11-02T18:03:41.034000+00:00
Original source
```
if (getPetType() == SUMMON_PET && !current) //all (?) summon pets come with full health when called, but not when they are current
SetFullPower(POWER_MANA);
```
Archived author: aionisbeingpegged • Posted: 2022-11-02T18:03:54.408000+00:00
Original source
from TrinityCore
Archived author: aionisbeingpegged • Posted: 2022-11-02T18:04:01.017000+00:00
Original source
so they do the same thing?
Archived author: Bench • Posted: 2022-11-02T18:04:07.275000+00:00
Original source
Looks like it
Archived author: Revision • Posted: 2022-11-02T18:04:28.145000+00:00
Original source
Yes, I think SetFullPower does not exist in AzerothCore (yet) but has been added to TrinityCore.
Archived author: Bench • Posted: 2022-11-02T18:04:31.330000+00:00
Original source
Doesn't set full health, but that's not the point of interest I guess
Archived author: Bench • Posted: 2022-11-02T18:04:54.871000+00:00
Original source
There's SetMaxPower, might do the same thing
Archived author: Bench • Posted: 2022-11-02T18:05:09.118000+00:00
Original source
Or maybe not, that sounds different actually
Archived author: Revision • Posted: 2022-11-02T18:05:09.714000+00:00
Original source
SetMaxPower changes the max power
Archived author: Bench • Posted: 2022-11-02T18:05:15.577000+00:00
Original source
Yea