Decompile fn_03152 (CSkillAction_DamageWereRaptorForm::sub_5A4760)
Batch #7984 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_03152 CSkillAction_DamageWereRaptorForm::sub_5A4760: logic confirmed by peer review Peer-reviewed-by: eAthena, pedrao 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
24bd8692f1
commit
cd4be1b32f
1 changed files with 13 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ public:
|
|||
|
||||
class CSkillAction_DamageWereRaptorForm : public CSkillAction_AnimalForm, public CSkillAction_Direction {
|
||||
public:
|
||||
void sub_5A4760(int sourceActor, CGameActor* target);
|
||||
__declspec(noinline) void sub_5A4930(int level, CGameActor* source);
|
||||
__declspec(noinline) void sub_5A4B00(int level, CGameActor* source);
|
||||
void Slot16(int level, CGameActor* source, CGameActor* target) override;
|
||||
|
|
@ -2016,6 +2017,18 @@ void CSkillAction_AT_FERAL_CLAW::Slot11(int level, CGameActor* source, CGameActo
|
|||
// GLOBAL: gl_25058
|
||||
const float g_featherOffsets[3] = {0.0f, 0.1f, -0.1f};
|
||||
|
||||
// OFFSET: 0x005A4760
|
||||
// FUNCTION: fn_03152
|
||||
void CSkillAction_DamageWereRaptorForm::sub_5A4760(int sourceActor, CGameActor* target) {
|
||||
CGameActor* source = reinterpret_cast<CGameActor*>(sourceActor);
|
||||
if (source && target) {
|
||||
const std::uint8_t bytes[] = {0x46, 0x75, 0x73, 0x0C, 0x60, 0xAE, 0xAC, 0x1F, 0x17, 0x01};
|
||||
thread_local EncryptedName<sizeof(bytes), 0x2FF3C5036D070127ULL> name(bytes);
|
||||
const std::string effectName = name.Text();
|
||||
this->SpawnDirectionalEffect(source, target, effectName);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x005A4930
|
||||
// FUNCTION: fn_03153
|
||||
void CSkillAction_DamageWereRaptorForm::sub_5A4930(int sourceActor, CGameActor* target) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue