Remake changes (#41)

* Bot fixes & improvements

* Accurate bot combat stats generation

* Fix AIP crash

* 1x exp rate and debug off
This commit is contained in:
Daniel Ginovker 2019-11-08 16:15:53 -05:00 committed by GitHub
parent 9df584962f
commit c204bd4b7c
5 changed files with 5 additions and 4 deletions

View file

@ -107,7 +107,6 @@ Leviathan Sr:3:0:1007:0:13328:6654:0:0:6655:0:0:0:0:
Chuka Ryori:102:0:0:0:1387:0:0:0:0:0:0:0:0:
5g4sg4sg4sg:3:0:0:0:0:0:0:0:0:0:0:0:0:
Elroyfct19:8:1949:0:0:0:0:1173:0:0:0:0:0:0:
Cattles:57:21720:0:22692:20779:13284:24325:0:13285:0:13287:13286:0:
PureEffectQ:37:1161:1019:1725:1331:1123:1540:0:1073:0:1059:1061:0:
rowcharger2:58:2613:0:0:1387:2607:2611:0:3475:0:1065:0:0:
Redrani1:33:1038:0:0:0:0:0:0:0:0:0:0:0:

View file

@ -1,5 +1,5 @@
name=2009scape
beta=true
beta=false
sql=true
devMode=false
gui=true

View file

@ -82,7 +82,7 @@ public final class Server {
}
/**
* Sets the bastartTime.
* Sets the bastartTime.ZZ
* @param startTime the startTime to set.
*/
public static void setStartTime(long startTime) {

View file

@ -259,6 +259,7 @@ public final class Skills {
* @return The experience mod.
*/
private double getExperienceMod(int slot, double experience, boolean playerMod, boolean multiplyer) {
//This function returns 1.0;
if (!(entity instanceof Player)) {
return 1.0;
}
@ -298,7 +299,8 @@ public final class Skills {
if (mod > MAX_EXPERIENCE_MOD ) {
return MAX_EXPERIENCE_MOD;
}
return mod;
return 1.0;
//return mod;
}
/**