@ -3133,26 +3133,8 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3133,26 +3133,8 @@ public class PlayerCharacter extends AbstractCharacter {
publicvoidcalculateSpeedMod(){
// get base race speed modifer
//this is retarded. *** Refactor
// if (this.race != null) {
// int ID = this.race.getObjectUUID();
// if (ID == 2004 || ID == 2005)
// this.raceRunMod = 1.21f; // centaur run bonus 22%
//// else if (ID == 2017)
//// this.raceRunMod = 1.14f; // mino run bonus 15%
// else
// this.raceRunMod = 1;
// } else
// this.raceRunMod = 1;
floatbonus=1f;
// // TODO: hardcoded, as didnt have time to introduce DB column to base object
// if (baseClass.getName().equals("Fighter") || baseClass.getName().equals("Rogue"))
// bonus += .05f;
// get running skill
if(this.skills!=null){
CharacterSkillrunning=this.skills.get("Running");
@ -3205,14 +3187,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3205,14 +3187,6 @@ public class PlayerCharacter extends AbstractCharacter {
returnthis.follow;
}
publicintgetLastGroupToInvite(){
returnthis.lastGroupToInvite;
}
publicvoidsetLastGroupToInvite(intvalue){
this.lastGroupToInvite=value;
}
@Override
publicfloatgetAltitude(){
if(this.altitude<0)
@ -3261,10 +3235,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3261,10 +3235,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -3272,20 +3242,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3272,20 +3242,6 @@ public class PlayerCharacter extends AbstractCharacter {
publicvoidsetTeleportMode(booleanteleportMode){
this.teleportMode=teleportMode;
}
// public ConcurrentHashMap<Integer, FinishRecycleTimeJob>
@ -3799,22 +3755,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3799,22 +3755,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -3852,15 +3792,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3852,15 +3792,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -3985,17 +3916,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3985,17 +3916,6 @@ public class PlayerCharacter extends AbstractCharacter {
max=(float)wb.getMaxDamage();
strBased=wb.isStrBased();
//
// Add parry bonus for weapon and allow parry if needed
// // Only Fighters and Thieves can Parry
// if ((this.baseClass != null && this.baseClass.getUUID() == 2500)
@ -4479,36 +4399,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4479,36 +4399,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4593,10 +4483,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4593,10 +4483,6 @@ public class PlayerCharacter extends AbstractCharacter {
super.removeFromCache();
}
publicvoidstoreIgnoreListDB(){
}
publicvoidupdateSkillsAndPowersToDatabase(){
if(this.skills!=null)
for(CharacterSkillskill:this.skills.values()){
@ -4765,17 +4651,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4765,17 +4651,6 @@ public class PlayerCharacter extends AbstractCharacter {
returntrue;
}
// Method is called by Server Heartbeat simulation tick.
// Stat regen and transform updates should go in here.
@ -4817,30 +4692,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4817,30 +4692,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4897,11 +4748,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4897,11 +4748,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5064,7 +4910,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5064,7 +4910,6 @@ public class PlayerCharacter extends AbstractCharacter {
ChatManager.chatSystemInfo(this,
"Arrived at End location. "+this.getEndLoc());
return;
//Next upda
}
setLoc(newLoc);
@ -5076,11 +4921,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5076,11 +4921,6 @@ public class PlayerCharacter extends AbstractCharacter {
if(this.getStamina()<10)
MovementManager.sendOOS(this);
// if (MBServerStatics.MOVEMENT_SYNC_DEBUG || this.getDebug(1))
// Logger.info("MovementManager", "Updating movement current loc:" + this.getLoc().getX() + " " + this.getLoc().getZ()
@ -5457,23 +5297,11 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5457,23 +5297,11 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5499,10 +5327,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5499,10 +5327,6 @@ public class PlayerCharacter extends AbstractCharacter {
this.lastRealmID=lastRealmID;
}
publicintgetSubRaceID(){
returnsubRaceID;
}
publicvoidsetSubRaceID(intsubRaceID){
this.subRaceID=subRaceID;
}
@ -5515,29 +5339,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5515,29 +5339,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5574,10 +5375,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5574,10 +5375,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5609,14 +5406,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5609,14 +5406,6 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5625,26 +5414,10 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5625,26 +5414,10 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5694,176 +5467,6 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5694,176 +5467,6 @@ public class PlayerCharacter extends AbstractCharacter {