EVENT_EFFECT_CHANGED Problem
The event EVENT_EFFECT_CHANGED is firing an EFFECT_RESULT_GAINED for buffs that the character already has when weapons are swapped.
If the character already has the buff it should either fire EFFECT_RESULT_FADED first, before firing EFFECT_RESULT_GAINED to regain the buff, or don't fire the EFFECT_RESULT_GAINED at all. Or possibly an EFFECT_RESULT_UPDATED would also be logical. |
Meanwhile you could set a flag on EVENT_ACTIVE_WEAPON_PAIR_CHANGED and then avoid the visual update on the buffs (that is, only if it occurs BEFORE the EVENT_EFFECT_CHANGED).
|
Quote:
|
All times are GMT -6. The time now is 11:22 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI