From 1247fd21664c246f3c29e6ba39e650fb0cfaa8ff Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+GamerCoder215@users.noreply.github.com> Date: Thu, 31 Aug 2023 18:14:12 -0500 Subject: [PATCH] Add Shooters to BLAZE, Fix DEATH Artifact --- .../teaminceptus/plasmaenchants/api/artifacts/PArtifacts.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/src/main/kotlin/us/teaminceptus/plasmaenchants/api/artifacts/PArtifacts.kt b/api/src/main/kotlin/us/teaminceptus/plasmaenchants/api/artifacts/PArtifacts.kt index 0bd8390..3d2790d 100644 --- a/api/src/main/kotlin/us/teaminceptus/plasmaenchants/api/artifacts/PArtifacts.kt +++ b/api/src/main/kotlin/us/teaminceptus/plasmaenchants/api/artifacts/PArtifacts.kt @@ -268,7 +268,7 @@ enum class PArtifacts( .apply { if (this !is LivingEntity) return@Action - addPotionEffect(PotionEffect(PotionEffectType.POISON, 3, 1, true)) + addPotionEffect(PotionEffect(PotionEffectType.WITHER, 3, 1, true)) } }, ItemStack(Material.WITHER_ROSE, 48), Material.WITHER_SKELETON_SKULL, ChatColor.LIGHT_PURPLE ), @@ -292,7 +292,9 @@ enum class PArtifacts( if (event.action != LEFT_CLICK_AIR && event.action != LEFT_CLICK_BLOCK) return@Action val loc = event.player.eyeLocation - event.player.world.spawn(loc, SmallFireball::class.java) + event.player.world.spawn(loc, SmallFireball::class.java).apply { + shooter = event.player + } }, ItemStack(Material.BLAZE_ROD, 64), Material.BLAZE_POWDER, ChatColor.GOLD ),