Fixed summons and NPCs having 0 mcrit rate.

Contributed by Sahar.
This commit is contained in:
MobiusDevelopment
2020-07-02 05:15:39 +00:00
parent fb130bc5de
commit 8ff8f5f250
17 changed files with 17 additions and 17 deletions

View File

@ -94,7 +94,7 @@ public class CreatureTemplate extends ListenersContainer
// Shield and critical rates
_baseValues.put(Stat.SHIELD_DEFENCE_RATE, set.getDouble("baseShldRate", 0));
_baseValues.put(Stat.CRITICAL_RATE, set.getDouble("baseCritRate", 4));
_baseValues.put(Stat.MAGIC_CRITICAL_RATE, set.getDouble("baseMCritRate", 0));
_baseValues.put(Stat.MAGIC_CRITICAL_RATE, set.getDouble("baseMCritRate", 5));
// Breath under water
_baseValues.put(Stat.BREATH, set.getDouble("baseBreath", 100));