Adds a lava ritual
I am the smartest programmer who ever lived
This commit is contained in:
parent
a62c19efad
commit
6a691a4b66
23
src/main/java/top/penowl/quidproquo/rituals/Lava.java
Normal file
23
src/main/java/top/penowl/quidproquo/rituals/Lava.java
Normal file
@ -0,0 +1,23 @@
|
||||
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 Lava extends Ritual {
|
||||
@Override
|
||||
public void setup() {
|
||||
addIngredient(Material.LAVA_BUCKET, 5);
|
||||
addIngredient(Material.DIAMOND, 1);
|
||||
backfire = 0.50;
|
||||
name = "combustion";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Player caster, Player target, Location location) {
|
||||
target.setFireTicks(60);
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user