From 94ead8d727f17d2b57481aecd76128bee14c8690 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 03:56:00 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/Skills/SkillActionAlitea.cpp Batch #17813 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_03156 CSkillAction_DamageWereWolfForm::PlayFormAttackEffect: logic confirmed by peer review - fn_03157 CSkillAction_Icing::SpawnIcing: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Skills/SkillActionAlitea.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/Contents/Skills/SkillActionAlitea.cpp b/Source/Contents/Skills/SkillActionAlitea.cpp index bb8cf7dc9..6c8e77ddd 100644 --- a/Source/Contents/Skills/SkillActionAlitea.cpp +++ b/Source/Contents/Skills/SkillActionAlitea.cpp @@ -397,12 +397,11 @@ void CSkillAction_DamageWereRaptorForm::PlayFormAttackEffect(CGameActor* actor) // FUNCTION: fn_03156 void CSkillAction_DamageWereWolfForm::PlayFormAttackEffect(CGameActor* actor) { if (actor) { - EffectLists* effects = g_effectMgr; - effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] { + g_effectMgr->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] { constexpr std::array bytes = CRYPT_NAME("dr_hit_werewolf", 0x3375B1C7DBB5FD55ULL); thread_local EncryptedName name(bytes); return name.Text(); - }()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0); + }()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0); } } @@ -410,13 +409,12 @@ void CSkillAction_DamageWereWolfForm::PlayFormAttackEffect(CGameActor* actor) { // FUNCTION: fn_03157 void CSkillAction_Icing::SpawnIcing(CGameActor* target) { if (target) { - EffectLists* effects = g_effectMgr; - if (CEffect* effect = effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] { + if (CEffect* effect = g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId([] { constexpr auto bytesText = CRYPT_NAME("ice_hit", 0x91651D81F559F971ULL); const auto& bytes = bytesText.data; thread_local EncryptedName name(bytes); return name.Text(); - }()), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0)) { + }()), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) { effect->SetScale(0.9f); } }