[DiscordArchive] Oh, I didn't know I was supposed to. Sorry, been working on a project and I forgot to respond to thi
[DiscordArchive] Oh, I didn't know I was supposed to. Sorry, been working on a project and I forgot to respond to thi
Archived author: Revision • Posted: 2022-08-17T00:11:53.187000+00:00
Original source
I guess I can try moving the UpdateUint to outside the if?
Archived author: Revision • Posted: 2022-08-17T00:11:56.943000+00:00
Original source
Not sure what's gonna happen
Archived author: Anchy • Posted: 2022-08-17T00:11:57.930000+00:00
Original source
```cpp
UpdateUInt32Value(static_cast<uint16>(UNIT_FIELD_POWER1) + power, curValue);
if(m_regenTimerCount >= 2000)
SetPower(power, curPower);```
Archived author: Anchy • Posted: 2022-08-17T00:12:02.928000+00:00
Original source
like that
Archived author: Revision • Posted: 2022-08-17T00:12:16.655000+00:00
Original source
It shouldn't matter if I add it above or below, should it? I can just comment out else
Archived author: Anchy • Posted: 2022-08-17T00:12:18.042000+00:00
Original source
so it always updates the int
Archived author: Revision • Posted: 2022-08-17T00:12:24.509000+00:00
Original source
I see
Archived author: Revision • Posted: 2022-08-17T00:12:25.342000+00:00
Original source
Okay
Archived author: Anchy • Posted: 2022-08-17T00:12:33.994000+00:00
Original source
it matteres because you update before setpower
Archived author: Revision • Posted: 2022-08-17T00:12:54.470000+00:00
Original source
I'll boot it up right now, hold on