mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
a bit
fix some bug with remvoing items, add experimental stat saving for gadgets, fix shadow stones scuffy
This commit is contained in:
@@ -32,4 +32,24 @@ struct FGameplayAttribute
|
||||
|
||||
return NamePrivate->ToString();
|
||||
}
|
||||
};
|
||||
|
||||
struct FGameplayAttributeData
|
||||
{
|
||||
float& GetBaseValue()
|
||||
{
|
||||
static auto BaseValueOffset = FindOffsetStruct("/Script/GameplayAbilities.GameplayAttributeData", "BaseValue");
|
||||
return *(float*)(__int64(this) + BaseValueOffset);
|
||||
}
|
||||
|
||||
float& GetCurrentValue()
|
||||
{
|
||||
static auto CurrentValueOffset = FindOffsetStruct("/Script/GameplayAbilities.GameplayAttributeData", "CurrentValue");
|
||||
return *(float*)(__int64(this) + CurrentValueOffset);
|
||||
}
|
||||
};
|
||||
|
||||
struct FFortGameplayAttributeData : public FGameplayAttributeData
|
||||
{
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user