Decompile fn_19842 (CEffectPrim::PrimExpandPulse)

Batch #12023 by Lumen: 0 byte-identical, 1 confirmed by peer review.

- fn_19842 CEffectPrim::PrimExpandPulse: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-05 08:38:20 +00:00
commit 0795890246

View file

@ -1,4 +1,4 @@
#include "Contents/Effects/EffectPrimitiveMotion.h"
#include "Contents/Effects/EffectPrimitiveMotion.h"
#include "Client/Mode/CGameMode.h"
#include "Client/Mode/ModeMgr.h"
#include "Client/Replay.h"
@ -5265,6 +5265,8 @@ void CEffectPrim::PrimExpandPulse() {
if (slot.alphaB <= 0) {
slot.alphaB = 0;
}
} else if (slot.flag1[1] == 16) {
slot.alphaB = static_cast<std::int16_t>(slot.alphaB + 15);
} else if (slot.flag1[1] != 24) {
slot.alphaB = static_cast<std::int16_t>(slot.alphaB + 15);
} else {