Add experience ritual

This commit is contained in:
Edith Boles 2021-10-05 17:35:46 -07:00
parent b3d1425e92
commit e079d2c487

View File

@ -0,0 +1,27 @@
package top.penowl.quidproquo.rituals;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import top.penowl.quidproquo.Ritual;
public class ExperienceRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.REDSTONE_BLOCK, 9);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.GLASS_BOTTLE, 1);
health = 1;
name = "experience";
description = "Experience the easy way.";
notify = false;
}
@Override
public void execute(Player caster, Player target, Location location) {
caster.giveExp(200000);
}
}