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.effect.EffectExecutor;
|
||||||
import com.songoda.epicenchants.enums.EventType;
|
import com.songoda.epicenchants.enums.EventType;
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
@ -21,12 +21,12 @@ description:
|
|||||||
item-whitelist:
|
item-whitelist:
|
||||||
- "SWORDS"
|
- "SWORDS"
|
||||||
|
|
||||||
STEAL_FOOD:
|
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
|
||||||
# The trigger that will fire this effect
|
effects:
|
||||||
trigger: ATTACK_PLAYER_MELEE
|
STEAL_FOOD:
|
||||||
# How much food does it should steal
|
# The trigger that will fire this effect
|
||||||
amount: 3
|
trigger: ATTACK_PLAYER_MELEE
|
||||||
# At who this applies
|
# How much food does it should steal
|
||||||
who: OPPONENT
|
amount: 3
|
||||||
# Chance that this effect wil fire.
|
# Chance that this effect wil fire.
|
||||||
chance: "5*{level}"
|
chance: "5*{level}"
|
Loading…
Reference in New Issue
Block a user