Savior Commit
Fixed some bugs regarding dojo, updated drop data, minor tweaks on Mystic Doors, added expeditions for Showa Manor, Zakum and Pink Bean, smart search for item slots on quest/npc rewarding system, attempt on boss HPbar to focus on player's current target, quests with selectable rewards now hands the item correctly, after the first PQ instance next ones are loaded more smoothly.
This commit is contained in:
@@ -28,7 +28,9 @@ var messages = Array("Your courage for challenging the Mu Lung Dojo is commendab
|
||||
|
||||
function start(ms) {
|
||||
if (ms.getPlayer().getMap().getId() == 925020000) {
|
||||
ms.getPlayer().startMapEffect(messages[(Math.random() * messages.length) | 0], 5120024);
|
||||
if(ms.getPlayer().getMap().findClosestPlayerSpawnpoint(ms.getPlayer().getPosition()).getId() == 0) {
|
||||
ms.getPlayer().startMapEffect(messages[(Math.random() * messages.length) | 0], 5120024);
|
||||
}
|
||||
} else {
|
||||
ms.getPlayer().resetEnteredScript(); //in case the person dcs in here we set it at dojang_tuto portal
|
||||
ms.getPlayer().startMapEffect("Ha! Let's see what you got! I won't let you leave unless you defeat me first!", 5120024);
|
||||
|
||||
Reference in New Issue
Block a user