From 07958902464d3a8e99c7b9293f8d4cd0e076570c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 08:38:20 +0000 Subject: [PATCH] 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). --- Source/Contents/Effects/EffectPrimitiveMotion.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Contents/Effects/EffectPrimitiveMotion.cpp b/Source/Contents/Effects/EffectPrimitiveMotion.cpp index eeecf58bc..b5e3b99a9 100644 --- a/Source/Contents/Effects/EffectPrimitiveMotion.cpp +++ b/Source/Contents/Effects/EffectPrimitiveMotion.cpp @@ -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(slot.alphaB + 15); } else if (slot.flag1[1] != 24) { slot.alphaB = static_cast(slot.alphaB + 15); } else {