EFFECTS

Give or drop

Gives items to a player, if their inventory is full, drops them at the player’s location instead.

give or drop %itemtypes/experiences% to %players%

Damage an entity while accounting for armor and potion effects

This effect allows you to damage an entity while taking into account their armor and potion effects.
You can also specify the type or cause of the damage.

damage %entity% with armor[ and potions] by %number% [heart[s]] [using [(type|cause)] %-damagetypecategory%]