/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h
Removes all active effects that match given query. StacksToRemove=-1 will remove all stacks.
virtual int32 RemoveActiveEffects ( const [FGameplayEffectQuery](API\Plugins\GameplayAbilities\FGameplayEffectQuery) & Query, int32 StacksToRemove )