|
|
|
@ -276,7 +276,7 @@ public class MobEquipment extends AbstractGameObject {
@@ -276,7 +276,7 @@ public class MobEquipment extends AbstractGameObject {
|
|
|
|
|
if (itemBase != null) |
|
|
|
|
|
|
|
|
|
for (Integer token : itemBase.getBakedInStats().keySet()) { |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
EffectsBase effect = PowersManager.getEffectByToken(token); |
|
|
|
|
|
|
|
|
|
AbstractPowerAction apa = PowersManager.getPowerActionByIDString(effect.getIDString()); |
|
|
|
@ -289,6 +289,9 @@ public class MobEquipment extends AbstractGameObject {
@@ -289,6 +289,9 @@ public class MobEquipment extends AbstractGameObject {
|
|
|
|
|
|
|
|
|
|
if (apa.getEffectsBase2() != null) |
|
|
|
|
value += apa.getEffectsBase2().getValue(); |
|
|
|
|
|
|
|
|
|
}catch(Exception e){ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.magicValue = (int) value; |
|
|
|
|