|
|
|
@ -681,12 +681,13 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
@@ -681,12 +681,13 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
|
|
|
|
|
|
|
|
|
if(this.getObjectType().equals(GameObjectType.Mob)){ |
|
|
|
|
return ((Mob)this).mobResists; |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
|
|
|
|
|
if (this.resists == null) |
|
|
|
|
return Resists.getResists(0); |
|
|
|
|
if (this.resists == null) |
|
|
|
|
return Resists.getResists(0); |
|
|
|
|
|
|
|
|
|
return this.resists; |
|
|
|
|
return this.resists; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public final void setResists(final Resists value) { |
|
|
|
|