Mystic Doors review + Togglable SrvMessage-BossHP + Map-Event patch
Reviewed Mystic Doors. Fixed several issues showing up on Duey in uncommon scenarios. Fixed a concurrency issue with XMLDomMapleData. Scheduled forward the "lock disposal" action within the source. Now, it's expected that, after a set while, no method should require usage of a disposed lock and, during that while, a supposed "disposed lock" is still available to run (although no new processes is expected to require use of these locks). Fixed concurrency issues with player's current event instance, generating several inconsistencies when swiftly registering/unregistering from events. Implemented a mutually exclusive approach for server message - Boss HPbar. Fixed item-making Kage requiring lv71~80 ETC instead of the expected 81~90. Removed the possibility to buy cosmetic coupons with mesos through the NPCs. Sleepywood JQ's no longer gives cash items when they finish the quest repeatedly. Added Duey trucks in several maps lacking it. Added NPC Duey in New Leaf City. Fixed scripted quests not calculating QUEST_RATE (if applied) when rewarding experience and meso.
This commit is contained in:
@@ -101,6 +101,7 @@ Monsters, Maps & Reactors:
|
|||||||
* Implemented Zombify disease status.
|
* Implemented Zombify disease status.
|
||||||
* Added Boss HP Bar for dozens of bosses (needs provided custom wz).
|
* Added Boss HP Bar for dozens of bosses (needs provided custom wz).
|
||||||
* If multiple bosses are on the same area, client will prioritize Boss HP bar of the target of the player.
|
* If multiple bosses are on the same area, client will prioritize Boss HP bar of the target of the player.
|
||||||
|
* Boss HP Bar and Server Messages now toggles (server message disappears when a boss battle is detected, and returns afterwards). Idea thanks to GabrielSin.
|
||||||
* Improved map bounding checks for item drop points, assuring most of the items dropped will be available to pickup inside the accessible map area.
|
* Improved map bounding checks for item drop points, assuring most of the items dropped will be available to pickup inside the accessible map area.
|
||||||
* Boats, elevator and other travelling mechanics fully working.
|
* Boats, elevator and other travelling mechanics fully working.
|
||||||
* HP decreasing overtime on maps and mechanics to prevent them (consumables, equips) fully functional.
|
* HP decreasing overtime on maps and mechanics to prevent them (consumables, equips) fully functional.
|
||||||
@@ -132,7 +133,7 @@ Player potentials:
|
|||||||
Server potentials:
|
Server potentials:
|
||||||
|
|
||||||
* Multi-worlds.
|
* Multi-worlds.
|
||||||
* Dynamic World/Channel deployment.
|
* Dynamic World/Channel deployment. While not implemented here, new channel deployment sensitive to quantity of online players was originally resinate's idea.
|
||||||
* Inventory auto-gather and auto-sorting feature.
|
* Inventory auto-gather and auto-sorting feature.
|
||||||
* Enhanced auto-pot system: pet uses as many potions as necessary to reach the desired threshold.
|
* Enhanced auto-pot system: pet uses as many potions as necessary to reach the desired threshold.
|
||||||
* Enhanced buff system: smartly checks for the best available buff effects to be active on the player.
|
* Enhanced buff system: smartly checks for the best available buff effects to be active on the player.
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ Known issues:
|
|||||||
- Sometimes battleship may behave oddly with the enhanced buff system, making the character d/c in certain scenarios.
|
- Sometimes battleship may behave oddly with the enhanced buff system, making the character d/c in certain scenarios.
|
||||||
- Dragon Roar doesn't show the stun effect to players.
|
- Dragon Roar doesn't show the stun effect to players.
|
||||||
- Some monster status such as freeze and weapon/magic reflect doesn't behave properly in certain scenarios. Freeze seems to not work on mobs with low OID or are starters from server boot time.
|
- Some monster status such as freeze and weapon/magic reflect doesn't behave properly in certain scenarios. Freeze seems to not work on mobs with low OID or are starters from server boot time.
|
||||||
|
- On low-end connections, things such as command summoning a player that is currently logging in (already visible to other players) may cause the player to freeze, consequently freezing the account as well since the server-side disconnection doesn't happen.
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
@@ -21,6 +22,7 @@ Missing features list:
|
|||||||
- Change name/World transfer.
|
- Change name/World transfer.
|
||||||
- Some pirate skills doesn't work for 3rd parties.
|
- Some pirate skills doesn't work for 3rd parties.
|
||||||
- Cache frequently used SQL data.
|
- Cache frequently used SQL data.
|
||||||
|
- Pet commands are not being propagated to 3rd parties, and the commandResponse packet function seems somewhat wonky.
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1195,3 +1195,35 @@ Corrigido comando "maxhpmp" permitindo efetivar valores negativos ao alvo.
|
|||||||
Corrigido Duey não registrando nível e experiência de equipamentos ao enviá-los.
|
Corrigido Duey não registrando nível e experiência de equipamentos ao enviá-los.
|
||||||
Buff no buyback: por um curto período após respawnar o jogador não morre (mínimo 1 HP), assim permitindo um tempo mínimo de reação.
|
Buff no buyback: por um curto período após respawnar o jogador não morre (mínimo 1 HP), assim permitindo um tempo mínimo de reação.
|
||||||
Revisado task do item monitor em MapleMap mal-protegido contra acessos concorrentes.
|
Revisado task do item monitor em MapleMap mal-protegido contra acessos concorrentes.
|
||||||
|
|
||||||
|
28 - 30 Julho 2018,
|
||||||
|
Revisado vários problemas com Mystic Doors.
|
||||||
|
Corrigido alguns acessos a nulos no Duey.
|
||||||
|
Corrigido erro com XMLDomMapleData em casos onde múltiplos processos tentam ler dados simultaneamente.
|
||||||
|
Revisado vários casos de "lock sem unlock" ocorrendo em casos onde o objeto no qual tal lock está acoplado já teve seus locks liberados.
|
||||||
|
Corrigido falta de proteção contra registro concorrente de event instances no objeto que representa o jogador.
|
||||||
|
Corrigido jogadores não sendo rapidamente removidos de um evento no momento do dispose deste evento, gerando diversas inconsistências ao trocar de mapa pra fora do evento.
|
||||||
|
|
||||||
|
31 Julho 2018,
|
||||||
|
Corrigido vários casos de nulos na fase de login perante a nova abordagem dinâmica de canais e mundos.
|
||||||
|
Corrigido worker de playershops/hiredmerchs não ativado.
|
||||||
|
Implementado melhoria para o sistema de server messages/boss HP bar, agora com atuação mutuamente exclusiva.
|
||||||
|
Implementado mostrar novamente server messages (com boss HPbar ao fundo) para casos onde algum tempo se passou sem o cliente trocar ataques com o boss, nesse caso voltando a mensagem do server.
|
||||||
|
Revisado sistema de encerramento de locks por todo o server. Colocado locks para serem devidamente liberados minutos após a finalização das estruturas, permitindo assim um tempo extra onde processos possam usar esses locks sem gerar conflitos de acesso concorrente.
|
||||||
|
|
||||||
|
01 Agosto 2018,
|
||||||
|
Corrigido um mapa de mushking empire levando jogador a um portal inexistente, levando o server a inserir o jogador no mapa por um portal default.
|
||||||
|
Corrigido Kage (Item Maker) precisando de cristais nível 71~80 ao invés de 81~90.
|
||||||
|
Removido possibilidade de comprar cosméticos por mesos pelos NPCs. Espera-se coupons somente disponível pelo Cash Shop.
|
||||||
|
Corrigido NPC's da JQ de Sleepywood dando itens de cash aos jogadores em casos onde eles completam a JQ sem ter a quest ativa.
|
||||||
|
Corrigido comando "fly" ainda não atuando corretamente. Com a busca de informação de GMlevel vindo mais cedo, o pacote de autenticação agora informa o cliente de seu GMlevel devidamente.
|
||||||
|
Colocado comandos de adicionar/remover canais/mundos para rodar em uma nova thread, eliminando assim o GM de ter que esperar para realizar próximas ações.
|
||||||
|
Corrigido alguns mapas com o NPC Duey sem caminhão característico ao fundo. Adicionado Duey em New Leaf City.
|
||||||
|
Corrigido quests scriptadas bypassando flags de QUEST_RATE ao gerir EXP e MESO aos jogadores.
|
||||||
|
|
||||||
|
02 Agosto 2018,
|
||||||
|
Modificado algumas tabelas em ThreadTracker e World para usar Integer ao invés de Short/Byte, não há vantagens em usar tipos menores em Java para "otimizar uso de memória", piora o desempenho geral desta forma.
|
||||||
|
|
||||||
|
07 Agosto 2018,
|
||||||
|
Corrigido um bug na fase de login que nao construia corretamente overview de characters sem itens equipados, lancando excecoes posteriormente.
|
||||||
|
Revisado alguns casos de borda com doors levando as mesmas a nao sumirem imediatamente em certos cenarios.
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
compile.on.save=true
|
compile.on.save=true
|
||||||
do.depend=false
|
do.depend=false
|
||||||
do.jar=true
|
do.jar=true
|
||||||
file.reference.mina-core-2.0.7.jar=C:\\Nexon\\MapleSolaxia\\HeavenMS\\cores\\mina-core-2.0.7.jar
|
file.reference.mina-core-2.0.7.jar=C:\\Nexon\\HeavenMS\\cores\\mina-core-2.0.7.jar
|
||||||
file.reference.mysql-connector-java-bin.jar=C:\\Nexon\\MapleSolaxia\\HeavenMS\\cores\\mysql-connector-java-bin.jar
|
file.reference.mysql-connector-java-bin.jar=C:\\Nexon\\HeavenMS\\cores\\mysql-connector-java-bin.jar
|
||||||
file.reference.slf4j-api-1.6.6.jar=C:\\Nexon\\MapleSolaxia\\HeavenMS\\cores\\slf4j-api-1.6.6.jar
|
file.reference.slf4j-api-1.6.6.jar=C:\\Nexon\\HeavenMS\\cores\\slf4j-api-1.6.6.jar
|
||||||
file.reference.slf4j-jdk14-1.7.5.jar=C:\\Nexon\\MapleSolaxia\\HeavenMS\\cores\\slf4j-jdk14-1.7.5.jar
|
file.reference.slf4j-jdk14-1.7.5.jar=C:\\Nexon\\HeavenMS\\cores\\slf4j-jdk14-1.7.5.jar
|
||||||
javac.debug=true
|
javac.debug=true
|
||||||
javadoc.preview=true
|
javadoc.preview=true
|
||||||
user.properties.file=C:\\Users\\USER\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
|
user.properties.file=C:\\Users\\USER\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
|
||||||
|
|||||||
@@ -2,29 +2,23 @@ var minPlayers = 1;
|
|||||||
var timeLimit = 20; //20 minutes
|
var timeLimit = 20; //20 minutes
|
||||||
var eventTimer = 1000 * 60 * timeLimit;
|
var eventTimer = 1000 * 60 * timeLimit;
|
||||||
var exitMap = 106021400;
|
var exitMap = 106021400;
|
||||||
|
var eventMap = 106021500;
|
||||||
|
|
||||||
function init(){}
|
function init(){}
|
||||||
|
|
||||||
function setup(difficulty, lobbyId){
|
function setup(difficulty, lobbyId){
|
||||||
var eim = em.newInstance("KingPepe_" +lobbyId);
|
var eim = em.newInstance("KingPepe_" +lobbyId);
|
||||||
eim.getInstanceMap(106021500).resetFully();
|
eim.getInstanceMap(eventMap).resetFully();
|
||||||
eim.getInstanceMap(106021500).allowSummonState(false);
|
eim.getInstanceMap(eventMap).allowSummonState(false);
|
||||||
respawn(eim);
|
|
||||||
eim.startEventTimer(eventTimer);
|
eim.startEventTimer(eventTimer);
|
||||||
return eim;
|
return eim;
|
||||||
}
|
}
|
||||||
|
|
||||||
function afterSetup(eim){}
|
function afterSetup(eim){}
|
||||||
|
|
||||||
function respawn(eim){
|
|
||||||
var map = eim.getMapInstance(exitMap);
|
|
||||||
map.allowSummonState(true);
|
|
||||||
map.instanceMapRespawn();
|
|
||||||
eim.schedule("respawn", 10000);
|
|
||||||
}
|
|
||||||
|
|
||||||
function playerEntry(eim, player){
|
function playerEntry(eim, player){
|
||||||
var yetiMap = eim.getMapInstance(106021500);
|
var yetiMap = eim.getMapInstance(eventMap);
|
||||||
player.changeMap(yetiMap, yetiMap.getPortal(1));
|
player.changeMap(yetiMap, yetiMap.getPortal(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,45 +31,30 @@ function scheduledTimeout(eim){
|
|||||||
eim.dispose();
|
eim.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
function playerRevive(eim, player){
|
|
||||||
player.setHp(50);
|
|
||||||
player.setStance(0);
|
|
||||||
eim.unregisterPlayer(player);
|
|
||||||
player.changeMap(exitMap);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function playerDead(eim, player){}
|
function playerDead(eim, player){}
|
||||||
|
|
||||||
function playerDisconnected(eim, player){
|
function playerDisconnected(eim, player){
|
||||||
var party = eim.getPlayers();
|
if (eim.isEventTeamLackingNow(true, minPlayers, player)) {
|
||||||
|
eim.unregisterPlayer(player);
|
||||||
for(var i = 0; i < party.size(); i++){
|
end(eim);
|
||||||
if(party.get(i).equals(player))
|
|
||||||
removePlayer(eim, player);
|
|
||||||
else
|
|
||||||
playerExit(eim, party.get(i));
|
|
||||||
}
|
}
|
||||||
eim.dispose();
|
else
|
||||||
|
eim.unregisterPlayer(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
function monsterValue(eim, mobId){
|
function monsterValue(eim, mobId){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function leftParty(eim, player){
|
function end(eim) {
|
||||||
var party = eim.getPlayers();
|
var party = eim.getPlayers();
|
||||||
|
|
||||||
if(party.size() < minPlayers){
|
|
||||||
for (var i = 0; i < party.size(); i++) {
|
for (var i = 0; i < party.size(); i++) {
|
||||||
playerExit(eim, party.get(i));
|
playerExit(eim, party.get(i));
|
||||||
}
|
}
|
||||||
eim.dispose();
|
eim.dispose();
|
||||||
}
|
}
|
||||||
else{
|
|
||||||
playerExit(eim, player);
|
function leftParty(eim, player){}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function disbandParty(eim){}
|
function disbandParty(eim){}
|
||||||
|
|
||||||
@@ -86,17 +65,15 @@ function playerExit(eim, player){
|
|||||||
player.changeMap(exitMap, 2);
|
player.changeMap(exitMap, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function moveMap(eim, player){
|
function changedMap(eim, chr, mapid) {
|
||||||
if(player.getMap().getId() == exitMap){
|
if (mapid != eventMap) {
|
||||||
removePlayer(eim, player);
|
if (eim.isEventTeamLackingNow(true, minPlayers, chr)) {
|
||||||
eim.dispose();
|
eim.unregisterPlayer(chr);
|
||||||
|
end(eim);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
eim.unregisterPlayer(chr);
|
||||||
}
|
}
|
||||||
|
|
||||||
function removePlayer(eim, player){
|
|
||||||
eim.unregisterPlayer(player);
|
|
||||||
player.getMap().removePlayer(player);
|
|
||||||
player.setMap(exitMap);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function cancelSchedule(){}
|
function cancelSchedule(){}
|
||||||
|
|||||||
@@ -41,12 +41,9 @@ function action(mode, type, selection) {
|
|||||||
} else {
|
} else {
|
||||||
status++;
|
status++;
|
||||||
if (status == 0)
|
if (status == 0)
|
||||||
cm.sendSimple("I'm the head of this hair salon. If you have a #b#t5150001##k or a #b#t5151001##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150001##t5150001##l\r\n#L2#Dye your hair: #i5151001##t5151001##l");
|
cm.sendSimple("I'm the head of this hair salon. If you have a #b#t5150001##k or a #b#t5151001##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150001##t5150001##l\r\n#L2#Dye your hair: #i5151001##t5151001##l");
|
||||||
else if (status == 1) {
|
else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150001##t5150001##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151001##t5151001##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm Brittany the assistant. If you have #b#t5150010##k or #b#t5151000##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150010##t5150010##l\r\n#L2#Dye your hair: #i5151000##t5151000##l");
|
cm.sendSimple("I'm Brittany the assistant. If you have #b#t5150010##k or #b#t5151000##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150010##t5150010##l\r\n#L2#Dye your hair: #i5151000##t5151000##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150010##t5150010##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151000##t5151000##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -47,17 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well, hello! Welcome to the Henesys Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152001##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152001##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the Henesys Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152001##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152001, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++)
|
for(var i = 0; i < mface.length; i++)
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152000##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152000##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152000##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152000, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hello! I'm Don Giovanni, head of the beauty salon! If you have either #b#t5150003##k or #b#t5151003##k, why don't you let me take care of the rest? Decide what you want to do with your hair...\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150003##t5150003##l\r\n#L2#Dye your hair: #i5151003##t5151003##l");
|
cm.sendSimple("Hello! I'm Don Giovanni, head of the beauty salon! If you have either #b#t5150003##k or #b#t5151003##k, why don't you let me take care of the rest? Decide what you want to do with your hair...\r\n#L1#Haircut: #i5150003##t5150003##l\r\n#L2#Dye your hair: #i5151003##t5151003##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150003##t5150003##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151003##t5151003##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm Andre, Don's assistant. Everyone calls me Andre, though. If you have a #b#t5150011##k or a #b#t5151002##k, please let me change your hairdo!\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150011##t5150011##l\r\n#L2#Dye your hair: #i5151002##t5151002##l");
|
cm.sendSimple("I'm Andre, Don's assistant. Everyone calls me Andre, though. If you have a #b#t5150011##k or a #b#t5151002##k, please let me change your hairdo!\r\n#L1#Haircut: #i5150011##t5150011##l\r\n#L2#Dye your hair: #i5151002##t5151002##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150011##t5150011##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151002##t5151002##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ var selectedMap = -1;
|
|||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendNext("You feel a mysterious force surrounding this statue.");
|
cm.sendNext("You feel a mysterious force surrounding this statue.");
|
||||||
if (cm.isQuestStarted(2054))
|
if (cm.isQuestStarted(2054) || cm.isQuestCompleted(2054))
|
||||||
zones = 3;
|
zones = 3;
|
||||||
else if (cm.isQuestStarted(2053))
|
else if (cm.isQuestStarted(2053) || cm.isQuestCompleted(2053))
|
||||||
zones = 2;
|
zones = 2;
|
||||||
else if (cm.isQuestStarted(2052))
|
else if (cm.isQuestStarted(2052) || cm.isQuestCompleted(2052))
|
||||||
zones = 1;
|
zones = 1;
|
||||||
else
|
else
|
||||||
zones = 0;
|
zones = 0;
|
||||||
|
|||||||
@@ -21,29 +21,29 @@
|
|||||||
*/
|
*/
|
||||||
/* John JQ Flower pile #1
|
/* John JQ Flower pile #1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
var repeatablePrizes = [[4010000, 3], [4010001, 3], [4010002, 3], [4010003, 3], [4010004, 3], [4010005, 3]];
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
var prizes = Array(1040051, 1040127, 1040128, 1040133, 1040138, 1041000, 1041001, 1041110, 1041130, 1041139, 1042015, 1042017, 1042023, 1702001, 1702025);
|
if (cm.isQuestStarted(2052) && !cm.haveItem(4031025,10)) {
|
||||||
var chances = Array(10, 10, 10, 10, 5, 10, 10, 10, 10, 5, 8, 8, 8, 9, 7);
|
if(!cm.canHold(4031025,10)) {
|
||||||
var totalodds = 0;
|
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||||
var choice = 0;
|
cm.dispose();
|
||||||
for (var i = 0; i < chances.length; i++) {
|
return;
|
||||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
|
||||||
if ((cm.getPlayer().getGender() != itemGender) && (itemGender != 2))
|
|
||||||
chances[i] = 0;
|
|
||||||
}
|
}
|
||||||
for (var i = 0; i < chances.length; i++)
|
|
||||||
totalodds += chances[i];
|
|
||||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
|
||||||
for (var i = 0; i < chances.length; i++) {
|
|
||||||
randomPick -= chances[i];
|
|
||||||
if (randomPick <= 0) {
|
|
||||||
choice = i;
|
|
||||||
randomPick = totalodds + 100;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (cm.isQuestStarted(2052))
|
|
||||||
cm.gainItem(4031025,10);
|
cm.gainItem(4031025,10);
|
||||||
else cm.gainItem(prizes[choice],1);
|
} else {
|
||||||
|
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||||
|
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||||
|
cm.dispose();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||||
|
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||||
|
}
|
||||||
|
|
||||||
cm.warp(105040300, 0);
|
cm.warp(105040300, 0);
|
||||||
cm.dispose();
|
cm.dispose();
|
||||||
}
|
}
|
||||||
@@ -21,29 +21,29 @@
|
|||||||
|
|
||||||
/* John JQ Flower pile #2
|
/* John JQ Flower pile #2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
var repeatablePrizes = [[4020000, 4], [4020002, 4], [4020006, 4]];
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
var prizes = Array(1060034, 1060040, 1060049, 1060113, 1060121, 1061000, 1061001, 1061073, 1061089, 1061142, 1062010, 1062020, 1702140, 1702115);
|
if (cm.isQuestStarted(2053) && !cm.haveItem(4031026,20)) {
|
||||||
var chances = Array(10, 10, 10, 10, 5, 10, 10, 10, 10, 5, 8, 8, 8, 8);
|
if(!cm.canHold(4031026,20)) {
|
||||||
var totalodds = 0;
|
cm.sendNext("Check for a available slot on your ETC inventory.")
|
||||||
var choice = 0;
|
cm.dispose();
|
||||||
for (var i = 0; i < chances.length; i++) {
|
return;
|
||||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
|
||||||
if ((cm.getPlayer().getGender() != itemGender) && (itemGender != 2))
|
|
||||||
chances[i] = 0;
|
|
||||||
}
|
}
|
||||||
for (var i = 0; i < chances.length; i++)
|
|
||||||
totalodds += chances[i];
|
|
||||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
|
||||||
for (var i = 0; i < chances.length; i++) {
|
|
||||||
randomPick -= chances[i];
|
|
||||||
if (randomPick <= 0) {
|
|
||||||
choice = i;
|
|
||||||
randomPick = totalodds + 100;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (cm.isQuestStarted(2053))
|
|
||||||
cm.gainItem(4031026,20);
|
cm.gainItem(4031026,20);
|
||||||
else cm.gainItem(prizes[choice],1);
|
} else {
|
||||||
|
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||||
|
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||||
|
cm.dispose();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||||
|
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||||
|
}
|
||||||
|
|
||||||
cm.warp(105040300, 0);
|
cm.warp(105040300, 0);
|
||||||
cm.dispose();
|
cm.dispose();
|
||||||
}
|
}
|
||||||
@@ -19,31 +19,31 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// John JQ Flower pile #3
|
/* John JQ Flower pile #3
|
||||||
|
*/
|
||||||
|
|
||||||
|
var repeatablePrizes = [[4010006, 4], [4010007, 4], [4020007, 4]];
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
var prizes = Array(1050004, 1050015, 1050041, 1050044, 1050124, 1051021, 1051036, 1051075, 1051111, 1051138, 1052003, 1052006, 1052011, 1702024, 1702026);
|
if (cm.isQuestStarted(2054) && !cm.haveItem(4031028,30)) {
|
||||||
var chances = Array(10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 9, 9, 8, 8);
|
if(!cm.canHold(4031028,30)) {
|
||||||
var totalodds = 0;
|
cm.sendNext("Check for a available slot on your ETC inventory.")
|
||||||
var choice = 0;
|
cm.dispose();
|
||||||
for (var i = 0; i < chances.length; i++) {
|
return;
|
||||||
var itemGender = (Math.floor(prizes[i]/1000)%10);
|
|
||||||
if (cm.getPlayer().getGender() != itemGender && itemGender != 2)
|
|
||||||
chances[i] = 0;
|
|
||||||
}
|
}
|
||||||
for (var i = 0; i < chances.length; i++)
|
|
||||||
totalodds += chances[i];
|
|
||||||
var randomPick = Math.floor(Math.random()*totalodds)+1;
|
|
||||||
for (var i = 0; i < chances.length; i++) {
|
|
||||||
randomPick -= chances[i];
|
|
||||||
if (randomPick <= 0) {
|
|
||||||
choice = i;
|
|
||||||
randomPick = totalodds + 100;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (cm.isQuestStarted(2054))
|
|
||||||
cm.gainItem(4031028,30);
|
cm.gainItem(4031028,30);
|
||||||
else cm.gainItem(prizes[choice],1);
|
} else {
|
||||||
|
if(cm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.ETC).getNumFreeSlot() < 1) {
|
||||||
|
cm.sendNext("Check for a available slot on your ETC inventory.");
|
||||||
|
cm.dispose();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var itemPrize = repeatablePrizes[Math.floor((Math.random() * repeatablePrizes.length))];
|
||||||
|
cm.gainItem(itemPrize[0], itemPrize[1]);
|
||||||
|
}
|
||||||
|
|
||||||
cm.warp(105040300, 0);
|
cm.warp(105040300, 0);
|
||||||
cm.dispose();
|
cm.dispose();
|
||||||
}
|
}
|
||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hello I'm Mino. If you have either a #b#t5150005##k or a #b#t5151005##k, then please let me take care of your hair. Choose what you want to do with it.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150005##t5150005##l\r\n#L2#Dye your hair: #i5151005##t5151005##l");
|
cm.sendSimple("Hello I'm Mino. If you have either a #b#t5150005##k or a #b#t5151005##k, then please let me take care of your hair. Choose what you want to do with it.\r\n#L1#Haircut: #i5150005##t5150005##l\r\n#L2#Dye your hair: #i5151005##t5151005##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150005##t5150005##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151005##t5151005##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well well well, welcome to the Orbis Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152005##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152005##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well well well, welcome to the Orbis Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152005##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152005, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ var fhair = Array(31040, 31000, 31250, 31220, 31260, 31240, 31110, 31270, 31030,
|
|||||||
var hairnew = Array();
|
var hairnew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("I'm Rinz, the assistant. Do you have #b#t5150013##k or #b#t5151004##k with you? If so, what do you think about letting me take care of your hairdo? What do you want to do with your hair?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150013##t5150013##l\r\n#L2#Dye your hair: #i5151004##t5151004##l");
|
cm.sendSimple("I'm Rinz, the assistant. Do you have #b#t5150013##k or #b#t5151004##k with you? If so, what do you think about letting me take care of your hairdo? What do you want to do with your hair?\r\n#L1#Haircut: #i5150013##t5150013##l\r\n#L2#Dye your hair: #i5151004##t5151004##l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -40,10 +40,7 @@ function action(mode, type, selection) {
|
|||||||
else {
|
else {
|
||||||
status++;
|
status++;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150013##t5150013##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151004##t5151004##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ var price = 1000000;
|
|||||||
var skin = Array(0, 1, 2, 3, 4);
|
var skin = Array(0, 1, 2, 3, 4);
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Well, hello! Welcome to the Orbis Skin-Care~! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153001##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153001##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the Orbis Skin-Care~! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153001##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -43,15 +43,7 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2)
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5153001, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2)
|
|
||||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||||
}
|
}
|
||||||
else if (status == 2){
|
else if (status == 2){
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ var fface = Array(21000, 21001, 21002, 21003, 21004, 21005, 21006, 21007, 21008,
|
|||||||
var facenew = Array();
|
var facenew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152004##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152004##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152004##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -39,15 +39,7 @@ function action(mode, type, selection) {
|
|||||||
} else {
|
} else {
|
||||||
status++;
|
status++;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if (cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152004, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
for (var i = 0; i < mface.length; i++)
|
for (var i = 0; i < mface.length; i++)
|
||||||
@@ -59,13 +51,15 @@ function action(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (status == 2){
|
else if (status == 2){
|
||||||
cm.dispose();
|
|
||||||
if (cm.haveItem(5152004)){
|
if (cm.haveItem(5152004)){
|
||||||
cm.gainItem(5152004, -1);
|
cm.gainItem(5152004, -1);
|
||||||
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
||||||
cm.sendOk("Enjoy your new and improved face!");
|
cm.sendOk("Enjoy your new and improved face!");
|
||||||
} else
|
} else {
|
||||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cm.dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well, I'm bored, so I'll help out the doctor. For a #b#t5152006##k, I will change the way you look. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152006##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, I'm bored, so I'll help out the doctor. For a #b#t5152006##k, I will change the way you look. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152006, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Welcome, welcome, welcome to the Ludibrium Hair Salon! Do you, by any chance, have a #b#t5150007##k or a #b#t5151007##k? If so, how about letting me take care of your hair? Please choose what you want to do with it...\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150007##t5150007##l\r\n#L2#Dye your hair: #i5151007##t5151007##l");
|
cm.sendSimple("Welcome, welcome, welcome to the Ludibrium Hair Salon! Do you, by any chance, have a #b#t5150007##k or a #b#t5151007##k? If so, how about letting me take care of your hair? Please choose what you want to do with it...\r\n#L1#Haircut: #i5150007##t5150007##l\r\n#L2#Dye your hair: #i5151007##t5151007##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150007##t5150007##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151007##t5151007##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hi, I'm the assistant here. Don't worry, I'm plenty good enough for this. If you have #b#t5150012##k or #b#t5151006##k by any chance, then allow me to take care of the rest, alright?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150012##t5150012##l\r\n#L2#Dye your hair: #i5151006##t5151006##l");
|
cm.sendSimple("Hi, I'm the assistant here. Don't worry, I'm plenty good enough for this. If you have #b#t5150012##k or #b#t5151006##k by any chance, then allow me to take care of the rest, alright?\r\n#L1#Haircut: #i5150012##t5150012##l\r\n#L2#Dye your hair: #i5151006##t5151006##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150012##t5150012##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151006##t5151006##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well, hello! Welcome to the Ludibrium Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152007##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152007##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the Ludibrium Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152007##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152007, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -41,18 +41,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Oh, hello! Welcome to the Ludibrium Skin-Care! Are you interested in getting tanned and looking sexy? How about a beautiful, snow-white skin? If you have #b#t5153002##k, you can let us take care of the rest and have the kind of skin you've always dreamed of!\r\n#L1#I would like to buy a #b#t5153002##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Oh, hello! Welcome to the Ludibrium Skin-Care! Are you interested in getting tanned and looking sexy? How about a beautiful, snow-white skin? If you have #b#t5153002##k, you can let us take care of the rest and have the kind of skin you've always dreamed of!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5153002, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ var fhair = Array(31040, 31250, 31310, 31220, 31300, 31680, 31160, 31030, 31230)
|
|||||||
var hairnew = Array();
|
var hairnew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Welcome to the Mu Lung hair shop. If you have a #b#t5150025##k, or a #b#t5151020##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150025##t5150025##l\r\n#L2#Dye your hair: #i5151020##t5151020##l");
|
cm.sendSimple("Welcome to the Mu Lung hair shop. If you have a #b#t5150025##k, or a #b#t5151020##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150025##t5150025##l\r\n#L2#Dye your hair: #i5151020##t5151020##l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -47,10 +47,7 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150025##t5150025##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151020##t5151020##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm a hair assistant in this shop. If you have #b#t5150024##k or #b#t5151019##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150024##t5150024##l\r\n#L2#Dye your hair: #i5151019##t5151019##l");
|
cm.sendSimple("I'm a hair assistant in this shop. If you have #b#t5150024##k or #b#t5151019##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150024##t5150024##l\r\n#L2#Dye your hair: #i5151019##t5151019##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150024##t5150024##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151019##t5151019##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well, hello! Welcome to the Mu Lung Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153006##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153006##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the Mu Lung Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153006##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5153006, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hey, I'm Pata, and I am a cosmetic lens expert here in Mu Lung. I believe your eyes are the most important feature in your body, and with #b#t5152042##k or #b#t5152041##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152042##t5152042##l\r\n#L2#Cosmetic Lenses: #i5152041##t5152041##l");
|
cm.sendSimple("Hey, I'm Pata, and I am a cosmetic lens expert here in Mu Lung. I believe your eyes are the most important feature in your body, and with #b#t5152042##k or #b#t5152041##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152042##t5152042##l\r\n#L2#Cosmetic Lenses: #i5152041##t5152041##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152042##t5152042##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152041##t5152041##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace()
|
var current = cm.getPlayer().getFace()
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hey, I'm Noma, and I am assiting Pata in changing faces into beautiful things here in Mu Lung. With #b#t5152027##k or #b#t5152028##k, I can change the way you look. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Plastic Surgery: #i5152027##t5152027##l\r\n#L2#Plastic Surgery: #i5152028##t5152028##l");
|
cm.sendSimple("Hey, I'm Noma, and I am assiting Pata in changing faces into beautiful things here in Mu Lung. With #b#t5152027##k or #b#t5152028##k, I can change the way you look. Now, what would you like to use?\r\n#L1#Plastic Surgery: #i5152027##t5152027##l\r\n#L2#Plastic Surgery: #i5152028##t5152028##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Plastic Surgery for " + regprice + " mesos: #i5152027##t5152027##l\r\n#L1#Plastic Surgery for " + vipprice + " mesos: #i5152028##t5152028##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -111,8 +111,8 @@ function action(mode, type, selection) {
|
|||||||
var matQtySet = [[5,5],[5,5,5],[5,5,5,5,1],[5,5],[5,5,5],[5,5,5,5,1],[1,1],[1,1],[1,1],[1,1]];
|
var matQtySet = [[5,5],[5,5,5],[5,5,5,5,1],[5,5],[5,5,5],[5,5,5,5,1],[1,1],[1,1],[1,1],[1,1]];
|
||||||
var costSet = [100000,200000,300000,125000,250000,375000,500000,500000,500000,500000, 25000, 25000, 25000, 25000];
|
var costSet = [100000,200000,300000,125000,250000,375000,500000,500000,500000,500000, 25000, 25000, 25000, 25000];
|
||||||
}else if (selectedType == 2) { //eye accessory refine
|
}else if (selectedType == 2) { //eye accessory refine
|
||||||
var matSet = [[4001006, 4003002, 4000082, 4031203], [4000073, 4011008], [4000073, 4011008], [4000073, 4011008, 4000082], [4001006, 4003002, 4003000, 4003001]];
|
var matSet = [[4001006, 4003002, 4000082, 4031203], [4001005, 4011008], [4001005, 4011008], [4001005, 4011008, 4000082], [4001006, 4003002, 4003000, 4003001]];
|
||||||
var matQtySet = [[2, 2, 5, 10], [50, 2], [75, 3], [75, 3, 10], [2, 2, 10, 5]];
|
var matQtySet = [[2, 2, 5, 10], [3, 2], [4, 3], [5, 3, 10], [2, 2, 10, 5]];
|
||||||
var costSet = [250000, 250000, 300000, 400000, 200000];
|
var costSet = [250000, 250000, 300000, 400000, 200000];
|
||||||
}else if (selectedType == 3) { //belt & medals refine
|
}else if (selectedType == 3) { //belt & medals refine
|
||||||
var matSet = [[4001006, 4003005, 4003004], [7777, 7777]];
|
var matSet = [[4001006, 4003005, 4003004], [7777, 7777]];
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ function action(m,t,s) {
|
|||||||
cm.sendNext("Welcome! I heard what happened from Baby Moon Bunny I'm glad you came since I was Planning on requesting some help. Gaga is a friend of mine who has helped me before and often stops by to say hello. Unfortunaley, he was kidnapped by aliens.");
|
cm.sendNext("Welcome! I heard what happened from Baby Moon Bunny I'm glad you came since I was Planning on requesting some help. Gaga is a friend of mine who has helped me before and often stops by to say hello. Unfortunaley, he was kidnapped by aliens.");
|
||||||
} else {
|
} else {
|
||||||
selected = 2;
|
selected = 2;
|
||||||
cm.sendYesNo("At the Space Mine, you can find special ores called #bKrypto Crystals#k that contain the mysterious power of space. #bKrypto Crystals#l are usually emerald in color, but will turn brown if hit with the Spaceship's #bSpace Beam#k. Remember, in order to thwart this alien conspracy, #b10 Brown Krypto Crystal's and 10 Emerald Krypto Crystal's are needed. But since even #b1 Krypto Crystal#k can be of help, brign me as many as possible. Oh, and one more thing! The Space Mines are protected by the Space Mateons. They are extemely strong due to the power of the #Krypto Crystals#k, so don't try to defeat them. Simply concentrate on quickly collecting the crystals.");
|
cm.sendYesNo("At the Space Mine, you can find special ores called #bKrypto Crystals#k that contains the mysterious power of space. #bKrypto Crystals#l are usually emerald in color, but will turn brown if hit with the Spaceship's #bSpace Beam#k. Remember, in order to thwart this alien conspracy, #b10 Brown Krypto Crystal's and 10 Emerald Krypto Crystal's are needed. But since even #b1 Krypto Crystal#k can be of help, brign me as many as possible. Oh, and one more thing! The Space Mines are protected by the Space Mateons. They are extemely strong due to the power of the #Krypto Crystals#k, so don't try to defeat them. Simply concentrate on quickly collecting the crystals.");
|
||||||
}
|
}
|
||||||
} else if (status == 2) {
|
} else if (status == 2) {
|
||||||
if(selected == 1) {
|
if(selected == 1) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Welcome to the Showa hair shop. If you have a #b#t5150009##k, or a #b#t5151009##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
cm.sendSimple("Welcome to the Showa hair shop. If you have a #b#t5150009##k, or a #b#t5151009##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150009##t5150009##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151009##t5151009##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm the head of Showa hair salon. If you have a #b#t5150009##k or a #b#t5151009##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
cm.sendSimple("I'm the head of Showa hair salon. If you have a #b#t5150009##k or a #b#t5151009##k allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150009##t5150009##l\r\n#L2#Dye your hair: #i5151009##t5151009##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150009##t5150009##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151009##t5151009##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -44,12 +44,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0)
|
if (status == 0)
|
||||||
cm.sendSimple("Hi, there~! I'm Dr. Lenu, in charge of the cosmetic lenses here at the Henesys Plastic Surgery Shop! With #b#t5152010##k or #b#t5152013##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152010##t5152010##l\r\n#L2#Cosmetic Lenses: #i5152013##t5152013##l");
|
cm.sendSimple("Hi, there~! I'm Dr. Lenu, in charge of the cosmetic lenses here at the Henesys Plastic Surgery Shop! With #b#t5152010##k or #b#t5152013##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152010##t5152010##l\r\n#L2#Cosmetic Lenses: #i5152013##t5152013##l");
|
||||||
else if (status == 1) {
|
else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152010##t5152010##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152013##t5152013##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
var current = cm.getPlayer().getFace()% 100 + 20000;
|
var current = cm.getPlayer().getFace()% 100 + 20000;
|
||||||
|
|||||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hello, I'm Dr. Rhomes, head of the cosmetic lens department here at the Orbis Plastic Surgery Shop.\r\nMy goal here is to add personality to everyone's eyes through the wonders of cosmetic lenses, and with #b#t5152011##k or #b#t5152014##k, I can do the same for you, too! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152011##t5152011##l\r\n#L2#Cosmetic Lenses: #i5152014##t5152014##l");
|
cm.sendSimple("Hello, I'm Dr. Rhomes, head of the cosmetic lens department here at the Orbis Plastic Surgery Shop.\r\nMy goal here is to add personality to everyone's eyes through the wonders of cosmetic lenses, and with #b#t5152011##k or #b#t5152014##k, I can do the same for you, too! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152011##t5152011##l\r\n#L2#Cosmetic Lenses: #i5152014##t5152014##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152011##t5152011##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152014##t5152014##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace()
|
var current = cm.getPlayer().getFace()
|
||||||
|
|||||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Um... hi, I'm Dr. Bosch, and I am a cosmetic lens expert here at the Ludibrium Plastic Surgery Shop. I believe your eyes are the most important feature in your body, and with #b#t5152012##k or #b#t5152015##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152012##t5152012##l\r\n#L2#Cosmetic Lenses: #i5152015##t5152015##l");
|
cm.sendSimple("Um... hi, I'm Dr. Bosch, and I am a cosmetic lens expert here at the Ludibrium Plastic Surgery Shop. I believe your eyes are the most important feature in your body, and with #b#t5152012##k or #b#t5152015##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152012##t5152012##l\r\n#L2#Cosmetic Lenses: #i5152015##t5152015##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152012##t5152012##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152015##t5152015##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Welcome to the Amoria hair shop. If you have a #b#t5150020##k, or a #b#t5151017##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150020##t5150020##l\r\n#L2#Dye your hair: #i5151017##t5151017##l");
|
cm.sendSimple("Welcome to the Amoria hair shop. If you have a #b#t5150020##k, or a #b#t5151017##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150020##t5150020##l\r\n#L2#Dye your hair: #i5151017##t5151017##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150020##t5150020##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151017##t5151017##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150019##t5150019##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151016##t5151016##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
@@ -145,12 +142,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
cm.sendSimple("I'm Salon Seamus. If you have #b#t5150019##k or #b#t5151016##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150019##t5150019##l\r\n#L2#Dye your hair: #i5151016##t5151016##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150019##t5150019##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151016##t5151016##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -46,12 +46,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hi, there~! I'm Dr.Roberts, in charge of the cosmetic lenses here at the Amoria Plastic Surgery Shop! With #b#t5152025##k or #b#t5152026##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Cosmetic Lenses: #i5152025##t5152025##l\r\n#L2#Cosmetic Lenses: #i5152026##t5152026##l");
|
cm.sendSimple("Hi, there~! I'm Dr.Roberts, in charge of the cosmetic lenses here at the Amoria Plastic Surgery Shop! With #b#t5152025##k or #b#t5152026##k, you can let us take care of the rest and have the kind of beautiful look you've always craved~! Remember, the first thing everyone notices about you is the eyes, and we can help you find the cosmetic lens that most fits you! Now, what would you like to use?\r\n#L1#Cosmetic Lenses: #i5152025##t5152025##l\r\n#L2#Cosmetic Lenses: #i5152026##t5152026##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Cosmetic Lenses for " + regprice + " mesos: #i5152025##t5152025##l\r\n#L1#Cosmetic Lenses for " + vipprice + " mesos: #i5152026##t5152026##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Well, hello! Welcome to Amoria Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152022##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152022##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to Amoria Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152022##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152022, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -47,18 +47,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152021##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152021##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152021##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152021, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
for(var i = 0; i < mface.length; i++) {
|
for(var i = 0; i < mface.length; i++) {
|
||||||
|
|||||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hi, there~! I'm Bomack. If you have a #b#t5152035##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to do?\r\n#L1#I would like to buy a #b#t5152035##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hi, there~! I'm Bomack. If you have a #b#t5152035##k, I can prescribe the right kind of cosmetic lenses for you. Now, what would you like to do?\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152035, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,18 +44,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("Hey, there~! I'm J.J.! I'm in charge of the cosmetic lenses here at NLC Shop! If you have a #b#t5152036##k, I can get you the best cosmetic lenses you have ever had! Now, what would you like to do?\r\n#L1#I would like to buy a #b#t5152036##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hey, there~! I'm J.J.! I'm in charge of the cosmetic lenses here at NLC Shop! If you have a #b#t5152036##k, I can get you the best cosmetic lenses you have ever had! Now, what would you like to do?\r\n#L2#I already have a Coupon!#l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152036, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else {
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
}
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
var current = cm.getPlayer().getFace() % 100 + 20000;
|
var current = cm.getPlayer().getFace() % 100 + 20000;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,12 +48,9 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
cm.sendSimple("I'm Ari the assistant. If you have #b#t5150030##k or #b#t5151025##k by any chance, then how about letting me change your hairdo?\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150030##t5150030##l\r\n#L2#Dye your hair: #i5151025##t5151025##l");
|
cm.sendSimple("I'm Ari the assistant. If you have #b#t5150030##k or #b#t5151025##k by any chance, then how about letting me change your hairdo?\r\n#L1#Haircut: #i5150030##t5150030##l\r\n#L2#Dye your hair: #i5151025##t5151025##l");
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150030##t5150030##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151025##t5151025##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0) {
|
if (cm.getPlayer().getGender() == 0) {
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ var fhair = Array(31150, 31310, 31220, 31300, 31260, 31160, 31730, 31410, 31410)
|
|||||||
var hairnew = Array();
|
var hairnew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("I'm the head of this hair salon Mani. If you have a #b#t5150031##k or a #b#t5151026##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L0#I want to buy a coupon!#l\r\n#L1#Haircut: #i5150031##t5150031##l\r\n#L2#Dye your hair: #i5151026##t5151026##l");
|
cm.sendSimple("I'm the head of this hair salon Mani. If you have a #b#t5150031##k or a #b#t5151026##k, allow me to take care of your hairdo. Please choose the one you want.\r\n#L1#Haircut: #i5150031##t5150031##l\r\n#L2#Dye your hair: #i5151026##t5151026##l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -47,10 +47,7 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 0) {
|
if (selection == 1) {
|
||||||
beauty = 0;
|
|
||||||
cm.sendSimple("Which coupon would you like to buy?\r\n#L0#Haircut for " + hairprice + " mesos: #i5150031##t5150031##l\r\n#L1#Dye your hair for " + haircolorprice + " mesos: #i5151026##t5151026##l");
|
|
||||||
} else if (selection == 1) {
|
|
||||||
beauty = 1;
|
beauty = 1;
|
||||||
hairnew = Array();
|
hairnew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ var price = 1000000;
|
|||||||
var skin = Array(0, 1, 2, 3, 4);
|
var skin = Array(0, 1, 2, 3, 4);
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Well, hello! Welcome to the NLC Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153009##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L1#I would like to buy a #b#t5153009##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the NLC Skin-Care! Would you like to have a firm, tight, healthy looking skin like mine? With #b#t5153009##k, you can let us take care of the rest and have the kind of skin you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -43,25 +43,19 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2)
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5153009, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2)
|
|
||||||
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
cm.sendStyle("With our specialized machine, you can see the way you'll look after the treatment PRIOR to the procedure. What kind of a look are you looking for? Go ahead and choose the style of your liking~!", skin);
|
||||||
}
|
}
|
||||||
else if (status == 2){
|
else if (status == 2){
|
||||||
cm.dispose();
|
|
||||||
if (cm.haveItem(5153009)){
|
if (cm.haveItem(5153009)){
|
||||||
cm.gainItem(5153009, -1);
|
cm.gainItem(5153009, -1);
|
||||||
cm.setSkin(skin[selection]);
|
cm.setSkin(skin[selection]);
|
||||||
cm.sendOk("Enjoy your new and improved skin!");
|
cm.sendOk("Enjoy your new and improved skin!");
|
||||||
} else
|
} else {
|
||||||
cm.sendOk("Um...you don't have the skin-care coupon you need to receive the treatment. Sorry, but I am afraid we can't do it for you...");
|
cm.sendOk("Um...you don't have the skin-care coupon you need to receive the treatment. Sorry, but I am afraid we can't do it for you...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cm.dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,7 @@ var fface = Array(21001, 21002, 21003, 21004, 21005, 21006, 21008, 21012, 21014,
|
|||||||
var facenew = Array();
|
var facenew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Well, hello! Welcome to the New Leaf City Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152034##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L1#I would like to buy a #b#t5152034##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Well, hello! Welcome to the New Leaf City Plastic Surgery! Would you like to transform your face into something new? With a #b#t5152034##k, you can let us take care of the rest and have the face you've always wanted~!\r\n#L2#I already have a Coupon!#l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -46,15 +46,7 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152034, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
for(var i = 0; i < mface.length; i++)
|
for(var i = 0; i < mface.length; i++)
|
||||||
@@ -66,13 +58,15 @@ function action(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (status == 2){
|
else if (status == 2){
|
||||||
cm.dispose();
|
|
||||||
if (cm.haveItem(5152034)){
|
if (cm.haveItem(5152034)){
|
||||||
cm.gainItem(5152034, -1);
|
cm.gainItem(5152034, -1);
|
||||||
cm.setFace(facenew[selection]);
|
cm.setFace(facenew[selection]);
|
||||||
cm.sendOk("Enjoy your new and improved face!");
|
cm.sendOk("Enjoy your new and improved face!");
|
||||||
} else
|
} else {
|
||||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cm.dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ var fface = Array(21001, 21002, 21003, 21004, 21005, 21006, 21008, 21012, 21014,
|
|||||||
var facenew = Array();
|
var facenew = Array();
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152033##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L1#I would like to buy a #b#t5152033##k for " + price + " mesos, please!#l\r\n\#L2#I already have a Coupon!#l");
|
cm.sendSimple("Hi, I pretty much shouldn't be doing this, but with a #b#t5152033##k, I will do it anyways for you. But don't forget, it will be random!\r\n#L2#I already have a Coupon!#l");
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(mode, type, selection) {
|
function action(mode, type, selection) {
|
||||||
@@ -47,15 +47,7 @@ function action(mode, type, selection) {
|
|||||||
else
|
else
|
||||||
status--;
|
status--;
|
||||||
if (status == 1) {
|
if (status == 1) {
|
||||||
if (selection == 1) {
|
if (selection == 2) {
|
||||||
if(cm.getMeso() >= price) {
|
|
||||||
cm.gainMeso(-price);
|
|
||||||
cm.gainItem(5152033, 1);
|
|
||||||
cm.sendOk("Enjoy!");
|
|
||||||
} else
|
|
||||||
cm.sendOk("You don't have enough mesos to buy a coupon!");
|
|
||||||
cm.dispose();
|
|
||||||
} else if (selection == 2) {
|
|
||||||
facenew = Array();
|
facenew = Array();
|
||||||
if (cm.getPlayer().getGender() == 0)
|
if (cm.getPlayer().getGender() == 0)
|
||||||
for(var i = 0; i < mface.length; i++)
|
for(var i = 0; i < mface.length; i++)
|
||||||
@@ -66,13 +58,15 @@ function action(mode, type, selection) {
|
|||||||
cm.sendYesNo("If you use the regular coupon, your face may transform into a random new look...do you still want to do it using #b#t5152033##k?");
|
cm.sendYesNo("If you use the regular coupon, your face may transform into a random new look...do you still want to do it using #b#t5152033##k?");
|
||||||
}
|
}
|
||||||
} else if (status == 2){
|
} else if (status == 2){
|
||||||
cm.dispose();
|
|
||||||
if (cm.haveItem(5152033)){
|
if (cm.haveItem(5152033)){
|
||||||
cm.gainItem(5152033, -1);
|
cm.gainItem(5152033, -1);
|
||||||
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
cm.setFace(facenew[Math.floor(Math.random() * facenew.length)]);
|
||||||
cm.sendOk("Enjoy your new and improved face!");
|
cm.sendOk("Enjoy your new and improved face!");
|
||||||
} else
|
} else {
|
||||||
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
cm.sendOk("Hmm ... it looks like you don't have the coupon specifically for this place. Sorry to say this, but without the coupon, there's no plastic surgery for you...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cm.dispose();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ function start() {
|
|||||||
if (inMap[i] == cm.getPlayer().getMap().getId()) {
|
if (inMap[i] == cm.getPlayer().getMap().getId()) {
|
||||||
if(inMap[i] == 550000000) {
|
if(inMap[i] == 550000000) {
|
||||||
toMap[1][1] = cm.getPlayer().peekSavedLocation("WORLDTOUR");
|
toMap[1][1] = cm.getPlayer().peekSavedLocation("WORLDTOUR");
|
||||||
|
if(toMap[1][1] == -1) toMap[1][1] = 541000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = i;
|
location = i;
|
||||||
@@ -116,6 +117,7 @@ function action(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
travelMap = cm.getPlayer().getSavedLocation("WORLDTOUR");
|
travelMap = cm.getPlayer().getSavedLocation("WORLDTOUR");
|
||||||
|
if(travelMap == -1) travelMap = toMap[1][1];
|
||||||
}
|
}
|
||||||
|
|
||||||
cm.warp(travelMap, travelSp);
|
cm.warp(travelMap, travelSp);
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ function writeFeatureTab_MonstersMapsReactors() {
|
|||||||
addFeature("Implemented Zombify disease status.");
|
addFeature("Implemented Zombify disease status.");
|
||||||
addFeature("Added Boss HP Bar for dozens of bosses.");
|
addFeature("Added Boss HP Bar for dozens of bosses.");
|
||||||
addFeature("Game will favor showing the targeted boss HPbar.");
|
addFeature("Game will favor showing the targeted boss HPbar.");
|
||||||
|
addFeature("Boss HPBar & Srv Message toggle - GabrielSin's idea.");
|
||||||
addFeature("Dmg overtime on maps and neutralizers functional.");
|
addFeature("Dmg overtime on maps and neutralizers functional.");
|
||||||
addFeature("Items will consistently stay within the walking area.");
|
addFeature("Items will consistently stay within the walking area.");
|
||||||
addFeature("Boats, elevator and other travel mechanics functional.");
|
addFeature("Boats, elevator and other travel mechanics functional.");
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ function end(mode, type, selection) {
|
|||||||
qm.gainItem(4003000, -30);
|
qm.gainItem(4003000, -30);
|
||||||
qm.gainItem(4003001, -30);
|
qm.gainItem(4003001, -30);
|
||||||
qm.gainItem(4001004, -1);
|
qm.gainItem(4001004, -1);
|
||||||
qm.gainExp(20000 * qm.getPlayer().getExpRate());
|
qm.gainExp(20000);
|
||||||
qm.gainMeso(15000 * qm.getPlayer().getMesoRate());
|
qm.gainMeso(15000);
|
||||||
qm.gainFame(2);
|
qm.gainFame(2);
|
||||||
qm.completeQuest();
|
qm.completeQuest();
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ function end(mode, type, selection) {
|
|||||||
qm.gainItem(item, 1);
|
qm.gainItem(item, 1);
|
||||||
qm.gainItem(4000007, -150);
|
qm.gainItem(4000007, -150);
|
||||||
|
|
||||||
qm.gainExp(2200 * qm.getPlayer().getExpRate());
|
qm.gainExp(2200);
|
||||||
qm.completeQuest();
|
qm.completeQuest();
|
||||||
|
|
||||||
qm.sendOk("Alright, if you need work sometime down the road, feel free to come back and see me. This town sure can use a person like you for help~");
|
qm.sendOk("Alright, if you need work sometime down the road, feel free to come back and see me. This town sure can use a person like you for help~");
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ function end(mode, type, selection) {
|
|||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.gainItem(4220137, -1);
|
qm.gainItem(4220137, -1);
|
||||||
qm.gainExp(37600 * qm.getPlayer().getExpRate());
|
qm.gainExp(37600);
|
||||||
|
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ function end(mode, type, selection) {
|
|||||||
if (qm.isQuestStarted(21703)) {
|
if (qm.isQuestStarted(21703)) {
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.teachSkill(21000000, qm.getPlayer().getSkillLevel(21000000), 10, -1); // Combo Ability Skill
|
qm.teachSkill(21000000, qm.getPlayer().getSkillLevel(21000000), 10, -1); // Combo Ability Skill
|
||||||
qm.gainExp(2800 * qm.getPlayer().getExpRate());
|
qm.gainExp(2800);
|
||||||
}
|
}
|
||||||
qm.sendNext("(You remembered the #bCombo Ability#k skill! You were skeptical of the training at first, since the old man suffers from Alzheimer's and all, but boy, was it effective!)", 2);
|
qm.sendNext("(You remembered the #bCombo Ability#k skill! You were skeptical of the training at first, since the old man suffers from Alzheimer's and all, but boy, was it effective!)", 2);
|
||||||
qm.showInfo("Effect/BasicEff.img/AranGetSkill");
|
qm.showInfo("Effect/BasicEff.img/AranGetSkill");
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function end(mode, type, selection) {
|
|||||||
if (qm.getQuestStatus(21720) == 1) {
|
if (qm.getQuestStatus(21720) == 1) {
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.teachSkill(21001003, qm.getPlayer().getSkillLevel(21001003), 20, -1);
|
qm.teachSkill(21001003, qm.getPlayer().getSkillLevel(21001003), 20, -1);
|
||||||
qm.gainExp(3900 * qm.getPlayer().getExpRate());
|
qm.gainExp(3900);
|
||||||
}
|
}
|
||||||
qm.showIntro("Effect/BasicEff.img/AranGetSkill");
|
qm.showIntro("Effect/BasicEff.img/AranGetSkill");
|
||||||
qm.sendNext('#b(You remembered the Polearm Booster skill!)#k', 2);
|
qm.sendNext('#b(You remembered the Polearm Booster skill!)#k', 2);
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function end(mode, type, selection) {
|
|||||||
qm.sendNext("You haven't found the #rPuppeteer's cave#k yet, did you?");
|
qm.sendNext("You haven't found the #rPuppeteer's cave#k yet, did you?");
|
||||||
} else {
|
} else {
|
||||||
qm.sendNext("Hm, so the entrance is blocked by a powerful force? I see, gimme a time to think now...");
|
qm.sendNext("Hm, so the entrance is blocked by a powerful force? I see, gimme a time to think now...");
|
||||||
qm.gainExp(200 * qm.getPlayer().getExpRate());
|
qm.gainExp(200);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ function end(mode, type, selection) {
|
|||||||
} else if(status == 1) {
|
} else if(status == 1) {
|
||||||
qm.sendNext("I will teach you the #rPolearm Mastery#k skill, to reward your actions here. You will be able to improve your accuracy and the overall mastery of your polearm arts.");
|
qm.sendNext("I will teach you the #rPolearm Mastery#k skill, to reward your actions here. You will be able to improve your accuracy and the overall mastery of your polearm arts.");
|
||||||
} else {
|
} else {
|
||||||
qm.gainExp(8000 * qm.getPlayer().getExpRate());
|
qm.gainExp(8000);
|
||||||
qm.teachSkill(21100000, 0, 20, -1); // polearm mastery
|
qm.teachSkill(21100000, 0, 20, -1); // polearm mastery
|
||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ function end(mode, type, selection) {
|
|||||||
} else if(status == 2) {
|
} else if(status == 2) {
|
||||||
qm.sendNext("For your bravery inputted on these series of missions, I will now reward you properly. Behold, the #rCombo Drain#k Skill: that let's you heal back a portion of damage dealt to the monsters.");
|
qm.sendNext("For your bravery inputted on these series of missions, I will now reward you properly. Behold, the #rCombo Drain#k Skill: that let's you heal back a portion of damage dealt to the monsters.");
|
||||||
} else {
|
} else {
|
||||||
qm.gainExp(12500 * qm.getPlayer().getExpRate());
|
qm.gainExp(12500);
|
||||||
qm.teachSkill(21100005, 0, 20, -1); // combo drain
|
qm.teachSkill(21100005, 0, 20, -1); // combo drain
|
||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ function end(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.gainItem(4032323, -1);
|
qm.gainItem(4032323, -1);
|
||||||
qm.gainExp(6037 * qm.getPlayer().getExpRate());
|
qm.gainExp(6037);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function end(mode, type, selection) {
|
|||||||
if(status == 0) {
|
if(status == 0) {
|
||||||
qm.sendNext("So, have you defeated the giant? Oh, a Black Wing agent undercover? And he GOT THE SEAL STONE OF ORBIS?! Oh, no. That's horrible! We need to develop countermeasures as soon as possible! Tell the informant on Lith about the situation.");
|
qm.sendNext("So, have you defeated the giant? Oh, a Black Wing agent undercover? And he GOT THE SEAL STONE OF ORBIS?! Oh, no. That's horrible! We need to develop countermeasures as soon as possible! Tell the informant on Lith about the situation.");
|
||||||
} else {
|
} else {
|
||||||
qm.gainExp(29500 * qm.getPlayer().getExpRate());
|
qm.gainExp(29500);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ function end(mode, type, selection) {
|
|||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.gainItem(4032342, -8);
|
qm.gainItem(4032342, -8);
|
||||||
qm.gainItem(4220151, -1);
|
qm.gainItem(4220151, -1);
|
||||||
qm.gainExp(10000 * qm.getPlayer().getExpRate());
|
qm.gainExp(10000);
|
||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ function end(mode, type, selection) {
|
|||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.gainItem(4032342, -8);
|
qm.gainItem(4032342, -8);
|
||||||
qm.gainItem(4220151, -1);
|
qm.gainItem(4220151, -1);
|
||||||
qm.gainExp(10000 * qm.getPlayer().getExpRate());
|
qm.gainExp(10000);
|
||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ function end(mode, type, selection) {
|
|||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.sendNext("But yet, something made you unhappy. What could it be? ... No... Black Wings took away the Seal stone? I'm afraid nothing can be done anymore. I suggest you return to your group tactician, Tru is it?, and tell him about the situation now. Tell him about the loss here in Mu Lung. There's no time to lose, hurry!");
|
qm.sendNext("But yet, something made you unhappy. What could it be? ... No... Black Wings took away the Seal stone? I'm afraid nothing can be done anymore. I suggest you return to your group tactician, Tru is it?, and tell him about the situation now. Tell him about the loss here in Mu Lung. There's no time to lose, hurry!");
|
||||||
} else if (status == 2) {
|
} else if (status == 2) {
|
||||||
qm.gainExp(16000 * qm.getPlayer().getExpRate());
|
qm.gainExp(16000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function end(mode, type, selection) {
|
|||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.sendNext("I've researched some skill books, trying to trace any lost skills of yours. Good news I found one of them: it's the #rFinal Charge#k! With it you will be able to draw closer opposing monsters at each swipe. It's a fine improvement for your arsenal, isn't it?");
|
qm.sendNext("I've researched some skill books, trying to trace any lost skills of yours. Good news I found one of them: it's the #rFinal Charge#k! With it you will be able to draw closer opposing monsters at each swipe. It's a fine improvement for your arsenal, isn't it?");
|
||||||
} else if (status == 2) {
|
} else if (status == 2) {
|
||||||
qm.gainExp(20000 * qm.getPlayer().getExpRate());
|
qm.gainExp(20000);
|
||||||
qm.teachSkill(21100002, 0, 30, -1); // final charge
|
qm.teachSkill(21100002, 0, 30, -1); // final charge
|
||||||
|
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function start(mode, type, selection) {
|
|||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
qm.sendNext("Aran, your next objective will be to use the #btime gate to Ellin#k again. This time you will be retrieving the long lost #rSeal Stone of Ellin Forest#k. According to informations our network have gathered, #b#p2131002##k of that time have a clue about that gem, #rfind her#k. Please be successful on this task, our world is relying on you more than ever!");
|
qm.sendNext("Aran, your next objective will be to use the #btime gate to Ellin#k again. This time you will be retrieving the long lost #rSeal Stone of Ellin Forest#k. According to informations our network have gathered, #b#p2131002##k of that time have a clue about that gem, #rfind her#k. Please be successful on this task, our world is relying on you more than ever!");
|
||||||
} else {
|
} else {
|
||||||
qm.gainExp(500 * qm.getPlayer().getExpRate());
|
qm.gainExp(500);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.sendNext("Oh, a letter for the #rempress#k? From the #bheroes#k?!");
|
qm.sendNext("Oh, a letter for the #rempress#k? From the #bheroes#k?!");
|
||||||
} else {
|
} else {
|
||||||
qm.gainExp(1000 * qm.getPlayer().getExpRate());
|
qm.gainExp(1000);
|
||||||
qm.gainItem(4032330, -1);
|
qm.gainItem(4032330, -1);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function start(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function end(mode, type, selection) {
|
function end(mode, type, selection) {
|
||||||
qm.gainExp(200 * qm.getPlayer().getExpRate());
|
qm.gainExp(200);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@ function end(mode, type, selection){
|
|||||||
if(qm.haveItem(4031853)){
|
if(qm.haveItem(4031853)){
|
||||||
if(qm.canHold(2030019)) {
|
if(qm.canHold(2030019)) {
|
||||||
qm.gainItem(4031853, -1);
|
qm.gainItem(4031853, -1);
|
||||||
qm.gainExp(1700 * qm.getPlayer().getExpRate());
|
qm.gainExp(1700);
|
||||||
qm.gainItem(2030019, 10);
|
qm.gainItem(2030019, 10);
|
||||||
|
|
||||||
qm.sendOk("Geez, you found my glasses! Thank you, thank you so much. Now I'm able to see everything again!");
|
qm.sendOk("Geez, you found my glasses! Thank you, thank you so much. Now I'm able to see everything again!");
|
||||||
@@ -24,7 +24,7 @@ function end(mode, type, selection){
|
|||||||
else
|
else
|
||||||
qm.gainItem(4031855, -1);
|
qm.gainItem(4031855, -1);
|
||||||
|
|
||||||
qm.gainExp(1000 * qm.getPlayer().getExpRate());
|
qm.gainExp(1000);
|
||||||
qm.gainItem(2030019, 5);
|
qm.gainItem(2030019, 5);
|
||||||
|
|
||||||
qm.sendOk("Hm, those aren't my glasses... But alas, I'll take it anyway. Thanks.");
|
qm.sendOk("Hm, those aren't my glasses... But alas, I'll take it anyway. Thanks.");
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ function end(mode, type, selection) {
|
|||||||
|
|
||||||
qm.sendNext("(Ah, there is a crumbled note here... Hm, it contains details about some scheme that is about to happen, that must be what #r#p1052002##k was talking about.)");
|
qm.sendNext("(Ah, there is a crumbled note here... Hm, it contains details about some scheme that is about to happen, that must be what #r#p1052002##k was talking about.)");
|
||||||
qm.gainItem(4031894, 1);
|
qm.gainItem(4031894, 1);
|
||||||
qm.gainExp(20000 * qm.getPlayer().getExpRate());
|
qm.gainExp(20000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function start(mode, type, selection) {
|
|||||||
|
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.sendNext("I've just gathered an interesting information, #rDyle looks just like regular Ligators#k, but bigger.");
|
qm.sendNext("I've just gathered an interesting information, #rDyle looks just like regular Ligators#k, but bigger.");
|
||||||
qm.gainExp(7000 * qm.getPlayer().getExpRate());
|
qm.gainExp(7000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function start(mode, type, selection) {
|
|||||||
|
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.sendNext("Hey, did you notice already, it looks like some awful stench is emanating from the sewers... Ewww");
|
qm.sendNext("Hey, did you notice already, it looks like some awful stench is emanating from the sewers... Ewww");
|
||||||
qm.gainExp(7000 * qm.getPlayer().getExpRate());
|
qm.gainExp(7000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function start(mode, type, selection) {
|
|||||||
|
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.sendNext("Hey did you see how strange #rLakelis#k has been acting these days? We should see what's going on aabout her, her actions have been so weird lately...");
|
qm.sendNext("Hey did you see how strange #rLakelis#k has been acting these days? We should see what's going on aabout her, her actions have been so weird lately...");
|
||||||
qm.gainExp(7000 * qm.getPlayer().getExpRate());
|
qm.gainExp(7000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function start(mode, type, selection) {
|
|||||||
|
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.sendNext("Did you know, they say someone from the sewers has been trying to #rdevelop a magic powder that let's one to grow#k, isn't that nice?");
|
qm.sendNext("Did you know, they say someone from the sewers has been trying to #rdevelop a magic powder that let's one to grow#k, isn't that nice?");
|
||||||
qm.gainExp(7000 * qm.getPlayer().getExpRate());
|
qm.gainExp(7000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
if(isAllSubquestsDone() && qm.haveItem(4031894)) {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ function end(mode, type, selection) {
|
|||||||
if(status == 0) {
|
if(status == 0) {
|
||||||
if(qm.getQuestProgress(2236) == 63) { //111111
|
if(qm.getQuestProgress(2236) == 63) { //111111
|
||||||
qm.sendOk("I, too, felt it. The force of the Shaman Rocks began to overpower the forces of evil. I think Sleepywood is safe now. The evil has been eliminated.");
|
qm.sendOk("I, too, felt it. The force of the Shaman Rocks began to overpower the forces of evil. I think Sleepywood is safe now. The evil has been eliminated.");
|
||||||
qm.gainExp(60000 * qm.getPlayer().getExpRate());
|
qm.gainExp(60000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function end(mode, type, selection) {
|
|||||||
else {
|
else {
|
||||||
qm.gainItem(4032399, -20);
|
qm.gainItem(4032399, -20);
|
||||||
qm.sendOk("Oh, you brought 20 #b#t4032399##k! Thank you.");
|
qm.sendOk("Oh, you brought 20 #b#t4032399##k! Thank you.");
|
||||||
qm.gainExp(8000 * qm.getPlayer().getExpRate());
|
qm.gainExp(8000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ function end(mode, type, selection)
|
|||||||
else if(selection == 3)
|
else if(selection == 3)
|
||||||
{
|
{
|
||||||
qm.sendOk("So that was the song he was playing... Well, it wasn't my song after all, but I'm glad I can know that now with certainty. Thank you so much.");
|
qm.sendOk("So that was the song he was playing... Well, it wasn't my song after all, but I'm glad I can know that now with certainty. Thank you so much.");
|
||||||
qm.gainExp(32500 * qm.getPlayer().getExpRate());
|
qm.gainExp(32500);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ function end(mode, type, selection) {
|
|||||||
qm.sendNextPrev("Hmmm... okay. Since the letter is from the job instructor, I suppose you are really the one. I apologize for not introducing myself to you earlier. I'm the #bHead Security Officer#k in charge of protecting King Mush. As you can see, this temporary hideout is protected by the team of security and soldiers. Our situation may be dire, but nevertheless, welcome to Kingdom of Mushroom.");
|
qm.sendNextPrev("Hmmm... okay. Since the letter is from the job instructor, I suppose you are really the one. I apologize for not introducing myself to you earlier. I'm the #bHead Security Officer#k in charge of protecting King Mush. As you can see, this temporary hideout is protected by the team of security and soldiers. Our situation may be dire, but nevertheless, welcome to Kingdom of Mushroom.");
|
||||||
if(status == 2){
|
if(status == 2){
|
||||||
qm.gainItem(4032375, -1);
|
qm.gainItem(4032375, -1);
|
||||||
|
qm.gainExp(6000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.forceStartQuest(2312);
|
qm.forceStartQuest(2312);
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ function end(mode, type, selection) {
|
|||||||
qm.sendOk("Did you teach those Renegade Spores a lesson?");
|
qm.sendOk("Did you teach those Renegade Spores a lesson?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.gainExp(11500 * qm.getPlayer().getExpRate());
|
qm.gainExp(11500);
|
||||||
qm.gainItem(4000499, -50);
|
qm.gainItem(4000499, -50);
|
||||||
qm.sendOk("That was amazing. I apologize for doubting your abilities. Please save our Kingdom of Mushroom from this crisis!");
|
qm.sendOk("That was amazing. I apologize for doubting your abilities. Please save our Kingdom of Mushroom from this crisis!");
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ function end(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.gainExp(4000 * qm.getPlayer().getExpRate());
|
qm.gainExp(4000);
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ function start(mode, type, selection) {
|
|||||||
if(status == 2){
|
if(status == 2){
|
||||||
//qm.forceStartQuest();
|
//qm.forceStartQuest();
|
||||||
//qm.forceStartQuest(2314,"1");
|
//qm.forceStartQuest(2314,"1");
|
||||||
qm.gainExp(8300 * qm.getPlayer().getExpRate());
|
qm.gainExp(8300);
|
||||||
qm.sendOk("I see, so it was indeed not a regular barrier by any means. Great work there. If not for you help, we wouldn't have had a clue as to what that was all about.");
|
qm.sendOk("I see, so it was indeed not a regular barrier by any means. Great work there. If not for you help, we wouldn't have had a clue as to what that was all about.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
@@ -48,7 +48,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("I see that you have thoroughly investigated the barrier at the Mushroom Forest. What was it like?");
|
qm.sendOk("I see that you have thoroughly investigated the barrier at the Mushroom Forest. What was it like?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(8300 * qm.getPlayer().getExpRate());
|
qm.gainExp(8300);
|
||||||
qm.sendOk("I see, so it was indeed not a regular barrier by any means. Great work there. If not for you help, we wouldn't have had a clue as to what that was all about.");
|
qm.sendOk("I see, so it was indeed not a regular barrier by any means. Great work there. If not for you help, we wouldn't have had a clue as to what that was all about.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("What? You investigated the barrier at the Mushroom Forest?");
|
qm.sendOk("What? You investigated the barrier at the Mushroom Forest?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(4000 * qm.getPlayer().getExpRate());
|
qm.gainExp(4000);
|
||||||
qm.sendOk("Hmmm...this is interesting. It's a barrier set up by someone with a powerful force of magic, which means there's no way we can manually break through it.");
|
qm.sendOk("Hmmm...this is interesting. It's a barrier set up by someone with a powerful force of magic, which means there's no way we can manually break through it.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Ah, so you're the explorer people were talking about. I'm #bScarrs, the Royal Mushroom Scholar#k representing the Kingdom of Mushroom. So you need some #kKiller Mushroom Spores#k?");
|
qm.sendOk("Ah, so you're the explorer people were talking about. I'm #bScarrs, the Royal Mushroom Scholar#k representing the Kingdom of Mushroom. So you need some #kKiller Mushroom Spores#k?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(4200 * qm.getPlayer().getExpRate());
|
qm.gainExp(4200);
|
||||||
qm.sendOk("#kKiller Mushroom Spores#k... I think i've heard of them before...");
|
qm.sendOk("#kKiller Mushroom Spores#k... I think i've heard of them before...");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Have you gathered up the 100 Poison Mushroom Caps like I asked you to get?");
|
qm.sendOk("Have you gathered up the 100 Poison Mushroom Caps like I asked you to get?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(13500 * qm.getPlayer().getExpRate());
|
qm.gainExp(13500);
|
||||||
qm.gainItem(4000500, -100);
|
qm.gainItem(4000500, -100);
|
||||||
qm.sendOk("I am amazed that you were able to gather up these 100 Poison Mushroom Caps, which is considered a difficult feat. I think I'll be able to make #bKiller Mushroom Spores#k our of these.");
|
qm.sendOk("I am amazed that you were able to gather up these 100 Poison Mushroom Caps, which is considered a difficult feat. I think I'll be able to make #bKiller Mushroom Spores#k our of these.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Did you gather up all the necessary ingredients for it?")
|
qm.sendOk("Did you gather up all the necessary ingredients for it?")
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(11500 * qm.getPlayer().getExpRate());
|
qm.gainExp(11500);
|
||||||
qm.gainItem(4000499, -50);
|
qm.gainItem(4000499, -50);
|
||||||
qm.sendNext("Okay, these should be enough for me to make the #bKiller Mushroom Spores.#k Please hold on for a bit.");
|
qm.sendNext("Okay, these should be enough for me to make the #bKiller Mushroom Spores.#k Please hold on for a bit.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Are the #bKiller Mushroom Spores#k finally completed?");
|
qm.sendOk("Are the #bKiller Mushroom Spores#k finally completed?");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(4200 * qm.getPlayer().getExpRate());
|
qm.gainExp(4200);
|
||||||
qm.gainItem(4032389, -1);
|
qm.gainItem(4032389, -1);
|
||||||
qm.sendOk("Okay, so this is the #bKiller Mushroom Spores.#k Thank you, thank you, and please tell #bScarrs#k the same.");
|
qm.sendOk("Okay, so this is the #bKiller Mushroom Spores.#k Thank you, thank you, and please tell #bScarrs#k the same.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Oh! You're here on behalf of #bScarrs#k? \r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0# \r\n#fUI/UIWindow.img/QuestIcon/8/0# 8800 exp");
|
qm.sendOk("Oh! You're here on behalf of #bScarrs#k? \r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0# \r\n#fUI/UIWindow.img/QuestIcon/8/0# 8800 exp");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(8800 * qm.getPlayer().getExpRate());
|
qm.gainExp(8800);
|
||||||
qm.gainItem(4032389, -1);
|
qm.gainItem(4032389, -1);
|
||||||
qm.sendOk("Ahh, so this is the #bKiller Mushroom Spores#k that I was working on in the past. I had a tough time gathering up the ingredients, so I left it in theory only, but he was able to complete it, with a sample to show for as well. Please tell him I appreciate his good work.");
|
qm.sendOk("Ahh, so this is the #bKiller Mushroom Spores#k that I was working on in the past. I had a tough time gathering up the ingredients, so I left it in theory only, but he was able to complete it, with a sample to show for as well. Please tell him I appreciate his good work.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("I have been keeping up on your fabulour work. I am aware that you have successfully created the #bKiller Mushroom Spores#k, which penetrates through the unpenetrable barrier of the forest. Congratulations!");
|
qm.sendOk("I have been keeping up on your fabulour work. I am aware that you have successfully created the #bKiller Mushroom Spores#k, which penetrates through the unpenetrable barrier of the forest. Congratulations!");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(2500 * qm.getPlayer().getExpRate());
|
qm.gainExp(2500);
|
||||||
qm.sendOk("The problem now is to figure out how to enter the castle.");
|
qm.sendOk("The problem now is to figure out how to enter the castle.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ function start(mode, type, selection) {
|
|||||||
if (status == 2){
|
if (status == 2){
|
||||||
//qm.forceStartQuest();
|
//qm.forceStartQuest();
|
||||||
//qm.forceStartQuest(2322, "1");
|
//qm.forceStartQuest(2322, "1");
|
||||||
qm.gainExp(11000 * qm.getPlayer().getExpRate());
|
qm.gainExp(11000);
|
||||||
qm.sendOk("Good job navigating through the area.");
|
qm.sendOk("Good job navigating through the area.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
@@ -50,7 +50,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0)
|
if (status == 0)
|
||||||
qm.sendOk("Hmmm I see... so they have completely shut off the entrance and everything.");
|
qm.sendOk("Hmmm I see... so they have completely shut off the entrance and everything.");
|
||||||
if (status == 1){
|
if (status == 1){
|
||||||
qm.gainExp(11000 * qm.getPlayer().getExpRate());
|
qm.gainExp(11000);
|
||||||
qm.sendOk("Good job navigating through the area.");
|
qm.sendOk("Good job navigating through the area.");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ function end(mode, type, selection){
|
|||||||
else if(status == 2){
|
else if(status == 2){
|
||||||
qm.sendOk("What? My brother sent you here? Ahhh... I am safe now. Thank you so much...");
|
qm.sendOk("What? My brother sent you here? Ahhh... I am safe now. Thank you so much...");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.gainExp(6000 * qm.getPlayer().getExpRate());
|
qm.gainExp(6000);
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -51,7 +51,7 @@ function end(mode, type, selection){
|
|||||||
qm.sendNext("Hurray! #b#h ##k you defeated the #bPrime Minister#k.");
|
qm.sendNext("Hurray! #b#h ##k you defeated the #bPrime Minister#k.");
|
||||||
}
|
}
|
||||||
else if(status == 1){
|
else if(status == 1){
|
||||||
qm.gainExp(15000 * qm.getPlayer().getExpRate());
|
qm.gainExp(15000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
var eim = qm.getEventInstance();
|
var eim = qm.getEventInstance();
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function start(mode, type, selection){
|
|||||||
}
|
}
|
||||||
else if(status == 6){
|
else if(status == 6){
|
||||||
qm.forceStartQuest();
|
qm.forceStartQuest();
|
||||||
qm.gainExp(1000 * qm.getPlayer().getExpRate());
|
qm.gainExp(1000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function end(mode, type, selection) {
|
|||||||
else if(rnd == 2) qm.gainItem(2040707, 1);
|
else if(rnd == 2) qm.gainItem(2040707, 1);
|
||||||
else qm.gainItem(2040708, 1);
|
else qm.gainItem(2040708, 1);
|
||||||
|
|
||||||
qm.gainExp(2700 * qm.getPlayer().getExpRate());
|
qm.gainExp(2700);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function end(mode, type, selection) {
|
|||||||
if (status == 0) {
|
if (status == 0) {
|
||||||
if(qm.getQuestProgress(3311, 0) == 1 && qm.getQuestProgress(3311, 1) == 1) {
|
if(qm.getQuestProgress(3311, 0) == 1 && qm.getQuestProgress(3311, 1) == 1) {
|
||||||
qm.sendNext("Hmm, so the Alcadno doctor wrote something about researching some vanguardist Neo Huroid machine, that could beat by far the existing one, and was about to prepare the last steps of his rehearsal? We don't have a word about him for about three weeks now, something must have gone wrong...");
|
qm.sendNext("Hmm, so the Alcadno doctor wrote something about researching some vanguardist Neo Huroid machine, that could beat by far the existing one, and was about to prepare the last steps of his rehearsal? We don't have a word about him for about three weeks now, something must have gone wrong...");
|
||||||
qm.gainExp(60000 * qm.getPlayer().getExpRate());
|
qm.gainExp(60000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
} else {
|
} else {
|
||||||
qm.sendNext("Found nothing yet? Please check out Dr. De Lang's house properly, something there may give out a clue about what is going on.");
|
qm.sendNext("Found nothing yet? Please check out Dr. De Lang's house properly, something there may give out a clue about what is going on.");
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function end(mode, type, selection) {
|
|||||||
if(qm.canHoldAll([2050004, 2022224], [10, 20])) {
|
if(qm.canHoldAll([2050004, 2022224], [10, 20])) {
|
||||||
qm.sendNext("You did took my experiments. Hmm, so THAT is the result of it, hehehehe... Ok, take that as compensation will you? And oh, you can #rspew that#k right away (#bright-click on the pill icon at the top-right corner of the screen#k), no worries.");
|
qm.sendNext("You did took my experiments. Hmm, so THAT is the result of it, hehehehe... Ok, take that as compensation will you? And oh, you can #rspew that#k right away (#bright-click on the pill icon at the top-right corner of the screen#k), no worries.");
|
||||||
|
|
||||||
qm.gainExp(12500 * qm.getPlayer().getExpRate());
|
qm.gainExp(12500);
|
||||||
qm.gainItem(2050004, 10);
|
qm.gainItem(2050004, 10);
|
||||||
|
|
||||||
var i = Math.floor(Math.random() * 5);
|
var i = Math.floor(Math.random() * 5);
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ function end(mode, type, selection) {
|
|||||||
qm.sendNext("So, you have succeeded. With this, Magatia's upfront demise has been averted, well done brave adventurer!");
|
qm.sendNext("So, you have succeeded. With this, Magatia's upfront demise has been averted, well done brave adventurer!");
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
|
|
||||||
qm.gainExp(20000 * qm.getPlayer().getExpRate());
|
qm.gainExp(20000);
|
||||||
} else {
|
} else {
|
||||||
qm.sendNext("Did you not seal the #rmagic circle beneath Magatia#k yet? It is a matter of great importance, please haste yourself.");
|
qm.sendNext("Did you not seal the #rmagic circle beneath Magatia#k yet? It is a matter of great importance, please haste yourself.");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ function end(mode, type, selection) {
|
|||||||
qm.gainItem(4031104, -1);
|
qm.gainItem(4031104, -1);
|
||||||
qm.gainItem(4031105, -1);
|
qm.gainItem(4031105, -1);
|
||||||
qm.gainItem(4031106, -1);
|
qm.gainItem(4031106, -1);
|
||||||
qm.gainExp(12000 * qm.getPlayer().getExpRate());
|
qm.gainExp(12000);
|
||||||
qm.completeQuest();
|
qm.completeQuest();
|
||||||
|
|
||||||
qm.dispose();
|
qm.dispose();
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function end(mode, type, selection) {
|
|||||||
item = qm.gainItem(item, 1);
|
item = qm.gainItem(item, 1);
|
||||||
|
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
qm.gainExp(12000 * qm.getPlayer().getExpRate());
|
qm.gainExp(12000);
|
||||||
qm.completeQuest();
|
qm.completeQuest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function end(mode, type, selection) {
|
|||||||
qm.gainItem(item, 1);
|
qm.gainItem(item, 1);
|
||||||
qm.gainItem(4000122, -120);
|
qm.gainItem(4000122, -120);
|
||||||
|
|
||||||
qm.gainExp(6100 * qm.getPlayer().getExpRate());
|
qm.gainExp(6100);
|
||||||
qm.completeQuest();
|
qm.completeQuest();
|
||||||
|
|
||||||
qm.sendOk("Thank you so much for fulfilling your missions as one of the Mesorangers. I've told the Sector about your successful story, and the Sector seems to be very pleased with you, too. Hopefully you'll keep working with us. Bye~");
|
qm.sendOk("Thank you so much for fulfilling your missions as one of the Mesorangers. I've told the Sector about your successful story, and the Sector seems to be very pleased with you, too. Hopefully you'll keep working with us. Bye~");
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ function end(mode, type, selection) {
|
|||||||
if(qm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.USE).getNumFreeSlot() >= 1) {
|
if(qm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.USE).getNumFreeSlot() >= 1) {
|
||||||
qm.gainItem(4000099, -1);
|
qm.gainItem(4000099, -1);
|
||||||
qm.gainItem(2000011, 50);
|
qm.gainItem(2000011, 50);
|
||||||
qm.gainExp(8000 * qm.getPlayer().getExpRate());
|
qm.gainExp(8000);
|
||||||
qm.forceCompleteQuest();
|
qm.forceCompleteQuest();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user