mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-23 07:19:33 +01:00
27 lines
953 B
Diff
27 lines
953 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
|
Date: Sun, 31 Aug 2014 12:24:10 -0500
|
|
Subject: [PATCH] test
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MobEffectAttackDamage.java b/src/main/java/net/minecraft/server/MobEffectAttackDamage.java
|
|
new file mode 100644
|
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
|
--- /dev/null
|
|
+++ b/src/main/java/net/minecraft/server/MobEffectAttackDamage.java
|
|
@@ -0,0 +0,0 @@
|
|
+package net.minecraft.server;
|
|
+
|
|
+public class MobEffectAttackDamage extends MobEffectList {
|
|
+
|
|
+ protected MobEffectAttackDamage(int i, boolean flag, int j) {
|
|
+ super(i, flag, j);
|
|
+ }
|
|
+
|
|
+ public double a(int i, AttributeModifier attributemodifier) {
|
|
+ return this.id == MobEffectList.WEAKNESS.id ? (double) (-0.5F * (float) (i + 1)) : 1.3D * (double) (i + 1);
|
|
+ }
|
|
+}
|
|
--
|
|
1.9.4.msysgit.1
|
|
|