forked from MagicBane/Server
guards
This commit is contained in:
@@ -63,19 +63,32 @@ public class MobBase extends AbstractGameObject {
|
||||
this.loadID = rs.getInt("loadID");
|
||||
|
||||
this.firstName = rs.getString("name");
|
||||
this.level = rs.getByte("level");
|
||||
if(this.loadID == 14104){
|
||||
this.level = 75;
|
||||
}else {
|
||||
this.level = rs.getByte("level");
|
||||
}
|
||||
|
||||
this.goldMod = rs.getInt("goldMod");
|
||||
this.spawnTime = rs.getInt("spawnTime");
|
||||
|
||||
this.healthMax = rs.getInt("health");
|
||||
this.damageMin = rs.getFloat("minDmg");
|
||||
this.damageMax = rs.getFloat("maxDmg");
|
||||
if(this.loadID == 14104){
|
||||
this.healthMax = 15000;
|
||||
this.damageMin = 250;
|
||||
this.damageMax = 500;
|
||||
}else {
|
||||
this.healthMax = rs.getInt("health");
|
||||
this.damageMin = rs.getFloat("minDmg");
|
||||
this.damageMax = rs.getFloat("maxDmg");
|
||||
}
|
||||
|
||||
this.attackRating = rs.getInt("atr");
|
||||
this.defenseRating = rs.getInt("defense");
|
||||
this.attackRange = rs.getFloat("attackRange");
|
||||
this.bootySet = rs.getInt("bootySet");
|
||||
if(this.loadID == 14104){
|
||||
this.bootySet = 0;
|
||||
}else {
|
||||
this.bootySet = rs.getInt("bootySet");
|
||||
}
|
||||
|
||||
this.fsm = Enum.MobBehaviourType.valueOf(rs.getString("fsm"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user