Guild PQ + fixed negative EXP error
Implemented Guild PQ. Fixed a problem introduced earlier where negative EXP would be deemed as "integer overflow", provoking many game breaking issues as result.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getMap().getReactorByName("statuegate").getState() == 1) {
|
||||
pi.warp(990000301);
|
||||
pi.warp(990000301, 0);
|
||||
return true;
|
||||
} else {
|
||||
pi.getPlayer().dropMessage(5, "The gate is closed.");
|
||||
|
||||
Reference in New Issue
Block a user