mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
great
pickup combining, almost finish shadow stones, fix some bugs with gadgets, clean up some code.
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
#include "FortGameplayAbilityAthena_PeriodicItemGrant.h"
|
||||
|
||||
void UFortGameplayAbilityAthena_PeriodicItemGrant::StopItemAwardTimersHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
// (Milxnor) We need clear all the timers in ActiveTimers.
|
||||
|
||||
return StopItemAwardTimersOriginal(Context, Stack, Ret);
|
||||
}
|
||||
|
||||
void UFortGameplayAbilityAthena_PeriodicItemGrant::StartItemAwardTimersHook(UObject* Context, FFrame& Stack, void* Ret)
|
||||
{
|
||||
LOG_INFO(LogDev, "StartItemAwardTimersHook!");
|
||||
// (Milxnor) We need to loop through ItemsToGrant, and then using the Pair.Value we set a timer and then the Pair.Key for the item to grant, then we add the timer to ActiveTimers.
|
||||
|
||||
return StartItemAwardTimersOriginal(Context, Stack, Ret);
|
||||
}
|
||||
Reference in New Issue
Block a user