Skip to main content

Adding New Gameplay Effect

Gameplay Effect can be used to manipulate attribute of character, add or remove tags, etc. You should be familiar of creating this, because you've created the Attribute Set before.

You can read more about Gameplay Effect here.

  • Same as Attribute Set, create Blueprint Class that derived from Gameplay Effect.
  • For example, let's create GE_Burn.
  • Change the duration policy with Has Duration because we expect to add some damage over time in burn, don't forget to also adjust the Duration Magnitude as how long it takes.

    image.png

  • Add Modifiers with Damage Attribute, because we expect to apply some damage to the target, also add the magnitude value as the how much damage over time.

    image.png

  • Also set the period as the delay of the damage applied, you can read the other properties by yourself.
  • One more thing that important is adding tags, because Burn should be marked as debuff for the character, don't forget to add the GrantedTags with State.Debuff.Burn (or you can used another name as you want, just add the tag freely).
  • Don't forget to also add RemovalTagRequirements with State.Dead (this tags has been added by default in Agate GAS), because we need to remove the Burn debuff whenever the character die.