|
|
|
@ -12,8 +12,6 @@ package engine.objects;
@@ -12,8 +12,6 @@ package engine.objects;
|
|
|
|
|
import java.sql.ResultSet; |
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class MobBaseStats { |
|
|
|
|
|
|
|
|
|
private final int baseStr; |
|
|
|
@ -21,8 +19,6 @@ public class MobBaseStats {
@@ -21,8 +19,6 @@ public class MobBaseStats {
|
|
|
|
|
private final int baseCon; |
|
|
|
|
private final int baseSpi; |
|
|
|
|
private final int baseDex; |
|
|
|
|
private final long skillSet; |
|
|
|
|
private final int skillValue; |
|
|
|
|
public static MobBaseStats mbs = null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -35,8 +31,6 @@ public class MobBaseStats {
@@ -35,8 +31,6 @@ public class MobBaseStats {
|
|
|
|
|
this.baseCon = rs.getInt("Constitution"); |
|
|
|
|
this.baseSpi = rs.getInt("Spirit"); |
|
|
|
|
this.baseDex = rs.getInt("Dexterity"); |
|
|
|
|
this.skillSet = rs.getLong("baseSkills"); |
|
|
|
|
this.skillValue = rs.getInt("skillAmount"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -49,8 +43,6 @@ public class MobBaseStats {
@@ -49,8 +43,6 @@ public class MobBaseStats {
|
|
|
|
|
this.baseCon = 0; |
|
|
|
|
this.baseSpi = 0; |
|
|
|
|
this.baseDex = 0; |
|
|
|
|
this.skillSet = 0; |
|
|
|
|
this.skillValue = 0; |
|
|
|
|
} |
|
|
|
|
public int getBaseStr() { |
|
|
|
|
return baseStr; |
|
|
|
@ -76,14 +68,6 @@ public class MobBaseStats {
@@ -76,14 +68,6 @@ public class MobBaseStats {
|
|
|
|
|
return baseDex; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public long getSkillSet() { |
|
|
|
|
return skillSet; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int getSkillValue() { |
|
|
|
|
return skillValue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static MobBaseStats GetGenericStats(){ |
|
|
|
|
if (mbs != null) |
|
|
|
|
return mbs; |
|
|
|
|