mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 19:39:07 +00:00
Attribute THINGS
This commit is contained in:
1 parent
c132db8299
commit
4e0359902d
4 files changed
+77
-6
No files matched your search
@@ -13,7 +13,9 @@ public class PlayerAttributeTracker {
|
||||
private final UUID playerId;
|
||||
private PlayerAttributeMap playerAttributes = new PlayerAttributeMap();
|
||||
|
||||
public final int extraHealth = 0;
|
||||
public int extraHealth = 0;
|
||||
public float maximumOutput = 0.0f;
|
||||
|
||||
public final Map<Integer, Float> magicDamage = new HashMap<>();
|
||||
public final Map<Integer, Float> magicBoost = new HashMap<>();
|
||||
public final Map<Integer, Float> magicDefense = new HashMap<>();
|
||||
@@ -90,6 +92,7 @@ public class PlayerAttributeTracker {
|
||||
}
|
||||
}
|
||||
equipmentTracker = currentEquip;
|
||||
maximumOutput = AttributeAttackHelper.calculateMaximumOutput(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user