Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Buff Stack Count not properly shown #1349

Open
cabeca1143 opened this issue Mar 10, 2022 · 0 comments
Open

Buff Stack Count not properly shown #1349

cabeca1143 opened this issue Mar 10, 2022 · 0 comments

Comments

@cabeca1143
Copy link
Contributor

cabeca1143 commented Mar 10, 2022

When first adding a buff to an unit, it doesn't matter the stack count, it will always show 1 stack.
In order to fix this we have to send, somehow (haven't investigated much yet), a NPC_BuffUpdateCount or NPC_BuffUpdateNumCounter alongside the activation of the buff while taking into account if the buff is stackable, if it doesn't exceed the max stack count and applying the respective effects from that stack count being added at once.
Maybe a for(int i = 0; i < b.StackCount; i++) to check each stack individually?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant