mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-11 13:11:50 +01:00
Added defense stat, requires latest mmolib to function.
Add to lore-format.yml '- '#defense#'' Add to stats.yml 'defense: '&7■ Defense: &f<plus>#''
This commit is contained in:
parent
ec859807a9
commit
f76e93b5bb
1
pom.xml
1
pom.xml
@ -40,6 +40,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
|
@ -183,6 +183,9 @@ public abstract class ItemStat {
|
||||
"Magic Damage", new String[] { "Additional magic skill damage in %." });
|
||||
public static final ItemStat PHYSICAL_DAMAGE = new DoubleStat("PHYSICAL_DAMAGE", new ItemStack(Material.IRON_AXE),
|
||||
"Physical Damage", new String[] { "Additional skill/weapon physical damage." });
|
||||
public static final ItemStat DEFENSE = new DoubleStat("DEFENSE",
|
||||
new ItemStack(Material.SHIELD), "Defense",
|
||||
new String[] { "Reduces damage from any source.", "Formula can be set in MMOLib Config." });
|
||||
public static final ItemStat DAMAGE_REDUCTION = new DoubleStat("DAMAGE_REDUCTION",
|
||||
new ItemStack(Material.IRON_CHESTPLATE), "Damage Reduction",
|
||||
new String[] { "Reduces damage from any source.", "In %." });
|
||||
|
@ -40,6 +40,7 @@ lore-format:
|
||||
- '#skill-damage#'
|
||||
- '#physical-damage#'
|
||||
- '#projectile-damage#'
|
||||
- '#defense#'
|
||||
- '#damage-reduction#'
|
||||
- '#fall-damage-reduction#'
|
||||
- '#fire-damage-reduction#'
|
||||
|
@ -44,6 +44,7 @@ max-health: '&c❤ Health: <plus>#'
|
||||
movement-speed: '&7■ Movement Speed: &f<plus>#'
|
||||
|
||||
# Damage Reduction
|
||||
defense: '&7■ Defense: &f<plus>#'
|
||||
damage-reduction: '&7■ Damage Reduction: &f<plus>#%'
|
||||
fall-damage-reduction: '&7■ Fall Damage Reduction: &f<plus>#%'
|
||||
fire-damage-reduction: '&7■ Fire Damage Reduction: &f<plus>#%'
|
||||
|
Loading…
Reference in New Issue
Block a user