Rebalance and new ritual

This commit is contained in:
Edith Boles 2021-10-10 20:23:54 -07:00
parent e079d2c487
commit 1e71cb094f
31 changed files with 73 additions and 39 deletions

View File

@ -21,7 +21,7 @@ public class AirliftRitual extends Ritual {
addIngredient(Material.STONE, 1);
addIngredient(Material.SAPLING, 1);
addSacrifice(EntityType.CHICKEN, 1);
addIngredient(Material.WHEAT, 64*6);
addIngredient(Material.WHEAT, 64*2);
name = "raising";
description = "Raises the chunk.";
health = 3;
@ -31,9 +31,9 @@ public class AirliftRitual extends Ritual {
@Override
public void execute(Player caster, Player target, Location location) {
Block block = location.getBlock().getRelative(-8, -12, -8);
for (int y = 200; y >= 0; y-- ) {
for (int x = 0; x < 16; x++ ) {
for (int z = 0; z < 16; z++ ) {
for (int y = 200; y >= 0; y--) {
for (int x = 0; x < 16; x++) {
for (int z = 0; z < 16; z++) {
Block targetBlock = block.getRelative(x, y, z);
Block toBlock = targetBlock.getRelative(0, 20, 0);
toBlock.setType(targetBlock.getType());

View File

@ -12,7 +12,7 @@ public class AntimatterRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.OBSIDIAN, 1);
addIngredient(Material.WHEAT, 64*2);
addIngredient(Material.WHEAT, 64*1);
addIngredient(Material.ENDER_PEARL, 1);
addIngredient(Material.GOLDEN_CARROT, 1);
name = "antimatter";

View File

@ -15,7 +15,7 @@ public class AnvilRitual extends Ritual {
addIngredient(Material.ANVIL, 1);
addIngredient(Material.ARROW, 1);
addIngredient(Material.ROTTEN_FLESH, 1);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.WHEAT, 16);
name = "anviling";
health = 4;
backfire = 0.3;

View File

@ -11,7 +11,7 @@ public class BatSpewRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64);
addIngredient(Material.WHEAT, 20);
addIngredient(Material.IRON_PICKAXE, 1);
addSacrifice(EntityType.CHICKEN, 1);
name = "bat spew";

View File

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

View File

@ -14,11 +14,10 @@ public class ChugJugRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.BLAZE_ROD, 1);
addIngredient(Material.GLASS_BOTTLE, 1);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.GLOWSTONE_DUST, 1);
addIngredient(Material.WHEAT, 64*3);
addIngredient(Material.WHEAT, 64*1);
addSacrifice(EntityType.WITCH, 1);
health = 10;
name = "chug jug";

View File

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

View File

@ -13,7 +13,7 @@ public class CreeperHissRitual extends Ritual {
public void setup() {
addIngredient(Material.SULPHUR, 1);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.WHEAT, 8);
name = "creeper hissing";
health = 1;
notify = false;

View File

@ -10,7 +10,7 @@ public class ExperienceRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.REDSTONE_BLOCK, 9);
addIngredient(Material.REDSTONE_BLOCK, 5);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.GLASS_BOTTLE, 1);
health = 1;
@ -21,7 +21,8 @@ public class ExperienceRitual extends Ritual {
@Override
public void execute(Player caster, Player target, Location location) {
caster.giveExp(200000);
target.giveExp(250);
caster.giveExp(250);
}
}

View File

@ -21,9 +21,9 @@ public class FeedingRitual extends Ritual {
@Override
public void execute(Player caster, Player target, Location location) {
target.setFoodLevel(20);
target.setSaturation(20);
target.setSaturation(40);
caster.setFoodLevel(20);
caster.setSaturation(20);
caster.setSaturation(40);
}
}

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, 48);
addIngredient(Material.WHEAT, 24);
name = "trolling";
health = 2;
backfire = 0.2;

View File

@ -14,7 +14,7 @@ public class GBJRitual extends Ritual {
addIngredient(Material.IRON_INGOT, 6);
addIngredient(Material.STONE, 1);
addIngredient(Material.OBSIDIAN, 1);
addIngredient(Material.WHEAT, 272);
addIngredient(Material.WHEAT, 64*2);
name = "caging";
health = 5;
backfire = 0.2;

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, 64);
addIngredient(Material.WHEAT, 32);
health = 3;
lightning = true;
name = "daring";

View File

@ -12,7 +12,7 @@ public class HardPenorRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.COBBLESTONE, 1);
addIngredient(Material.BONE, 8);
addIngredient(Material.BONE, 4);
addIngredient(Material.REDSTONE, 1);
addIngredient(Material.WHEAT, 32);
name = "erection";

View File

@ -15,7 +15,7 @@ public class HasteRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.IRON_PICKAXE, 1);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.REDSTONE, 16);
addIngredient(Material.DIAMOND, 1);
health = 8;

View File

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

View File

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

View File

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

View File

@ -11,7 +11,7 @@ public class LavaRitual extends Ritual {
public void setup() {
addIngredient(Material.LAVA_BUCKET, 1);
addIngredient(Material.DIAMOND, 1);
addIngredient(Material.WHEAT, 32);
addIngredient(Material.WHEAT, 16);
backfire = 0.20;
name = "combustion";
description = "Light your enemy on fire for a short period.";

View File

@ -13,7 +13,7 @@ public class LightQuicktimeRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WHEAT, 64+32);
addIngredient(Material.WHEAT, 64);
addIngredient(Material.GLASS_BOTTLE, 1);
addIngredient(Material.SPIDER_EYE, 1);
name = "quicktime lite";

View File

@ -26,7 +26,9 @@ public class LightningRitual extends Ritual {
World world = location.getWorld();
List<Player> players = world.getPlayers();
for(Player player : players) {
world.strikeLightningEffect(player.getLocation().clone().add(0, 1, 0));
if(player.getUniqueId() != caster.getUniqueId()) {
world.strikeLightningEffect(player.getLocation().clone().add(0, 1, 0));
}
}
}

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);
addIngredient(Material.WHEAT, 16);
name = "midas";
health = 5;
description = "Turn the block your enemy is looking at to gold.";

View File

@ -0,0 +1,31 @@
package top.penowl.quidproquo.rituals;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import top.penowl.quidproquo.Ritual;
public class PissingRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.WATER_BUCKET, 1);
addIngredient(Material.GOLD_LEGGINGS, 1);
addIngredient(Material.STICK, 16);
addIngredient(Material.WHEAT, 32);
health = 2;
name = "pissing";
description = "Make your foe piss their pants.";
backfire = 0.25;
}
@Override
public void execute(Player caster, Player target, Location location) {
target.getLocation().getBlock().setType(Material.STATIONARY_WATER);
Bukkit.broadcastMessage(ChatColor.YELLOW + target.getName() + " pissed their pants!");
}
}

View File

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

View File

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

View File

@ -19,7 +19,7 @@ public class RandomItemRitual extends Ritual {
addIngredient(Material.GOLD_INGOT, 3);
addIngredient(Material.REDSTONE, 2);
addIngredient(Material.DIAMOND, 1);
addIngredient(Material.WHEAT, 16);
addIngredient(Material.WHEAT, 8);
health = 2;
name = "itemization";
notify = false;

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, 24);
addIngredient(Material.WHEAT, 16);
health = 4;
backfire = 0.05;
name = "rotation";

View File

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

View File

@ -12,7 +12,7 @@ public class SoftPenorRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.SAND, 1);
addIngredient(Material.BONE, 1);
addIngredient(Material.BONE, 4);
addIngredient(Material.REDSTONE, 16);
addIngredient(Material.WHEAT, 32);
backfire = 0.10;

View File

@ -11,7 +11,7 @@ public class WitherRitual extends Ritual {
@Override
public void setup() {
addIngredient(Material.BONE, 64);
addIngredient(Material.BONE, 16);
addIngredient(Material.WHEAT, 64*9);
addSacrifice(EntityType.SKELETON, 1);
addIngredient(Material.FLOWER_POT_ITEM, 1);

View File

@ -14,6 +14,7 @@ public class WoolingRitual extends Ritual {
public void setup() {
addIngredient(Material.IRON_SWORD, 1);
addSacrifice(EntityType.SHEEP, 1);
addIngredient(Material.WHEAT, 8);
name = "wooling";
health = 2;
byproducts.add(new ItemStack(Material.WOOL, 64));