PlayerCombatStats object
This commit is contained in:
1 parent
a6fcb5ea00
commit
5ed7712aed
2 files changed
+414
No files matched your search
@@ -180,6 +180,8 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
public boolean isBoxed = false;
|
||||
|
||||
public PlayerCombatStats combatStats;
|
||||
|
||||
/**
|
||||
* No Id Constructor
|
||||
*/
|
||||
@@ -5106,6 +5108,13 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(this.combatStats == null){
|
||||
this.combatStats = new PlayerCombatStats(this);
|
||||
}
|
||||
PlayerCombatStats cStats = this.combatStats;
|
||||
cStats.update();
|
||||
|
||||
} catch (Exception e) {
|
||||
Logger.error(e);
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user