Quick crafters update
Minor update on mineral/jewel crafters' code.
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="2"/>
|
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="2"/>
|
||||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||||
<group>
|
<group/>
|
||||||
<file>file:/C:/Nexon/MapleSolaxia/HeavenMS/scripts/portal/obstacle.js</file>
|
|
||||||
</group>
|
|
||||||
</open-files>
|
</open-files>
|
||||||
</project-private>
|
</project-private>
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ function action(mode, type, selection) {
|
|||||||
if (selectedType != 4)
|
if (selectedType != 4)
|
||||||
selectedItem = selection;
|
selectedItem = selection;
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
if (selectedType == 0) { //bow refine
|
if (selectedType == 0) { //bow refine
|
||||||
var matSet = [[4003001,4000000],[4011001,4003000],[4003001,4000016],[4011001,4021006,4003000],[4011001,4011006,4021003,4021006,4003000],[4011004,4021000,4021004,4003000],[4021008,4011001,4011006,4003000,4000014]];
|
var matSet = [[4003001,4000000],[4011001,4003000],[4003001,4000016],[4011001,4021006,4003000],[4011001,4011006,4021003,4021006,4003000],[4011004,4021000,4021004,4003000],[4021008,4011001,4011006,4003000,4000014]];
|
||||||
var matQtySet = [[5,30],[1,3],[30,50],[2,2,8],[5,5,3,3,30],[7,6,3,35],[1,10,3,40,50]];
|
var matQtySet = [[5,30],[1,3],[30,50],[2,2,8],[5,5,3,3,30],[7,6,3,35],[1,10,3,40,50]];
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
if (selectedType == 2){ //helmet refine
|
if (selectedType == 2){ //helmet refine
|
||||||
var itemSet = new Array(1002042,1002041,1002002,1002044,1002003,1002040,1002007,1002052,1002011,1002058,1002009,1002056,1002087,1002088,1002050,1002049,1002047,1002048,1002099,1002098,1002085,1002028,1002022,1002101);
|
var itemSet = new Array(1002042,1002041,1002002,1002044,1002003,1002040,1002007,1002052,1002011,1002058,1002009,1002056,1002087,1002088,1002050,1002049,1002047,1002048,1002099,1002098,1002085,1002028,1002022,1002101);
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
if (selectedType == 0){ //glove refine
|
if (selectedType == 0){ //glove refine
|
||||||
var itemSet = new Array(1082003,1082000,1082004,1082001,1082007,1082008,1082023,1082009,1082059);
|
var itemSet = new Array(1082003,1082000,1082004,1082001,1082007,1082008,1082023,1082009,1082059);
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
if (selectedType == 0){ //glove refine
|
if (selectedType == 0){ //glove refine
|
||||||
var itemSet = new Array(1082002,1082029,1082030,1082031,1082032,1082037,1082042,1082046,1082075,1082065,1082092);
|
var itemSet = new Array(1082002,1082029,1082030,1082031,1082032,1082037,1082042,1082046,1082075,1082065,1082092);
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
last_use = false;
|
last_use = false;
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
if (selectedType == 0){ //Making a Knuckler
|
if (selectedType == 0){ //Making a Knuckler
|
||||||
var itemSet = new Array(1482001, 1482002, 1482003, 1482004, 1482005, 1482006, 1482007);
|
var itemSet = new Array(1482001, 1482002, 1482003, 1482004, 1482005, 1482006, 1482007);
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
if (selectedType == 5){ //arrow refine
|
if (selectedType == 5){ //arrow refine
|
||||||
var itemSet = new Array(2060000,2061000,2060001,2061001,2060002,2061002);
|
var itemSet = new Array(2060000,2061000,2060001,2061001,2060002,2061002);
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
var prompt = "You want me to make ";
|
var prompt = "You want me to make ";
|
||||||
if (qty == 1)
|
if (qty == 1)
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ function action(mode, type, selection) {
|
|||||||
qty = 1;
|
qty = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
|
|
||||||
var prompt = "You want me to make ";
|
var prompt = "You want me to make ";
|
||||||
if (qty == 1)
|
if (qty == 1)
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ function action(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (status == 3) {
|
else if (status == 3) {
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
last_use = false;
|
last_use = false;
|
||||||
|
|
||||||
var prompt = "You want us to make ";
|
var prompt = "You want us to make ";
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ function action(mode, type, selection) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (status == 3) {
|
else if (status == 3) {
|
||||||
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
|
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
|
||||||
last_use = false;
|
last_use = false;
|
||||||
|
|
||||||
var prompt = "So, you want me to make ";
|
var prompt = "So, you want me to make ";
|
||||||
|
|||||||
Reference in New Issue
Block a user