mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-09-27 15:22:45 +02:00
steal food.
This commit is contained in:
parent
b46f3206b6
commit
b6f83f9528
@ -2,6 +2,7 @@ package com.songoda.epicenchants.effect.effects;
|
||||
|
||||
import com.songoda.epicenchants.effect.EffectExecutor;
|
||||
import com.songoda.epicenchants.enums.EventType;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.entity.Player;
|
||||
|
@ -21,12 +21,12 @@ description:
|
||||
item-whitelist:
|
||||
- "SWORDS"
|
||||
|
||||
STEAL_FOOD:
|
||||
# The trigger that will fire this effect
|
||||
trigger: ATTACK_PLAYER_MELEE
|
||||
# How much food does it should steal
|
||||
amount: 3
|
||||
# At who this applies
|
||||
who: OPPONENT
|
||||
# Chance that this effect wil fire.
|
||||
chance: "5*{level}"
|
||||
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
|
||||
effects:
|
||||
STEAL_FOOD:
|
||||
# The trigger that will fire this effect
|
||||
trigger: ATTACK_PLAYER_MELEE
|
||||
# How much food does it should steal
|
||||
amount: 3
|
||||
# Chance that this effect wil fire.
|
||||
chance: "5*{level}"
|
Loading…
Reference in New Issue
Block a user