Implemented missing scripts for Aerial Strike, Hypnotize and Time Leap skill questlines. Fixed an deadlock issue within player's inventory and status. Fixed skill spam detection disconnecting players when legitimatelly spamming Flash Jump or Heal. Fixed party members map location not being properly updated after changing maps. Rehauled MoveLife handler. Improved packet read of attack and skill elements, properly reflecting incoming actions to other player on the map. Reviewed an issue with equipments MaxHP/MaxMP getting unsynced with player's MaxHP/MaxMP, resulting in differences within server-client view of a player's pool. Fixed mobs not being spawned by dojo bosses after enough spawn actions were instanced. Implemented proper Mob.wz linked mob data support. Fixed /find not identifying a player's channel properly. Fixed Echo of Hero not affecting other player in the map. Fixed commands warp and goto not taking player off events/expeditions properly. Fixed storage expansion not being registered on DB when buying the cash item. Fixed party leadership being reassigned after changing channels. Implemented suggested level range limit between party members on the EXP share system. Players whose level range from the attacker exceeds the estipulated threshold will not receive any EXP from the action. Happy Thanksgiving Day everyone!!!
52 lines
1.7 KiB
JavaScript
52 lines
1.7 KiB
JavaScript
/**
|
|
----------------------------------------------------------------------------------
|
|
Whale Between Lith harbor and Rien.
|
|
|
|
1200003 Puro
|
|
|
|
Credits to: MapleSanta
|
|
----------------------------------------------------------------------------------
|
|
**/
|
|
|
|
var menu = new Array("Lith Harboor");
|
|
var method;
|
|
|
|
function start() {
|
|
status = -1;
|
|
action(1, 0, 0);
|
|
}
|
|
|
|
function action(mode, type, selection) {
|
|
if(mode == -1) {
|
|
cm.dispose();
|
|
return;
|
|
} else {
|
|
if(mode == 0 && status == 0) {
|
|
cm.dispose();
|
|
return;
|
|
} else if(mode == 0) {
|
|
cm.sendNext("OK. If you ever change your mind, please let me know.");
|
|
cm.dispose();
|
|
return;
|
|
}
|
|
status++;
|
|
if (status == 0) {
|
|
var display = "";
|
|
for(var i=0; i < menu.length; i++) {
|
|
display += "\r\n#L"+i+"##b Lith Harbor (800 mesos)#k";
|
|
}
|
|
cm.sendSimple("Are you trying to leave Rien? Board this ship and I'll take you from #bRien#k to #bLith Harbor#k and back. for a #bfee of 800#k Mesos. Would you like to head over to Lith Harbor now? It'll take about a minute to get there.\r\n"+display);
|
|
|
|
} else if(status == 1) {
|
|
if(cm.getMeso() < 800) {
|
|
cm.sendNext("Hmm... Are you sure you have #b800#k Mesos? Check your Inventory and make sure you have enough. You must pay the fee or I can't let you get on...");
|
|
cm.dispose();
|
|
} else {
|
|
cm.gainMeso(-800);
|
|
cm.warp(200090070);
|
|
cm.dispose();
|
|
}
|
|
|
|
}
|
|
}
|
|
} |