Maintenance: native-fixes-7 (resubmit of 18122). Adds GLOBAL IDs on the 336 registrar statics (1-byte .data objects at the original r
Batch #18150 by ragnarok-clanker: forced by an admin (0 lower score(s), 69 changed function(s)); checked with 334 compiled unit(s), including every includer of Source/Contents/Actors/GameActor.h, Source/Contents/Skills/SkillInfo.h, Source/UI/Edit/UIEditBoxEx.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Items/UIEquipmentPropertiesWnd.h, Source/UI/Items/UIGameItem.h.
This commit is contained in:
parent
24fc4d786f
commit
78eec2e512
25 changed files with 1281 additions and 49 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "Resource/MSGSTRINGID.h"
|
||||
class CSkillAction_WH_GALESTORM : public CSkillAction {
|
||||
public:
|
||||
int GetSkillAttackMotion() override;
|
||||
void OnSkillCast(int level, CGameActor* source) override;
|
||||
void OnSkillEffect(int level, CGameActor* source, CGameActor* target) override;
|
||||
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
||||
|
|
@ -34,6 +35,7 @@ public:
|
|||
|
||||
class CSkillAction_WH_CRESCIVE_BOLT : public CSkillAction {
|
||||
public:
|
||||
int GetSkillAttackMotion() override;
|
||||
int GetSkillCastMotion() override;
|
||||
bool SuppressSupportSkillArrow() override;
|
||||
bool SuppressAttackSkillArrow() override;
|
||||
|
|
@ -49,6 +51,12 @@ public:
|
|||
void OnSkillDamage(int level, CGameActor* source, CGameActor* target) override;
|
||||
};
|
||||
|
||||
// OFFSET: 0x007A5A70
|
||||
// FUNCTION: fn_09022
|
||||
int CSkillAction_WH_GALESTORM::GetSkillAttackMotion() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007A5A80
|
||||
// FUNCTION: fn_09023
|
||||
void CSkillAction_WH_GALESTORM::OnSkillCast(int level, CGameActor* source) {
|
||||
|
|
@ -141,6 +149,12 @@ int CSkillAction_WH_CRESCIVE_BOLT::GetSkillCastMotion() {
|
|||
return 18;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007A63E0
|
||||
// FUNCTION: fn_09034
|
||||
int CSkillAction_WH_CRESCIVE_BOLT::GetSkillAttackMotion() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007A63F0
|
||||
// FUNCTION: fn_09035
|
||||
bool CSkillAction_WH_CRESCIVE_BOLT::SuppressSupportSkillArrow() {
|
||||
|
|
@ -225,3 +239,20 @@ void CSkillAction_WH_WILD_WALK::OnSkillDamage(int sourceActor, CGameActor* targe
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00463230
|
||||
// FUNCTION: fn_45568
|
||||
static bool s_efstActionRegistered1252 = [] {
|
||||
std::function<CEfstAction*()> factory = NewAction<CEfstAction_CALAMITYGALE, CEfstAction>;
|
||||
CSkillActionMgr::GetInstance()->RegisterEfstAction(1252, factory);
|
||||
return true;
|
||||
}();
|
||||
|
||||
// GLOBAL: gl_25951
|
||||
static SkillActionRegistrar s_skillAction5328(5328, NewAction<CSkillAction_WH_CALAMITYGALE, CSkillAction>);
|
||||
// GLOBAL: gl_25952
|
||||
static SkillActionRegistrar s_skillAction5334(5334, NewAction<CSkillAction_WH_CRESCIVE_BOLT, CSkillAction>);
|
||||
// GLOBAL: gl_25953
|
||||
static SkillActionRegistrar s_skillAction5330(5330, NewAction<CSkillAction_WH_GALESTORM, CSkillAction>);
|
||||
// GLOBAL: gl_25954
|
||||
static SkillActionRegistrar s_skillAction6520(6520, NewAction<CSkillAction_WH_WILD_WALK, CSkillAction>);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue