Added Revenant, Insecticide, Slaughter, Settle, Phantasm, Arachnid, Pacify, and Abattoir
This commit is contained in:
@@ -206,6 +206,14 @@ public class EcoEnchants {
|
||||
public static final EcoEnchant IDENTIFY = new Identify();
|
||||
public static final EcoEnchant INFURIATE = new Infuriate();
|
||||
public static final EcoEnchant ATMOSPHERIC = new Atmospheric();
|
||||
public static final EcoEnchant REVENANT = new Revenant();
|
||||
public static final EcoEnchant INSECTICIDE = new Insecticide();
|
||||
public static final EcoEnchant SLAUGHTER = new Slaughter();
|
||||
public static final EcoEnchant SETTLE = new Settle();
|
||||
public static final EcoEnchant PHANTASM = new Phantasm();
|
||||
public static final EcoEnchant ARACHNID = new Arachnid();
|
||||
public static final EcoEnchant PACIFY = new Pacify();
|
||||
public static final EcoEnchant ABATTOIR = new Abattoir();
|
||||
|
||||
/**
|
||||
* Get all registered {@link EcoEnchant}s
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import com.willfp.ecoenchants.nms.TridentStack;
|
||||
import org.bukkit.entity.Creeper;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class Abattoir extends EcoEnchant {
|
||||
public Abattoir() {
|
||||
super(
|
||||
new EcoEnchantBuilder("abattoir", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Trident))
|
||||
return;
|
||||
|
||||
if(event.getEntity() instanceof Monster) return;
|
||||
|
||||
Trident trident = (Trident) event.getDamager();
|
||||
ItemStack item = TridentStack.getTridentStack(trident);
|
||||
|
||||
if(!EnchantChecks.item(item, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getItemLevel(item, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import com.willfp.ecoenchants.nms.TridentStack;
|
||||
import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Spider;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class Arachnid extends EcoEnchant {
|
||||
public Arachnid() {
|
||||
super(
|
||||
new EcoEnchantBuilder("arachnid", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Trident))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Spider)) return;
|
||||
|
||||
Trident trident = (Trident) event.getDamager();
|
||||
ItemStack item = TridentStack.getTridentStack(trident);
|
||||
|
||||
if(!EnchantChecks.item(item, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getItemLevel(item, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import org.bukkit.entity.*;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public class Insecticide extends EcoEnchant {
|
||||
public Insecticide() {
|
||||
super(
|
||||
new EcoEnchantBuilder("insecticide", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Arrow))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Spider)) return;
|
||||
|
||||
Arrow arrow = (Arrow) event.getDamager();
|
||||
|
||||
if(!EnchantChecks.arrow(arrow, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getArrowLevel(arrow, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import com.willfp.ecoenchants.nms.TridentStack;
|
||||
import org.bukkit.entity.Creeper;
|
||||
import org.bukkit.entity.Spider;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class Pacify extends EcoEnchant {
|
||||
public Pacify() {
|
||||
super(
|
||||
new EcoEnchantBuilder("pacify", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Trident))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Creeper)) return;
|
||||
|
||||
Trident trident = (Trident) event.getDamager();
|
||||
ItemStack item = TridentStack.getTridentStack(trident);
|
||||
|
||||
if(!EnchantChecks.item(item, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getItemLevel(item, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import com.willfp.ecoenchants.nms.TridentStack;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Skeleton;
|
||||
import org.bukkit.entity.Trident;
|
||||
import org.bukkit.entity.Zombie;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class Phantasm extends EcoEnchant {
|
||||
public Phantasm() {
|
||||
super(
|
||||
new EcoEnchantBuilder("phantasm", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Trident))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Zombie || event.getEntity() instanceof Skeleton)) return;
|
||||
|
||||
Trident trident = (Trident) event.getDamager();
|
||||
ItemStack item = TridentStack.getTridentStack(trident);
|
||||
|
||||
if(!EnchantChecks.item(item, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getItemLevel(item, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import org.bukkit.entity.*;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public class Revenant extends EcoEnchant {
|
||||
public Revenant() {
|
||||
super(
|
||||
new EcoEnchantBuilder("revenant", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Arrow))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Zombie || event.getEntity() instanceof Skeleton)) return;
|
||||
|
||||
Arrow arrow = (Arrow) event.getDamager();
|
||||
|
||||
if(!EnchantChecks.arrow(arrow, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getArrowLevel(arrow, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Serrated extends EcoEnchant {
|
||||
public Serrated() {
|
||||
super(
|
||||
new EcoEnchantBuilder("serrated", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("serrated", EnchantmentType.NORMAL, Target.Applicable.TRIDENT, 4.01)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.Creeper;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public class Settle extends EcoEnchant {
|
||||
public Settle() {
|
||||
super(
|
||||
new EcoEnchantBuilder("settle", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Arrow))
|
||||
return;
|
||||
|
||||
if(!(event.getEntity() instanceof Creeper)) return;
|
||||
|
||||
Arrow arrow = (Arrow) event.getDamager();
|
||||
|
||||
if(!EnchantChecks.arrow(arrow, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getArrowLevel(arrow, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.normal;
|
||||
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder;
|
||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import com.willfp.ecoenchants.enchantments.util.checks.EnchantChecks;
|
||||
import com.willfp.ecoenchants.nms.Target;
|
||||
import org.bukkit.entity.Arrow;
|
||||
import org.bukkit.entity.Monster;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Spider;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
|
||||
public class Slaughter extends EcoEnchant {
|
||||
public Slaughter() {
|
||||
super(
|
||||
new EcoEnchantBuilder("slaughter", EnchantmentType.NORMAL, Target.Applicable.BOW, 4.0)
|
||||
);
|
||||
}
|
||||
|
||||
// START OF LISTENERS
|
||||
|
||||
@EventHandler
|
||||
public void onDamage(EntityDamageByEntityEvent event) {
|
||||
if (!(event.getDamager() instanceof Arrow))
|
||||
return;
|
||||
|
||||
if(event.getEntity() instanceof Monster) return;
|
||||
|
||||
Arrow arrow = (Arrow) event.getDamager();
|
||||
|
||||
if(!EnchantChecks.arrow(arrow, this))
|
||||
return;
|
||||
|
||||
int level = EnchantChecks.getArrowLevel(arrow, this);
|
||||
|
||||
double damage = event.getDamage();
|
||||
double multiplier = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier");
|
||||
double bonus = (multiplier * (level + 1)) + 1;
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class Bladed extends EcoEnchant {
|
||||
public Bladed() {
|
||||
super(
|
||||
new EcoEnchantBuilder("bladed", EnchantmentType.SPECIAL, Target.Applicable.TRIDENT, 4.0)
|
||||
new EcoEnchantBuilder("bladed", EnchantmentType.SPECIAL, Target.Applicable.TRIDENT, 4.01)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
public class Force extends EcoEnchant {
|
||||
public Force() {
|
||||
super(
|
||||
new EcoEnchantBuilder("force", EnchantmentType.SPECIAL, Target.Applicable.BOW, 4.0)
|
||||
new EcoEnchantBuilder("force", EnchantmentType.SPECIAL, Target.Applicable.BOW, 4.01)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
29
Plugin/src/main/resources/enchants/normal/abattoir.yml
Normal file
29
Plugin/src/main/resources/enchants/normal/abattoir.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Abattoir EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Abattoir"
|
||||
|
||||
description: Increases damage against passive mobs.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- serrated
|
||||
- bladed
|
||||
- phantasm
|
||||
- pacify
|
||||
- arachnid
|
||||
- impaling
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
29
Plugin/src/main/resources/enchants/normal/arachnid.yml
Normal file
29
Plugin/src/main/resources/enchants/normal/arachnid.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Arachnid EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Arachnid"
|
||||
|
||||
description: Increases damage against spiders.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- serrated
|
||||
- bladed
|
||||
- phantasm
|
||||
- pacify
|
||||
- abattoir
|
||||
- impaling
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
28
Plugin/src/main/resources/enchants/normal/insecticide.yml
Normal file
28
Plugin/src/main/resources/enchants/normal/insecticide.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Insecticide EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Insecticide"
|
||||
|
||||
description: Increases damage against spiders.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- power
|
||||
- force
|
||||
- revenant
|
||||
- slaughter
|
||||
- settle
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
29
Plugin/src/main/resources/enchants/normal/pacify.yml
Normal file
29
Plugin/src/main/resources/enchants/normal/pacify.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Pacify EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Pacify"
|
||||
|
||||
description: Increases damage against creepers.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- serrated
|
||||
- bladed
|
||||
- phantasm
|
||||
- arachnid
|
||||
- abattoir
|
||||
- impaling
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
29
Plugin/src/main/resources/enchants/normal/phantasm.yml
Normal file
29
Plugin/src/main/resources/enchants/normal/phantasm.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Phantasm EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Phantasm"
|
||||
|
||||
description: Increases damage against undead mobs.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- serrated
|
||||
- bladed
|
||||
- arachnid
|
||||
- pacify
|
||||
- abattoir
|
||||
- impaling
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
28
Plugin/src/main/resources/enchants/normal/revenant.yml
Normal file
28
Plugin/src/main/resources/enchants/normal/revenant.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Revenant EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Revenant"
|
||||
|
||||
description: Increases damage against undead mobs.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- power
|
||||
- force
|
||||
- insecticide
|
||||
- slaughter
|
||||
- settle
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
@@ -17,8 +17,12 @@ obtaining:
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- impaling
|
||||
- bladed
|
||||
- phantasm
|
||||
- arachnid
|
||||
- pacify
|
||||
- abattoir
|
||||
- impaling
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
|
||||
28
Plugin/src/main/resources/enchants/normal/settle.yml
Normal file
28
Plugin/src/main/resources/enchants/normal/settle.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Settle EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Settle"
|
||||
|
||||
description: Increases damage against creepers.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- power
|
||||
- force
|
||||
- revenant
|
||||
- slaughter
|
||||
- insecticide
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
28
Plugin/src/main/resources/enchants/normal/slaughter.yml
Normal file
28
Plugin/src/main/resources/enchants/normal/slaughter.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Slaughter EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
|
||||
name: "Slaughter"
|
||||
|
||||
description: Increases damage against passive mobs.
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: common
|
||||
|
||||
general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- power
|
||||
- force
|
||||
- revenant
|
||||
- insecticide
|
||||
- settle
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
multiplier: 0.4 # Formula is (multiplier * (level + 1) + 1)*damage | Power is 0.25
|
||||
@@ -2,7 +2,7 @@
|
||||
# Bladed EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
config-version: 4.01 # Don't edit this.
|
||||
|
||||
name: "Bladed"
|
||||
|
||||
@@ -19,6 +19,10 @@ general-config:
|
||||
conflicts:
|
||||
- impaling
|
||||
- serrated
|
||||
- phantasm
|
||||
- arachnid
|
||||
- pacify
|
||||
- abattoir
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Force EcoEnchant
|
||||
#
|
||||
|
||||
config-version: 4.0 # Don't edit this.
|
||||
config-version: 4.01 # Don't edit this.
|
||||
|
||||
name: "Force"
|
||||
|
||||
@@ -18,6 +18,10 @@ general-config:
|
||||
grindstoneable: true
|
||||
conflicts:
|
||||
- power
|
||||
- revenant
|
||||
- insecticide
|
||||
- slaughter
|
||||
- settle
|
||||
maximum-level: 5
|
||||
|
||||
config:
|
||||
|
||||
@@ -225,6 +225,14 @@ permissions:
|
||||
ecoenchants.fromtable.identify: true
|
||||
ecoenchants.fromtable.infuriate: true
|
||||
ecoenchants.fromtable.atmospheric: true
|
||||
ecoenchants.fromtable.revenant: true
|
||||
ecoenchants.fromtable.insecticide: true
|
||||
ecoenchants.fromtable.slaughter: true
|
||||
ecoenchants.fromtable.settle: true
|
||||
ecoenchants.fromtable.phantasm: true
|
||||
ecoenchants.fromtable.arachnid: true
|
||||
ecoenchants.fromtable.pacify: true
|
||||
ecoenchants.fromtable.abattoir: true
|
||||
|
||||
ecoenchants.updateannounce:
|
||||
description: Informs admins of a new update
|
||||
@@ -772,4 +780,28 @@ permissions:
|
||||
default: true
|
||||
ecoenchants.fromtable.atmospheric:
|
||||
description: Allows getting atmospheric from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.revenant:
|
||||
description: Allows getting revenant from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.insecticide:
|
||||
description: Allows getting insecticide from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.slaughter:
|
||||
description: Allows getting slaughter from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.settle:
|
||||
description: Allows getting settle from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.phantasm:
|
||||
description: Allows getting phantasm from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.arachnid:
|
||||
description: Allows getting arachnid from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.pacify:
|
||||
description: Allows getting pacify from an enchanting table
|
||||
default: true
|
||||
ecoenchants.fromtable.abattoir:
|
||||
description: Allows getting abattoir from an enchanting table
|
||||
default: true
|
||||
Reference in New Issue
Block a user