More concurrency fixes + Zombify + BPQ available

Fixed some inconsistencies due to race conditions in the project, added
Zombify monster effect, made BPQ available and some minor patches.
This commit is contained in:
ronancpl
2017-04-09 14:23:23 -03:00
parent 7dc163fc76
commit 8c61c616f9
19 changed files with 321 additions and 115 deletions

View File

@@ -0,0 +1,13 @@
importPackage(Packages.server.life);
importPackage(Packages.tools);
importPackage(Packages.server.events);
function start(ms) {
try {
ms.getPlayer().resetEnteredScript();
ms.getPlayer().getClient().getSession().write(MaplePacketCreator.getClock(BalrogPQ.getSecondsLeft())); // 60 mins(1hr)
BalrogPQ.spawnBalrog(1, ms.getPlayer());
} catch(err) {
ms.getPlayer().dropMessage(err);
}
}