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:
13
scripts/map/onFirstUserEnter/balog_summon.js
Normal file
13
scripts/map/onFirstUserEnter/balog_summon.js
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user