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:
@@ -27,7 +27,7 @@ Stage 5: Door before Ergoth - Guild Quest
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getMap().getReactorByName("kinggate").getState() == 1) {
|
||||
pi.warp(990000900);
|
||||
pi.warp(990000900, 1);
|
||||
if (pi.getPlayer().getEventInstance().getProperty("boss") != null && pi.getPlayer().getEventInstance().getProperty("boss").equals("true")) {
|
||||
pi.changeMusic("Bgm10/Eregos");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user