Decompile 4 functions in Source/Contents/Skills/SkillInfo.cpp
Batch #17388 by Yommy: 3 byte-identical, 1 confirmed by peer review. - fn_08330 CEfstAction_GenderChange::OnEfstEnd: byte-identical - fn_08340 CSkillAction_AG_ENERGY_CONVERSION::OnSkillCast: byte-identical - fn_08344 CSkillAction_CD_DIVINUS_FLOS::OnSkillDamage: logic confirmed by peer review - fn_08394 CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillDamage: byte-identical Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
1cec23f342
commit
33c4f054e5
1 changed files with 14 additions and 7 deletions
|
|
@ -774,7 +774,8 @@ void CEfstAction_ChangeSize::OnEfstBegin(int, int value, int, int, CRenderObject
|
|||
// FUNCTION: fn_08344
|
||||
void CSkillAction_CD_DIVINUS_FLOS::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
||||
if (target) {
|
||||
g_effectMgr->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("divinus_flos_hit"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
||||
EffectLists* effects = g_effectMgr;
|
||||
effects->Spawn(target->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("divinus_flos_hit"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1047,10 +1048,12 @@ void CSkillAction_RA_UNLIMIT::OnSkillEffect(int level, CGameActor* source, CGame
|
|||
// FUNCTION: fn_08340
|
||||
void CSkillAction_AG_ENERGY_CONVERSION::OnSkillCast(int level, CGameActor* source) {
|
||||
if (source) {
|
||||
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("energy_conversion_cast"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
EffectLists* effects = g_effectMgr;
|
||||
if (CEffect* effect = effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("energy_conversion_cast"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
effect->SetLifeTime(level);
|
||||
}
|
||||
if (CEffect* effect = g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("energy_conversion_cast_bottom"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
effects = g_effectMgr;
|
||||
if (CEffect* effect = effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("energy_conversion_cast_bottom"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
effect->SetLifeTime(level);
|
||||
}
|
||||
}
|
||||
|
|
@ -1361,7 +1364,8 @@ void CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillCast(int level, CGameActor* sou
|
|||
// FUNCTION: fn_08394
|
||||
void CSkillAction_IQ_BLAZING_FLAME_BLAST::OnSkillDamage(int level, CGameActor* source, CGameActor* target) {
|
||||
if (source) {
|
||||
g_effectMgr->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("blazing_flame_blast_hit"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
||||
EffectLists* effects = g_effectMgr;
|
||||
effects->Spawn(source->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("blazing_flame_blast_hit"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1419,9 +1423,12 @@ void CEfstAction_GenderChange::OnEfstEnd(int efstId, int argument2, int argument
|
|||
return;
|
||||
}
|
||||
|
||||
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change_loop"));
|
||||
g_effectMgr->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change_cast"));
|
||||
if (CEffect* effect = g_effectMgr->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
EffectLists* effects = g_effectMgr;
|
||||
effects->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change_loop"));
|
||||
effects = g_effectMgr;
|
||||
effects->Retire(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change_cast"));
|
||||
effects = g_effectMgr;
|
||||
if (CEffect* effect = effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId("gender_change"), vector3d{0.0f, 0.0f, 0.0f}, 0, -1, 0, 0)) {
|
||||
effect->SetScale(1.5f);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue