CWKPQ inclusion
Added some CWKPQ imports for the server. Enabled basic mechanics for a run, but still WIP.
This commit is contained in:
3
scripts/reactor/6102001.js
Normal file
3
scripts/reactor/6102001.js
Normal file
@@ -0,0 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
29
scripts/reactor/6102002.js
Normal file
29
scripts/reactor/6102002.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*@author Ronan
|
||||
*6102002.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 90, 360, 15);
|
||||
}
|
||||
29
scripts/reactor/6102003.js
Normal file
29
scripts/reactor/6102003.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*@author Ronan
|
||||
*6102003.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 90, 360, 15);
|
||||
}
|
||||
29
scripts/reactor/6102004.js
Normal file
29
scripts/reactor/6102004.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*@author Ronan
|
||||
*6102004.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 90, 360, 15);
|
||||
}
|
||||
29
scripts/reactor/6102005.js
Normal file
29
scripts/reactor/6102005.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
This file is part of the OdinMS Maple Story Server
|
||||
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
|
||||
Matthias Butz <matze@odinms.de>
|
||||
Jan Christian Meyer <vimes@odinms.de>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*@author Ronan
|
||||
*6102005.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 90, 360, 15);
|
||||
}
|
||||
27
scripts/reactor/6109000.js
Normal file
27
scripts/reactor/6109000.js
Normal file
@@ -0,0 +1,27 @@
|
||||
function act() {
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
var mapId = rm.getMap().getId();
|
||||
|
||||
if (mapId == 610030200) {
|
||||
eim.dropMessage(6, "The Warrior Sigil has been activated!");
|
||||
eim.setIntProperty("glpq2", eim.getIntProperty("glpq2") + 1);
|
||||
if (eim.getIntProperty("glpq2") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "2pt", 2);
|
||||
}
|
||||
} else if (mapId == 610030300) {
|
||||
eim.dropMessage(6, "The Warrior Sigil has been activated! You hear gears turning! The Menhir Defense System is active! Run!");
|
||||
eim.setIntProperty("glpq3", eim.getIntProperty("glpq3") + 1);
|
||||
rm.getMap().moveEnvironment("menhir0", 1);
|
||||
if (eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "3pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//rm.getMap().moveEnvironment("menhir0", 1);
|
||||
}
|
||||
24
scripts/reactor/6109001.js
Normal file
24
scripts/reactor/6109001.js
Normal file
@@ -0,0 +1,24 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
var mapId = rm.getMap().getId();
|
||||
|
||||
if (mapId == 610030200) {
|
||||
eim.dropMessage(6, "The Archer Sigil has been activated!");
|
||||
eim.setIntProperty("glpq2", eim.getIntProperty("glpq2") + 1);
|
||||
if (eim.getIntProperty("glpq2") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "2pt", 2);
|
||||
}
|
||||
} else if (mapId == 610030300) {
|
||||
eim.dropMessage(6, "The Archer Sigil has been activated! You hear gears turning! The Menhir Defense System is active! Run!");
|
||||
eim.setIntProperty("glpq3", eim.getIntProperty("glpq3") + 1);
|
||||
rm.getMap().moveEnvironment("menhir1", 1);
|
||||
rm.getMap().moveEnvironment("menhir2", 1);
|
||||
if (eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "3pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
23
scripts/reactor/6109002.js
Normal file
23
scripts/reactor/6109002.js
Normal file
@@ -0,0 +1,23 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
var mapId = rm.getMap().getId();
|
||||
|
||||
if (mapId == 610030200) {
|
||||
eim.dropMessage(6, "The Mage Sigil has been activated!");
|
||||
eim.setIntProperty("glpq2", eim.getIntProperty("glpq2") + 1);
|
||||
if (eim.getIntProperty("glpq2") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "2pt", 2);
|
||||
}
|
||||
} else if (mapId == 610030300) {
|
||||
eim.dropMessage(6, "The Mage Sigil has been activated! You hear gears turning! The Menhir Defense System is active! Run!");
|
||||
eim.setIntProperty("glpq3", eim.getIntProperty("glpq3") + 1);
|
||||
rm.getMap().moveEnvironment("menhir3", 1);
|
||||
if (eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "3pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
23
scripts/reactor/6109003.js
Normal file
23
scripts/reactor/6109003.js
Normal file
@@ -0,0 +1,23 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
var mapId = rm.getMap().getId();
|
||||
|
||||
if (mapId == 610030200) {
|
||||
eim.dropMessage(6, "The Thief Sigil has been activated!");
|
||||
eim.setIntProperty("glpq2", eim.getIntProperty("glpq2") + 1);
|
||||
if (eim.getIntProperty("glpq2") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "2pt", 2);
|
||||
}
|
||||
} else if (mapId == 610030300) {
|
||||
eim.dropMessage(6, "The Thief Sigil has been activated! You hear gears turning! The Menhir Defense System is active! Run!");
|
||||
eim.setIntProperty("glpq3", eim.getIntProperty("glpq3") + 1);
|
||||
rm.getMap().moveEnvironment("menhir4", 1);
|
||||
if (eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
rm.mapMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "3pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
23
scripts/reactor/6109004.js
Normal file
23
scripts/reactor/6109004.js
Normal file
@@ -0,0 +1,23 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
var mapId = rm.getMap().getId();
|
||||
|
||||
if (mapId == 610030200) {
|
||||
eim.dropMessage(6, "The Pirate Sigil has been activated!");
|
||||
eim.setIntProperty("glpq2", eim.getIntProperty("glpq2") + 1);
|
||||
if (eim.getIntProperty("glpq2") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "2pt", 2);
|
||||
}
|
||||
} else if (mapId == 610030300) {
|
||||
eim.dropMessage(6, "The Pirate Sigil has been activated! You hear gears turning! The Menhir Defense System is active! Run!");
|
||||
eim.setIntProperty("glpq3", eim.getIntProperty("glpq3") + 1);
|
||||
rm.getMap().moveEnvironment("menhir5", 1);
|
||||
if (eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(mapId, "3pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109005.js
Normal file
11
scripts/reactor/6109005.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
||||
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
||||
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030500, "5pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109006.js
Normal file
11
scripts/reactor/6109006.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
||||
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
||||
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030500, "5pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109007.js
Normal file
11
scripts/reactor/6109007.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
||||
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
||||
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030500, "5pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109008.js
Normal file
11
scripts/reactor/6109008.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
||||
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
||||
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030500, "5pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109009.js
Normal file
11
scripts/reactor/6109009.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
||||
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
||||
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030500, "5pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109016.js
Normal file
11
scripts/reactor/6109016.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "The Warrior Sigil has been activated!");
|
||||
eim.setIntProperty("glpq4", eim.getIntProperty("glpq4") + 1);
|
||||
if (eim.getIntProperty("glpq4") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030400, "4pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109017.js
Normal file
11
scripts/reactor/6109017.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "The Archer Sigil has been activated!");
|
||||
eim.setIntProperty("glpq4", eim.getIntProperty("glpq4") + 1);
|
||||
if (eim.getIntProperty("glpq4") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030400, "4pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109018.js
Normal file
11
scripts/reactor/6109018.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "The Mage Sigil has been activated!");
|
||||
eim.setIntProperty("glpq4", eim.getIntProperty("glpq4") + 1);
|
||||
if (eim.getIntProperty("glpq4") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030400, "4pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109019.js
Normal file
11
scripts/reactor/6109019.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "The Thief Sigil has been activated!");
|
||||
eim.setIntProperty("glpq4", eim.getIntProperty("glpq4") + 1);
|
||||
if (eim.getIntProperty("glpq4") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030400, "4pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
scripts/reactor/6109020.js
Normal file
11
scripts/reactor/6109020.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
eim.dropMessage(6, "The Pirate Sigil has been activated!");
|
||||
eim.setIntProperty("glpq4", eim.getIntProperty("glpq4") + 1);
|
||||
if (eim.getIntProperty("glpq4") == 5) { //all 5 done
|
||||
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
eim.showClearEffect(610030400, "4pt", 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user