_Trigger Took Physical Damage - Eniripsa96/SkillAPI GitHub Wiki

Activation

Child effects are activated when a player gets attacked by something

Options

Name YAML Key Type Description
Mana mana Boolean Whether or not to use the mana cost before triggering
Cooldown cooldown Boolean Whether or not to check cooldowns before triggering
Target Caster caster Boolean Whether or not to target the caster
Type type Dropdown The type of attack to look for (melee or projectile)
Min Damage dmg-min Integer The minimum dealt damage required to trigger
Max Damage dmg-max Integer The maximum dealt damage required to trigger

Details

  • The "Cancel" mechanic will stop the original attack from happening
  • The value key "api-taken" is provided and set to the amount of damage dealt to the player
  • Using Damage Buff on the attacking entity without a delay will affect the current attack
  • Using Defense Buff on the player without a delay will affect the current attack

Usage Examples

-- To be added --

⚠️ **GitHub.com Fallback** ⚠️