GA Effect not working in ActionRPG Sample when adding a new Enemy

Im trying to add a new enemy to the Unreal ActionRPG Sample
I mainly just want to implement an enemy using the UE4 Mannequin Skeleton, since the goblin enemies in the Sample use a different Skeleton. Also im new to GAS and am trying to learn a few things.

The problem:
Whenever the enemy attacks me, or the player attacks the enemy, there is no damage being caused. I tried to track down the problem and found that the Gameplay Tags are applied on hit as expected from the GA_MeleeBase Blueprint.


However the Effect is never applied so that neither Player nor Enemy ever loose health or trigger a HitReact AnimationMontage. If anyone has any idea what im missing, or can at least hint me in the right direction it would be highly apperciated :slight_smile:

What i have done so far:

  1. Created AnimationMontages for MeleeAttack, HitReaction and Death (im skipping the Summon animation in the AnimBP, so i dont need it) and copied the NotifyStates from the Goblin AMs into them.
  2. Copied GA_GoblinMelee, GE_GoblinMelee and GE_GoblinStats. Also i set the the GameplayEffect and AnimationMontage in the new GA_HumanoidMelee to the GE and AM that i just copied/created
  3. Created a new AnimBP for the UE Mannequin Skeleton. Copied the logic from the Goblin AnimBP and replaced animations and the locomotion Blendspace with ones from the main Character of the ActionRPG Sample.
  4. Copied the NPC_GoblinBP and replaced the Skeleton, the AnimBP, the Knockback and Death animaitons, the Default Slotted Ability to the stuff i created/copied before. (Also i changed the Soket name to which the Weapon is getting attached)
2 Likes

Hi there! In WeaponAttackN set Max Attack Delay to 0

Hi, i have the same issue and i have this line in my output log
“LogAbilitySystem: Warning: Attempted to apply a scoped modifier from Default__GE_GoblinMelee1_C’s Attribute: Damage, Capture: Source, Snapshot: 1 magnitude calculation that could not be properly calculated. Some attributes necessary for the calculation were missing.”

This error comes up every time enemy hits the player.

1 Like