From ce2b8dcc9caf86b515925ebf004b46de3e72e952 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 11:48:44 +0000 Subject: [PATCH] Decompile fn_06888 (CAnimatedEmitterEffect::CAnimatedEmitterEffect) Batch #7765 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_06888 CAnimatedEmitterEffect::CAnimatedEmitterEffect: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- .../Contents/Effects/AnimatedEmitterEffect.cpp | 16 ++++++++++++++++ Source/Contents/Effects/AnimatedEmitterEffect.h | 1 + 2 files changed, 17 insertions(+) diff --git a/Source/Contents/Effects/AnimatedEmitterEffect.cpp b/Source/Contents/Effects/AnimatedEmitterEffect.cpp index cbb08e17..e9ea59e4 100644 --- a/Source/Contents/Effects/AnimatedEmitterEffect.cpp +++ b/Source/Contents/Effects/AnimatedEmitterEffect.cpp @@ -4,6 +4,22 @@ #include +// OFFSET: 0x006F9EC0 +// FUNCTION: fn_06888 +CAnimatedEmitterEffect::CAnimatedEmitterEffect() { + this->acceleration = {0.0f, 0.0f, 0.0f}; + this->velocityMin = {-3.0f, -1.0f, -3.0f}; + this->velocityMax = {3.0f, 1.0f, 3.0f}; + this->spread = {0.0f, 0.0f, 0.0f}; + this->scaleMin = 10.0f; + this->scaleMax = 20.0f; + this->lifeMin = 3.0f; + this->lifeMax = 4.0f; + this->rateMin = 1.0f; + this->rateMax = 3.0f; + this->count = 4; +} + // OFFSET: 0x006FA0F0 // FUNCTION: fn_06890 void CAnimatedEmitterEffect::Slot01() { diff --git a/Source/Contents/Effects/AnimatedEmitterEffect.h b/Source/Contents/Effects/AnimatedEmitterEffect.h index 41d23517..4d7ae69b 100644 --- a/Source/Contents/Effects/AnimatedEmitterEffect.h +++ b/Source/Contents/Effects/AnimatedEmitterEffect.h @@ -11,6 +11,7 @@ class CParticle; class CAnimatedEmitterEffect : public CEmitterEffect { public: + CAnimatedEmitterEffect(); void Slot01() override; void InitParticle(CParticle* particle) override; void UpdateParticle(CParticle* particle) override;