Save and save often

This commit is contained in:
2025-10-19 15:04:11 -04:00
parent 02fb59d82c
commit 92f0e7d794
96 changed files with 10241 additions and 10558 deletions

View File

@@ -45,13 +45,9 @@ void UAuraProjectileSpell::SpawnProjectile(const FVector ProjectileTargetLocatio
const FGameplayEffectSpecHandle SpecHandle = SourceASC->MakeOutgoingSpec(DamageEffectClass, GetAbilityLevel(), SourceASC->MakeEffectContext());
const FAuraGameplayTags GameplayTags = FAuraGameplayTags::Get();
const float ScaledDamage = Damage.GetValueAtLevel((GetAbilityLevel()));
UAbilitySystemBlueprintLibrary::AssignTagSetByCallerMagnitude(SpecHandle, GameplayTags.Damage, ScaledDamage);
UAbilitySystemBlueprintLibrary::AssignTagSetByCallerMagnitude(SpecHandle, GameplayTags.Damage, Damage);
Projectile->DamageEffectSpecHandle = SpecHandle;
UE_LOG(LogTemp,Warning,TEXT("ScaledDamage %f"),ScaledDamage);
Projectile->FinishSpawning(SpawnTransform);
}

View File

@@ -51,6 +51,7 @@ void FAuraGameplayTags::InitializeNativeGameplayTags()
GameplayTags.Damage = UGameplayTagsManager::Get().AddNativeGameplayTag(FName("Damage"), FString("Setting Damage"));
GameplayTags.Combat_HitReact = UGameplayTagsManager::Get().AddNativeGameplayTag(FName("Combat.HitReact"), FString("Hit react to damage"));
}

View File

@@ -20,7 +20,7 @@ public:
FGameplayTag StartupInputTag;
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Ability Params")
FScalableFloat Damage;
float Damage;
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Ability Params")
float Level;

View File

@@ -57,6 +57,7 @@ public:
FGameplayTag Input_InputTag_Shift;
FGameplayTag Damage;
FGameplayTag Combat_HitReact;
private:
static FAuraGameplayTags GameplayTags;