This commit is contained in:
Edith Boles 2021-10-05 17:04:59 -07:00
parent 5c4823fcbb
commit b3d1425e92
29 changed files with 60 additions and 45 deletions

View File

@ -13,12 +13,12 @@ public class AnvilRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.ANVIL, 1);
addIngredient(Material.ENDER_PEARL, 1);
addIngredient(Material.ARROW, 1);
addIngredient(Material.ROTTEN_FLESH, 1);
addIngredient(Material.WHEAT, 32);
name = "anviling";
health = 5;
backfire = 0.5;
health = 4;
backfire = 0.3;
notify = false;
description = "Drop an anvil on your enemy.";
}

View File

@ -15,6 +15,7 @@ public class BatSpewRitual extends Ritual {
addIngredient(Material.IRON_PICKAXE, 1);
addSacrifice(EntityType.CHICKEN, 1);
name = "bat spew";
health = 2;
backfire = 0.1;
description = "Summon a cauldron of bats to strike fear into your enemy.";
}

View File

@ -31,8 +31,8 @@ public class BlockShiftRitual extends Ritual {
};
@Override
public void setup() {
addIngredient(Material.RED_MUSHROOM, 8);
addIngredient(Material.BROWN_MUSHROOM, 8);
addIngredient(Material.RED_MUSHROOM, 4);
addIngredient(Material.BROWN_MUSHROOM, 4);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.ENDER_PEARL, 1);
name = "block shift";

View File

@ -11,7 +11,7 @@ public class ChickenSpewRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.DIAMOND_HOE, 1);
addSacrifice(EntityType.CHICKEN, 1);
health = 3;

View File

@ -18,7 +18,7 @@ public class ChugJugRitual extends Ritual {
addIngredient(Material.GLASS_BOTTLE, 1);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.GLOWSTONE_DUST, 1);
addIngredient(Material.WHEAT, 64*8);
addIngredient(Material.WHEAT, 64*3);
addSacrifice(EntityType.WITCH, 1);
health = 10;
name = "chug jug";
@ -31,7 +31,7 @@ public class ChugJugRitual extends Ritual {
witch.setMaxHealth(100);
witch.setHealth(100);
witch.setCustomName("fortnite gaming");
witch.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 10000, 4));
witch.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 4));
}
}

View File

@ -12,7 +12,7 @@ public class ChunkBegoneRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.OBSIDIAN, 64);
addIngredient(Material.WHEAT, 64*18);
addIngredient(Material.WHEAT, 64*12);
addIngredient(Material.ENDER_PEARL, 16);
addIngredient(Material.GOLDEN_APPLE, 1);
name = "chunk begone";

View File

@ -14,7 +14,7 @@ public class CrystalizationRtiual extends Ritual {
addIngredient(Material.ENDER_PEARL, 1);
addIngredient(Material.GLASS, 1);
addIngredient(Material.TNT, 1);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.WHEAT, 16);
name = "crystalization";
health = 2;
notify = false;

View File

@ -12,7 +12,7 @@ public class DiggyRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.OBSIDIAN, 1);
addIngredient(Material.WHEAT, 64*1 + 32);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.IRON_PICKAXE, 1);
addIngredient(Material.GRAVEL, 1);
description = "Digs a hole to bedrock and then some.";

View File

@ -21,7 +21,9 @@ public class FakePlayerRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 32);
addIngredient(Material.LEAVES, 32);
addIngredient(Material.WATER_BUCKET, 1);
addIngredient(Material.LEAVES, 64);
byproducts.add(new ItemStack(Material.BUCKET, 1));
name = "player illusion";
notify = false;
health = 4;

View File

@ -11,7 +11,8 @@ public class FeedingRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WOOD_HOE, 1);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.WHEAT, 8);
health = 1;
name = "feeding";
description = "Restore you and your target's food levels to maximum.";
@ -20,7 +21,9 @@ public class FeedingRitual extends Ritual {
@Override
public void execute(Player caster, Player target, Location location) {
target.setFoodLevel(20);
target.setSaturation(20);
caster.setFoodLevel(20);
caster.setSaturation(20);
}
}

View File

@ -15,7 +15,7 @@ public class FillerRitual extends Ritual {
public void setup() {
addIngredient(Material.LOG, 1);
addSacrifice(EntityType.PIG, 1);
addIngredient(Material.WHEAT, 128);
addIngredient(Material.WHEAT, 48);
name = "trolling";
health = 2;
backfire = 0.2;

View File

@ -13,6 +13,7 @@ public class GBJRitual extends Ritual {
public void setup() {
addIngredient(Material.IRON_INGOT, 6);
addIngredient(Material.STONE, 1);
addIngredient(Material.OBSIDIAN, 1);
addIngredient(Material.WHEAT, 272);
name = "caging";
health = 5;

View File

@ -13,7 +13,7 @@ public class GetLuckyRitual extends Ritual {
public void setup() {
addIngredient(Material.GOLD_BLOCK, 1);
addIngredient(Material.TNT, 1);
addIngredient(Material.WHEAT, 256);
addIngredient(Material.WHEAT, 64);
health = 3;
lightning = true;
name = "daring";

View File

@ -12,12 +12,12 @@ public class HardPenorRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.COBBLESTONE, 1);
addIngredient(Material.BONE, 1);
addIngredient(Material.REDSTONE, 16);
addIngredient(Material.BONE, 8);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.WHEAT, 32);
name = "erection";
backfire = 0.1;
description = "Erect a hard penor around yourself.";
description = "Erect a hard penor around your foe.";
}
@Override

View File

@ -14,9 +14,10 @@ public class HasteRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.DIAMOND_PICKAXE,1);
addIngredient(Material.WHEAT, 96);
addIngredient(Material.IRON_PICKAXE, 1);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.REDSTONE, 16);
addIngredient(Material.DIAMOND, 1);
health = 8;
name = "minering";
description = "Give the target extreme haste or fatigue";
@ -27,7 +28,9 @@ public class HasteRitual extends Ritual {
Random random = new Random();
if(random.nextInt(10) != 0) {
target.addPotionEffect(new PotionEffect(PotionEffectType.FAST_DIGGING, 45 * 20, 85));
} else target.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_DIGGING, 45 * 20, 50));
} else {
target.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_DIGGING, 45 * 20, 50));
}
}
}

View File

@ -11,16 +11,16 @@ public class HealRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.WHEAT, 8);
addIngredient(Material.GOLD_NUGGET, 1);
name = "healing";
description = "Heal both you and your target for two hearts.";
description = "Heal both you and your target for three hearts.";
}
@Override
public void execute(Player caster, Player target, Location location) {
caster.setHealth(Math.min(caster.getMaxHealth(), caster.getHealth()+4.0));
target.setHealth(Math.min(caster.getMaxHealth(), caster.getHealth()+4.0));
caster.setHealth(Math.min(caster.getMaxHealth(), caster.getHealth()+6.0));
target.setHealth(Math.min(caster.getMaxHealth(), caster.getHealth()+6.0));
}
}

View File

@ -20,11 +20,11 @@ public class HerobrineRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64*3);
addIngredient(Material.DIAMOND, 9);
addIngredient(Material.WHEAT, 64*2);
addIngredient(Material.DIAMOND, 1);
addIngredient(Material.ROTTEN_FLESH, 64);
addIngredient(Material.REDSTONE_BLOCK, 9);
addIngredient(Material.SUGAR, 32);
addIngredient(Material.REDSTONE_BLOCK, 1);
addIngredient(Material.SUGAR, 16);
addSacrifice(EntityType.ZOMBIE, 3);
health = 10;
name = "herobrine";

View File

@ -14,11 +14,11 @@ public class HitRitual extends Ritual {
public void setup() {
addIngredient(Material.IRON_SWORD, 1);
addIngredient(Material.IRON_INGOT, 1);
addIngredient(Material.WHEAT, 9);
addIngredient(Material.WHEAT, 8);
name = "shadow hit";
health = 1;
notify = false;
description = "Play a fake hit noise to someone.";
description = "Send a fake hit to someone.";
}
@Override

View File

@ -10,7 +10,7 @@ public class KickingRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64*2);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.FLOWER_POT_ITEM, 1);
addIngredient(Material.LOG, 1);
addIngredient(Material.IRON_BOOTS, 1);

View File

@ -11,15 +11,15 @@ public class LavaRitual extends Ritual {
public void setup() {
addIngredient(Material.LAVA_BUCKET, 1);
addIngredient(Material.DIAMOND, 1);
addIngredient(Material.WHEAT, 64);
backfire = 0.10;
addIngredient(Material.WHEAT, 32);
backfire = 0.20;
name = "combustion";
description = "Light your enemy on fire for a short period.";
}
@Override
public void execute(Player caster, Player target, Location location) {
target.setFireTicks(250);
target.setFireTicks(240);
}
}

View File

@ -13,11 +13,12 @@ public class LightningRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.GLOWSTONE, 16);
name = "lightning location";
description = "Send a bolt of locating lightning to all players.";
notify = false;
health = 2;
}
@Override

View File

@ -17,7 +17,7 @@ public class MidasRitual extends Ritual {
addIngredient(Material.GOLD_BLOCK, 1);
addIngredient(Material.GOLDEN_APPLE, 1);
addIngredient(Material.GLASS_BOTTLE, 1);
addIngredient(Material.WHEAT, 64*3);
addIngredient(Material.WHEAT, 64);
name = "midas";
health = 5;
description = "Turn the block your enemy is looking at to gold.";

View File

@ -14,7 +14,7 @@ public class QuicktimeRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64*2);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.POTION, 1);
addIngredient(Material.SPIDER_EYE, 1);
addSacrifice(EntityType.SPIDER, 1);

View File

@ -28,7 +28,7 @@ public class RSpawnEggRitual extends Ritual {
addIngredient(Material.EGG, 16);
addIngredient(Material.WHEAT, 64);
name = "egging";
health = 2;
health = 4;
description = "Summon a random spawn egg.";
}

View File

@ -13,7 +13,7 @@ public class RotateRitual extends Ritual {
addIngredient(Material.COMPASS, 1);
addIngredient(Material.STICK, 1);
addIngredient(Material.IRON_BOOTS, 1);
addIngredient(Material.WHEAT, 128);
addIngredient(Material.WHEAT, 24);
health = 4;
backfire = 0.05;
name = "rotation";

View File

@ -11,11 +11,11 @@ public class SnowmanRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.STICK, 64);
addIngredient(Material.STICK, 32);
addIngredient(Material.DIAMOND, 1);
addSacrifice(EntityType.SHEEP, 1);
addIngredient(Material.WHEAT, 32);
health = 10;
health = 4;
name = "snowing";
description = "Cause a snowman invasion at the location of your enemy.";
}

View File

@ -11,7 +11,7 @@ public class SoundRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.NOTE_BLOCK, 1);
addIngredient(Material.WHEAT, 4);
addIngredient(Material.WHEAT, 8);
name = "shadow sound";
health = 1;
notify = false;

View File

@ -2,6 +2,7 @@ package top.penowl.quidproquo.rituals;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
@ -17,7 +18,7 @@ public class SummoningRitual extends Ritual {
addIngredient(Material.WHEAT, 64+32);
health = 6;
name = "summoning";
backfire = 0.04;
backfire = 0.15;
description = "Summons a player to the altar.";
}
@ -26,6 +27,9 @@ public class SummoningRitual extends Ritual {
target.teleport(location.clone().add(0, 1, 0));
target.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 10, 255));
location.getWorld().createExplosion(location, 5F);
Block base = location.getBlock();
base.getRelative(0, 1, 0).setType(Material.AIR);
base.getRelative(0, 2, 0).setType(Material.AIR);
}
}

View File

@ -16,7 +16,7 @@ public class WoolingRitual extends Ritual {
addSacrifice(EntityType.SHEEP, 1);
name = "wooling";
health = 2;
byproducts.add(new ItemStack(Material.WOOL, 100));
byproducts.add(new ItemStack(Material.WOOL, 64));
notify = false;
description = "Summons a ton of wool.";
}