mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fixed default movement speed for latest MMOLib
This commit is contained in:
parent
90199ef98f
commit
5d9f25c5bd
@ -61,13 +61,11 @@ public class PlayerStats {
|
||||
map.getInstances().forEach(ins -> ins.removeIf(key -> key.equals("mmocoreClass")));
|
||||
|
||||
for (StatType stat : StatType.values()) {
|
||||
double base = getBase(stat);
|
||||
if (base == 0)
|
||||
continue;
|
||||
|
||||
StatInstance instance = map.getInstance(stat.name());
|
||||
if ((base -= instance.getVanilla()) != 0)
|
||||
instance.addModifier("mmocoreClass", new StatModifier(base));
|
||||
double total = getBase(stat) - instance.getVanilla();
|
||||
|
||||
if (total != 0)
|
||||
instance.addModifier("mmocoreClass", new StatModifier(total));
|
||||
}
|
||||
|
||||
map.updateAll();
|
||||
|
@ -84,7 +84,7 @@ attributes:
|
||||
base: 18
|
||||
per-level: 0
|
||||
movement-speed:
|
||||
base: .21
|
||||
base: .105
|
||||
per-level: 0
|
||||
|
||||
# Experience sources for main class experience.
|
||||
|
@ -78,7 +78,7 @@ attributes:
|
||||
base: 3.7
|
||||
per-level: 0
|
||||
movement-speed:
|
||||
base: .19
|
||||
base: .095
|
||||
per-level: 0
|
||||
|
||||
# Experience sources for main class experience.
|
||||
|
@ -76,7 +76,7 @@ attributes:
|
||||
base: 18
|
||||
per-level: 0
|
||||
movement-speed:
|
||||
base: .21
|
||||
base: .105
|
||||
per-level: 0
|
||||
|
||||
# Experience sources for main class experience.
|
||||
|
@ -107,7 +107,7 @@ attributes:
|
||||
base: 24
|
||||
per-level: 0.5
|
||||
movement-speed:
|
||||
base: .19
|
||||
base: .905
|
||||
per-level: 0
|
||||
attack-damage:
|
||||
base: 2
|
||||
|
@ -9,7 +9,7 @@ default:
|
||||
base: 20
|
||||
per-level: 0
|
||||
MOVEMENT_SPEED:
|
||||
base: .2
|
||||
base: .1
|
||||
per-level: 0
|
||||
ARMOR:
|
||||
base: 0
|
||||
|
Loading…
Reference in New Issue
Block a user