AmoriaPQ + ItemSort fix + revamped GMShop
Implemented AmoriaPQ. Fixed an issue with ItemIdSortHandler where empty vectors given to the sorting module would cause an exception thrown, wiping players inventory items. Thanks to Vcoc, revamped shop data for GMShop (shop id 1337). Mount quest for explorers now uses event script.
This commit is contained in:
@@ -45,7 +45,7 @@ function action(mode, type, selection) {
|
||||
else
|
||||
status--;
|
||||
if (status == 1 && selection == 0) {
|
||||
if (cm.haveItem(4031592, 1) && cm.isMarried()==1) {
|
||||
if (cm.haveItem(4031592, 1)/* && cm.isMarried()==1*/) {
|
||||
cm.sendYesNo("So you would like to enter the #bEntrance#k?");
|
||||
MySelection = selection;
|
||||
} else {
|
||||
@@ -53,7 +53,11 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
}
|
||||
} else if (status == 1 && selection == 1) {
|
||||
if (cm.haveItem(4031593, 10)) {
|
||||
if (cm.haveItem(4031592)) {
|
||||
cm.sendOk("You already have an Entrance Ticket!");
|
||||
cm.dispose();
|
||||
}
|
||||
else if (cm.haveItem(4031593, 10)) {
|
||||
cm.sendYesNo("So you would like a Ticket?");
|
||||
MySelection = selection;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user