|
|
@ -638,6 +638,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { |
|
|
|
abstractCharacter.defenseRating = (short) (defense + 0.5f); |
|
|
|
abstractCharacter.defenseRating = (short) (defense + 0.5f); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @param abstractCharacter |
|
|
|
* @param abstractCharacter |
|
|
|
* @ Calculates Atr (both hands) Defense, and Damage for pc |
|
|
|
* @ Calculates Atr (both hands) Defense, and Damage for pc |
|
|
@ -1147,6 +1148,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { |
|
|
|
public final short getUnusedStatPoints() { |
|
|
|
public final short getUnusedStatPoints() { |
|
|
|
return this.unusedStatPoints; |
|
|
|
return this.unusedStatPoints; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getName() { |
|
|
|
public String getName() { |
|
|
|
if (this.firstName.length() == 0 && this.lastName.length() == 0) { |
|
|
|
if (this.firstName.length() == 0 && this.lastName.length() == 0) { |
|
|
|