Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //===== eAthena Script =======================================
- //= Malangdo Enchantment.
- //= Official Aegis conversion.
- //===== By: ==================================================
- //= Nyarlathotep/Steadwick
- //===== Current Version: =====================================
- //= 1.0
- //===== Compatible With: =====================================
- //= eAthena GIT
- //===== Description: =========================================
- //= 1. Malangdo Enchants.
- //= 2. Socket Separation.
- //= 3. Coin Exchange.
- //= 4. Daily Hunting Quests. ("Deep Sea Culvert")
- //===== Additional Comments: =================================
- //= 1.0 First Version.
- //============================================================
- //------------------------------------------------------------
- malangdo,213,167,4 script Mayomayo#pa0829 555,{
- if (checkweight(1201,1) == 0) {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects.";
- close;
- }
- if (MaxWeight-Weight<10000)
- {
- mes "Can't continue because you have too heavy object. Let's try to continue after reducing the weigh.";
- close;
- }
- mes "[Mayomayo]";
- mes "Wow wolcome. It is new Mayomayo refinement store~ I enchant some luxury weapons including level 4 weapons.";
- next;
- switch(select("Any store policy is changed?:Give capability to high rank weapons:Initialize Reinforcment capability(Silvervine Fruit is needed)")) {
- case 1:
- mes "[Mayomayo]";
- mes "When I enchant weapons, the cards or refine rates are dissipated sometime. I hated it. However, oneday I found how to do it without any extinction";
- next;
- mes "[Mayomayo]";
- mes "Have you ever seen a building of person of reinforcement capacity association?";
- next;
- if (select("Have seen before:Have not seen before") == 2) {
- mes "[Mayomayo]";
- mes "That builiding is located at South East from where I am. Why don't you go on field trip to there.";
- close;
- }
- mes "[Mayomayo]";
- mes "If you go the place, there is someone who reinforces the Archangel Wing. At that time that was amazing, because that was impossible ability by my own skill";
- next;
- mes "[Mayomayo]";
- mes "Every night I became his butler and did odd jobs that is why I learned how to reinforce.";
- next;
- mes "[Mayomayo]";
- mes "Several rules are changed. Well, you better have experience.";
- close;
- case 2:
- set .@sc_ec,1;
- break;
- case 3:
- set .@sc_ec,2;
- break;
- }
- set .@eq_num,4;
- set .@sc_eq_on,GetEquipIsIdentify(.@eq_num);
- if (.@sc_eq_on == 0) {
- mes "[Mayomayo]";
- mes "Do you take off your equipment?";
- close;
- }
- set .@enc_s_n,getequipid(.@eq_num);
- set .@compo_num,GetEquipRefineryCnt(.@eq_num);
- set .@cardname_1,GetEquipcardID(.@eq_num,0);
- set .@cardname_2,GetEquipcardID(.@eq_num,1);
- set .@cardname_3,GetEquipcardID(.@eq_num,2);
- set .@cardname_4,GetEquipcardID(.@eq_num,3);
- set .@sc_eq_on,GetEquipIsIdentify(.@eq_num);
- if (.@sc_eq_on == 0) {
- mes "[Mayomayo]";
- mes "If you take off equipment during the quest, that is very dangerous.";
- close;
- }
- set .@enc_type,100;
- set .@sc_type,100;
- set .@enc_coin,0;
- if (.@enc_s_n == 1224) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1225) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1227) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1229) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1232) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1233) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1235) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1236) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1237) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1240) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1241) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1242) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1244) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 13046) {
- set .@enc_coin,1;
- set .@sc_type,3;
- }
- if (.@enc_s_n == 13047) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 13061) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1223) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1228) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1234) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1230) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1231) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 13062) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1271) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1263) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1270) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1284) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1285) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1268) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1269) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1265) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1261) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1266) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1305) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1311) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1364) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1365) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1385) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1367) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1368) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1387) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1369) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1363) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1376) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1377) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1366) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1370) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1371) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1131) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1133) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1134) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1135) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1136) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1138) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1139) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1140) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1141) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1148) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 13421) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 13431) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1137) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1130) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1132) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1164) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1166) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1167) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1168) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1170) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1171) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1176) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1178) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1180) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1181) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1182) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1188) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1189) {
- set .@enc_coin,1;
- set .@sc_type,3;
- }
- if (.@enc_s_n == 1196) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1165) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1169) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1179) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1175) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1185) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1186) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1420) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1413) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1414) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1416) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1418) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1433) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1415) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1421) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1422) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1466) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1467) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1468) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1469) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1470) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1471) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1474) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1477) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1478) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1479) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1480) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1481) {
- set .@enc_coin,1;
- set .@sc_type,3;
- }
- if (.@enc_s_n == 1484) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1616) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1629) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1631) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1643) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1654) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1636) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1637) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1473) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 2004) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 2005) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 2001) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 2000) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1524) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1525) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1527) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1539) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1541) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 16000) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 16001) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 16010) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1523) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1538) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1526) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1528) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1540) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1557) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1558) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1559) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1561) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1562) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1565) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1813) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1814) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1815) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1816) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1830) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1719) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1722) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1724) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1725) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1727) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1737) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1740) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1741) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1745) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 18103) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1720) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1913) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1918) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1920) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1922) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1926) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1930) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1962) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1963) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1964) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1969) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1970) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1972) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1973) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1974) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1976) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1979) {
- set .@enc_coin,1;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1984) {
- set .@enc_coin,2;
- set .@sc_type,2;
- }
- if (.@enc_s_n == 1985) {
- set .@enc_coin,4;
- set .@sc_type,2;
- }
- if (.@sc_ec == 1) {
- if (.@enc_coin < 1) {
- mes "[Mayomayo]";
- mes "This is not suitable equipment for the reinforcement. Don't forget we only take care of high class weapons including Lv4 weapons.~ ";
- close;
- }
- mes "[Mayomayo]";
- mes "^0000ff"+getitemname(.@enc_s_n)+"^000000 Do you want to refine this equipment?. How do you pay for this?";
- next;
- set .@enc_coin_wl,0;
- set .@ce,15;
- set .@cd,10;
- set .@cc,6;
- set .@cb,3;
- set .@ca,2;
- if (countitem(6422) < (.@enc_coin * .@ce)) { set .@enc_cc1$,"^999999Egrade_Coin ("+((.@enc_coin * .@ce)-countitem(6422))+" short)^000000"; }
- else { set .@enc_cc1$,"Egrade_Coin ("+countitem(6422)+" possession, "+(.@enc_coin * .@ce)+" necessity)"; }
- if (countitem(6421) < (.@enc_coin * .@cd)) { set .@enc_cc2$,"^999999Dgrade_Coin ("+((.@enc_coin * .@cd)-countitem(6421))+" short)^000000"; }
- else { set .@enc_cc2$,"Dgrade_Coin ("+countitem(6421)+" possession, "+(.@enc_coin * .@cd)+" necessity)"; }
- if (countitem(6420) < (.@enc_coin * .@cc)) { set .@enc_cc3$,"^999999Cgrade_Coin ("+((.@enc_coin * .@cc)-countitem(6420))+" short)^000000"; }
- else { set .@enc_cc3$,"Cgrade_Coin ("+countitem(6420)+" possession, "+(.@enc_coin * .@cc)+" necessity)"; }
- if (countitem(6419) < (.@enc_coin * .@cb)) { set .@enc_cc4$,"^999999Bgrade_Coin ("+((.@enc_coin * .@cb)-countitem(6419))+" short)^000000"; }
- else { set .@enc_cc4$,"Bgrade_Coin ("+countitem(6419)+" possession, "+(.@enc_coin * .@cb)+" necessity)"; }
- if (countitem(6418) < (.@enc_coin * .@ca)) { set .@enc_cc5$,"^999999Agrade_Coin ("+((.@enc_coin * .@ca)-countitem(6418))+" short)^000000"; }
- else { set .@enc_cc5$,"Agrade_Coin ("+countitem(6418)+" possession, "+(.@enc_coin * .@ca)+" necessity)"; }
- if (countitem(6423) < .@enc_coin) { set .@enc_cc6$,"^999999Anger_Seagod ("+(.@enc_coin - countitem(6423))+" short)^000000"; }
- else { set .@enc_cc6$,"Anger_Seagod ("+countitem(6423)+" possession, "+.@enc_coin+" necessity)"; }
- switch(select("Stop:"+.@enc_cc1$+":"+.@enc_cc2$+":"+.@enc_cc3$+":"+.@enc_cc4$+":"+.@enc_cc5$+":"+.@enc_cc6$+"")) {
- case 1:
- mes "[Mayomayo]";
- mes "Come back again if you change your mind.";
- close;
- case 2:
- if (countitem(6422) >= (.@enc_coin * .@ce)) {
- set .@enc_cu1,6422;
- set .@enc_coin_wl,(.@enc_coin * .@ce);
- set .@enc_type,10;
- break;
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- case 3:
- if (countitem(6421) >= (.@enc_coin * .@cd)) {
- set .@enc_cu1,6421;
- set .@enc_coin_wl,(.@enc_coin * .@cd);
- set .@enc_type,9;
- break;
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- case 4:
- if (countitem(6420) >= (.@enc_coin * .@cc)) {
- set .@enc_cu1,6420;
- set .@enc_coin_wl,(.@enc_coin * .@cc);
- set .@enc_type,8;
- break;
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- case 5:
- if (countitem(6419) >= (.@enc_coin * .@cb)) {
- set .@enc_cu1,6419;
- set .@enc_coin_wl,(.@enc_coin * .@cb);
- set .@enc_type,7;
- break;
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- case 6:
- if (countitem(6418) >= (.@enc_coin * .@ca)) {
- set .@enc_cu1,6418;
- set .@enc_coin_wl,(.@enc_coin * .@ca);
- mes "[Mayomayo]";
- mes "When you use the Agrade Coin, you can choose the enchant type.";
- next;
- switch(select("Stop:Short distance type:Long distance type:Caster type")) {
- case 1:
- mes "[Mayomayo]";
- mes "Ok. If you change your mind, let me know.";
- close;
- case 2:
- set .@enc_type,4;
- break;
- case 3:
- set .@enc_type,5;
- break;
- case 4:
- set .@enc_type,6;
- break;
- }
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- case 7:
- if (countitem(6423) >= .@enc_coin) {
- set .@enc_cu1,6423;
- set .@enc_coin_wl,.@enc_coin;
- mes "[Mayomayo]";
- mes "When you use the Anger Seagod, you can choose the enchant type.";
- next;
- switch(select("Stop:Short distance type:Long distance type:Caster type")) {
- case 1:
- mes "[Mayomayo]";
- mes "Ok. If you change your mind, let me know.";
- close;
- case 2:
- set .@enc_type,1;
- break;
- case 3:
- set .@enc_type,2;
- break;
- case 4:
- set .@enc_type,3;
- break;
- }
- }
- else {
- mes "[Mayomayo]";
- mes "You don't have enough coin. Do you want to check again?";
- close;
- }
- break;
- }
- }
- if (.@sc_type < 4) {
- set .@sc_num,4;
- mes "[Mayomayo]";
- mes "I'm trying to reinforce the 1st ability. ^ff0000It will not touch previous refinement and card. Also, any equipment will not be destroyed.^000000 Can I continue";
- next;
- if (select("I'll come back later:Please, continue") == 1) {
- mes "[Mayomayo]";
- mes "OK. If you change your mind, just come back again";
- close;
- }
- }
- else if (.@sc_type < 3) {
- set .@sc_num,3;
- mes "[Mayomayo]";
- mes "I'm trying to reinforce the 2nd ability. ^ff0000It will not touch previous refinement and card. Also, any equipment will not be destroyed.^000000 Can I continue";
- next;
- if (select("I'll come back later:Please, continue") == 1) {
- mes "[Mayomayo]";
- mes "OK. If you change your mind, just come back again";
- close;
- }
- }
- else {
- mes "[Mayomayo]";
- mes "This equipment is at the end of refienment. Please choose refinement ability initialization and you will be able to refine weapons again or just bring another weapon...";
- close;
- }
- if (.@enc_type == 10) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 101)) { set .@en_name,4787; }
- else if ((.@ran_e_m >= 101) && (.@ran_e_m < 201)) { set .@en_name,4792; }
- else if ((.@ran_e_m >= 201) && (.@ran_e_m < 301)) { set .@en_name,4801; }
- else if ((.@ran_e_m >= 301) && (.@ran_e_m < 351)) { set .@en_name,4795; }
- else if ((.@ran_e_m >= 351) && (.@ran_e_m < 401)) { set .@en_name,4796; }
- else if ((.@ran_e_m >= 401) && (.@ran_e_m < 451)) { set .@en_name,4819; }
- else if ((.@ran_e_m >= 451) && (.@ran_e_m < 476)) { set .@en_name,4720; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 501)) { set .@en_name,4740; }
- else if ((.@ran_e_m >= 501) && (.@ran_e_m < 526)) { set .@en_name,4750; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 528)) { set .@en_name,4700; }
- else if ((.@ran_e_m >= 528) && (.@ran_e_m < 530)) { set .@en_name,4730; }
- else if ((.@ran_e_m >= 530) && (.@ran_e_m < 532)) { set .@en_name,4710; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 9) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 101)) { set .@en_name,4795; }
- else if ((.@ran_e_m >= 101) && (.@ran_e_m < 201)) { set .@en_name,4796; }
- else if ((.@ran_e_m >= 201) && (.@ran_e_m < 301)) { set .@en_name,4819; }
- else if ((.@ran_e_m >= 301) && (.@ran_e_m < 351)) { set .@en_name,4720; }
- else if ((.@ran_e_m >= 351) && (.@ran_e_m < 401)) { set .@en_name,4740; }
- else if ((.@ran_e_m >= 401) && (.@ran_e_m < 451)) { set .@en_name,4750; }
- else if ((.@ran_e_m >= 451) && (.@ran_e_m < 476)) { set .@en_name,4700; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 501)) { set .@en_name,4730; }
- else if ((.@ran_e_m >= 501) && (.@ran_e_m < 526)) { set .@en_name,4710; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 528)) { set .@en_name,4701; }
- else if ((.@ran_e_m >= 528) && (.@ran_e_m < 530)) { set .@en_name,4731; }
- else if ((.@ran_e_m >= 530) && (.@ran_e_m < 532)) { set .@en_name,4711; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 8) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 101)) { set .@en_name,4720; }
- else if ((.@ran_e_m >= 101) && (.@ran_e_m < 201)) { set .@en_name,4740; }
- else if ((.@ran_e_m >= 201) && (.@ran_e_m < 301)) { set .@en_name,4750; }
- else if ((.@ran_e_m >= 301) && (.@ran_e_m < 351)) { set .@en_name,4700; }
- else if ((.@ran_e_m >= 351) && (.@ran_e_m < 401)) { set .@en_name,4730; }
- else if ((.@ran_e_m >= 401) && (.@ran_e_m < 451)) { set .@en_name,4710; }
- else if ((.@ran_e_m >= 451) && (.@ran_e_m < 476)) { set .@en_name,4701; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 501)) { set .@en_name,4731; }
- else if ((.@ran_e_m >= 501) && (.@ran_e_m < 526)) { set .@en_name,4711; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 528)) { set .@en_name,4702; }
- else if ((.@ran_e_m >= 528) && (.@ran_e_m < 530)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 530) && (.@ran_e_m < 532)) { set .@en_name,4712; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 7) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,531;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 101)) { set .@en_name,4700; }
- else if ((.@ran_e_m >= 101) && (.@ran_e_m < 201)) { set .@en_name,4730; }
- else if ((.@ran_e_m >= 201) && (.@ran_e_m < 301)) { set .@en_name,4710; }
- else if ((.@ran_e_m >= 301) && (.@ran_e_m < 351)) { set .@en_name,4701; }
- else if ((.@ran_e_m >= 351) && (.@ran_e_m < 401)) { set .@en_name,4731; }
- else if ((.@ran_e_m >= 401) && (.@ran_e_m < 451)) { set .@en_name,4711; }
- else if ((.@ran_e_m >= 451) && (.@ran_e_m < 476)) { set .@en_name,4702; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 501)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 501) && (.@ran_e_m < 526)) { set .@en_name,4712; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 528)) { set .@en_name,4703; }
- else if ((.@ran_e_m >= 528) && (.@ran_e_m < 530)) { set .@en_name,4733; }
- else if ((.@ran_e_m >= 530) && (.@ran_e_m < 532)) { set .@en_name,4713; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 6) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4711; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4721; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4814; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4712; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4722; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4813; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4713; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4812; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4760; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4714; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4826; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4761; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 5) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4731; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4833; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4817; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4834; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4816; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4733; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4835; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4807; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4734; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4836; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4807; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 4) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4731; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4808; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4817; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4820; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4816; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4733; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4821; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4807; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4734; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4822; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4807; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 3) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4712; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4722; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4813; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4713; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4812; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4760; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4714; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4826; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4761; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4715; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4827; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4761; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 2) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4834; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4843; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4733; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4835; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4844; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4734; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4836; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4807; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4735; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4837; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4807; }
- else { set .@en_name,9; }
- }
- else if (.@enc_type == 1) {
- if (.@sc_num == 4) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else if (.@sc_num == 3) {
- set .@en_brk1,1;
- set .@en_brk2,555;
- }
- else {
- mes "[Mayomayo]";
- mes "There is unknown problem. Let me check this out quickly.";
- close;
- }
- set .@ran_e_m,rand(.@en_brk1,.@en_brk2);
- if ((.@ran_e_m >= 1) && (.@ran_e_m < 81)) { set .@en_name,4732; }
- else if ((.@ran_e_m >= 81) && (.@ran_e_m < 161)) { set .@en_name,4820; }
- else if ((.@ran_e_m >= 161) && (.@ran_e_m < 241)) { set .@en_name,4843; }
- else if ((.@ran_e_m >= 241) && (.@ran_e_m < 311)) { set .@en_name,4733; }
- else if ((.@ran_e_m >= 311) && (.@ran_e_m < 371)) { set .@en_name,4821; }
- else if ((.@ran_e_m >= 371) && (.@ran_e_m < 431)) { set .@en_name,4844; }
- else if ((.@ran_e_m >= 431) && (.@ran_e_m < 476)) { set .@en_name,4734; }
- else if ((.@ran_e_m >= 476) && (.@ran_e_m < 516)) { set .@en_name,4822; }
- else if ((.@ran_e_m >= 516) && (.@ran_e_m < 526)) { set .@en_name,4807; }
- else if ((.@ran_e_m >= 526) && (.@ran_e_m < 546)) { set .@en_name,4735; }
- else if ((.@ran_e_m >= 546) && (.@ran_e_m < 551)) { set .@en_name,4823; }
- else if ((.@ran_e_m >= 551) && (.@ran_e_m < 556)) { set .@en_name,4807; }
- else { set .@en_name,9; }
- }
- else {
- mes "[Mayomayo]";
- mes "There is something wrong. Please try again";
- close;
- }
- if (.@sc_type < 4) { set .@cardname_4,.@en_name; }
- else if (.@sc_type < 3) {
- if (.@en_name == 0) {
- set .@cardname_3,.@en_name;
- set .@cardname_4,0;
- }
- else { set .@cardname_3,.@en_name; }
- }
- else if (.@sc_type < 2) {
- if (.@en_name == 0) {
- set .@cardname_2,.@en_name;
- set .@cardname_3,0;
- set .@cardname_4,0;
- }
- else { set .@cardname_2,.@en_name; }
- }
- else if (.@sc_type < 1) { set .@cardname_1,.@en_name; }
- else {
- mes "[Mayomayo]";
- mes "This equipment is at the end of refinement. I provide effect to maximum 2. Please, refer to this. ";
- next;
- mes "[Mayomayo]";
- mes "Surely I don't enchant at card socket, therefore the weapons that has socket 3 can be enchanted only 1 effect. Don't forget this~";
- close;
- }
- if (.@en_name == 9) {
- specialeffect EF_SUI_EXPLOSION;
- mes "[Mayomayo]";
- mes "Oh my god!";
- mes "This equipment is destroyed because it could not endure poweful ability. I'm so sorry.";
- delitem .@enc_cu1,.@enc_coin_wl;
- delitem .@enc_s_n,1;
- close;
- }
- else {
- specialeffect EF_REPAIRWEAPON;
- mes "[Mayomayo]";
- mes "I give ability at ^990000"+.@sc_num+" socket^000000 of this equipment";
- delitem .@enc_cu1,.@enc_coin_wl;
- delitem .@enc_s_n,1;
- getitem2 .@enc_s_n,1,1,.@compo_num,0,.@cardname_1,.@cardname_2,.@cardname_3,.@cardname_4;
- close;
- }
- if (.@sc_ec ==2) {
- if (.@enc_coin < 1) {
- mes "[Mayomayo]";
- mes "This equipment can not be initialized. Don't forget we only handle some luxury weapons including level 4 weapons~ ";
- close;
- }
- mes "[Mayomayo]";
- mes "I will only initialze the enchant effect without touching previous refinement rate and card? ";
- next;
- if (select("Stop:Continue") == 1) {
- mes "[Mayomayo]";
- mes "If you change mind, just come back anytime.";
- close;
- }
- if (countitem(6417) > 0) {
- set .@eq_num,4;
- set .@sc_eq_on,GetEquipIsIdentify(.@eq_num);
- if (.@sc_eq_on == 0) {
- mes "[Mayomayo]";
- mes "Are you taking off the equipment?";
- close;
- }
- set .@compo_name,getequipid(.@eq_num);
- set .@compo_num,GetEquipRefineryCnt(.@eq_num);
- set .@cardname_1,GetEquipcardID(.@eq_num,1);
- set .@cardname_2,GetEquipcardID(.@eq_num,2);
- set .@cardname_3,255;
- set .@cardname_4,255;
- if (.@compo_4 == 9) {
- mes "[Mayomayo]";
- mes "This equipment has nothing to initialze. Please check this again.";
- close;
- }
- specialeffect EF_REPAIRWEAPON;
- mes "[Mayomayo]";
- mes "Initialize the enchant effect from the equipment.";
- delitem 6417,1;
- delitem .@enc_s_n,1;
- getitem2 .@enc_s_n,1,1,.@compo_num,0,.@cardname_1,.@cardname_2,.@cardname_3,.@cardname_4;
- close;
- }
- else {
- mes "[Mayomayo]";
- mes "I'm sorry. You don't have Silvervine Fruit. Please check you inventory again?";
- close;
- }
- }
- else {
- mes "[Mayomayo]";
- mes "You choose something wrong";
- close;
- }
- }
- //------------------------------------------------------------
- //! Socket separator NPC.
- malangdo,215,166,4 script Jeremy 555,{
- if (checkweight(1201,1) == 0) {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects.";
- close;
- }
- if (MaxWeight-Weight<10000)
- {
- mes "Can't continue because you have too heavy object. Let's try to continue after reducing the weigh.";
- close;
- }
- set .@sc_head1,getequipid(1);
- set .@sc_body,getequipid(2);
- //set .@sc_l,getequipid(3);
- //set .@sc_r,getequipid(4);
- set .@sc_robe,getequipid(5);
- set .@sc_shoes,getequipid(6);
- //set .@sc_ac1,getequipid(7);
- //set .@sc_ac2,getequipid(8);
- set .@sel_body$,.@sc_body!=-1 ? GetItemName(.@sc_body) : "^999999Amor (No)^000000";
- set .@sel_shoes$,.@sc_shoes!=-1 ? GetItemName(.@sc_shoes) : "^999999Shoes (No)^000000";
- set .@sel_robe$,.@sc_robe!=-1 ? GetItemName(.@sc_robe) : "^999999Garment (No)^000000";
- set .@sel_head1$,.@sc_head1!=-1 ? GetItemName(.@sc_head1) : "^999999Helm (No)^000000";
- mes "[Jeremy]";
- mes "Long time no see~";
- mes "I have learned new skill that is separation of upper, shoes, garment and headgear. Do you want to try this?";
- next;
- mes "[Jeremy]";
- mes "Generally the fee is 1,000,000 Zeny. During separation socket work, you can use ^990000special item that reduces the rate of destrying equipmet or card^000000. We don't charge additional zeny for this.";
- next;
- mes "[Jeremy]";
- mes "There is possibility of destroying when do not use special item. Also ^ff0000The rate of refinement might be lost^000000 without reference to using. Do you have any part to separate?";
- next;
- set @eqcheck,-1;
- switch(select("Stop the work:How does it possible?:"+.@sel_body$+":"+.@sel_shoes$+":"+.@sel_robe$+":"+.@sel_head1$)) {
- case 1:
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- case 2:
- mes "[Jeremy]";
- mes "You wonder that is so specail. Well I hate to speak just guide so let me tell you about that story";
- next;
- mes "^000099Jeremy is stretching his shoulder and hands. He might be waiting for someone who talk with him.^000000";
- next;
- mes "[Jeremy]";
- mes "Do you know the Malangdo's specialty is caned food?";
- if (select("I knew that well.:Is that limited?") == 2) {
- next;
- mes "[Jeremy]";
- mes "Hehe... Everyone loves that. Well but there was some problems before";
- if (select("Problem?:Is there any faulty fish?") == 2) {
- next;
- mes "[Jeremy]";
- mes "No fish does not have any problem. The problem is lots of fish oil that is produced after process. TThat is such a industrial wasta.";
- next;
- mes "[Jeremy]";
- mes "However, after revitalize a refining process, this fish oil became a valuable to use at old equipment care and industrial lubricant";
- next;
- mes "[Jeremy]";
- mes "In addition, this oil is so usefull to separate relic from the equiped weapons that is why we can't buy High RankLubricant and General Lubricant by Zeny.";
- next;
- mes "[Jeremy]";
- mes "Well don't worry about money. Surely the High Rank Lubricant is expensive. If you pay some zeny, I can give you used cheaper lubricant.";
- next;
- mes "[Jeremy]";
- mes "I'm not sure about the quality to success. Anyway this is so cheap right?";
- }
- }
- close;
- case 3:
- set @eqcheck,.@sc_body;
- set .@eq_num,2;
- break;
- case 4:
- set @eqcheck,.@sc_shoes;
- set .@eq_num,6;
- break;
- case 5:
- set @eqcheck,.@sc_robe;
- set .@eq_num,5;
- break;
- case 6:
- set @eqcheck,.@sc_head1;
- set .@eq_num,10;
- break;
- }
- if (@eqcheck==-1)
- {
- mes "[Jeremy]";
- mes "In this part, there is nothing?";
- close;
- }
- //------- Checking the armor cards --------
- set .@compo_name,GetEquipName(.@eq_num);
- set .@compo_num,GetEquipRefineryCnt(.@eq_num);
- set .@cardname_1,GetEquipcardID(.@eq_num,0);
- if (!.@cardname_1 || .@cardname_1==255 || .@cardname_1==254)
- {
- mes "[Jeremy]";
- mes "The card is not equiped. Do you want to check again?";
- close;
- }
- //------- Boss cards database -------- Converted to switch for performance upgrade.
- switch(.@cardname_1)
- {
- case 4408: //Gloom_Under_Night_Card
- case 4128: //Golden_Bug_Card
- case 4456: //Nidhogg_Shadow_Card
- case 4168: //Dark_Lord_Card
- case 4142: //Doppelganger_Card
- case 4134: //Dracula_Card
- case 4137: //Drake_Card
- case 4386: //Detale_Card
- case 4407: //Randgris_Card
- case 4357: //B_Seyren_Card
- case 4146: //Maya_Card
- case 4132: //Mistress_Card
- case 4147: //Baphomet_Card
- case 4372: //Bacsojin_Card
- case 4145: //Berzebub_Card
- case 4374: //Apocalips_H_Card
- case 4352: //B_Ygnizem_Card
- case 4367: //B_Shecil_Card
- case 4236: //Amon_Ra_Card
- case 4425: //Atroce_Card
- case 4359: //B_Eremes_Card
- case 4123: //Eddga_Card
- case 4144: //Osiris_Card
- case 4135: //Orc_Load_Card
- case 4143: //Orc_Hero_Card
- case 4263: //Incant_Samurai_Card
- case 4131: //Moonlight_Flower_Card
- case 4430: //Ifrit_Card
- case 4276: //Lord_Of_Death_Card
- case 4419: //Ktullanux_Card
- case 4403: //Kiel_Card
- case 4399: //Thanatos_Card
- case 4376: //Lady_Tanee_Card
- case 4441: //Fallen_Bishop_Card
- case 4302: //Tao_Gunka_Card
- case 4305: //Turtle_General_Card
- case 4148: //Pharaoh_Card
- case 4318: //Knight_Windstorm_Card
- case 4121: //Phreeoni_Card
- case 4365: //B_Katrinn_Card
- case 4363: //B_Magaleta_Card
- case 4324: //Garm_Card
- case 4361: //B_Harword_Card
- case 4330: //Dark_Snake_Lord_Card
- case 4342: //Rsx_0806_Card
- case 4198: //Maya_Puple_Card 漕徉忤?
- set .@boss_chk,1;
- break;
- default:
- set .@boss_chk,0;
- }
- if(zeny<1000000) { set .@cr_m1$,"^999999Use 1,000,000z (short)^000000"; }
- else { set .@cr_m1$,"Use 1,000,000z (Do not use special item)"; }
- if(countitem(6440)<1) { set .@cr_m2$,"^999999"+getitemname(6440)+" (No)^000000"; }
- else { set .@cr_m2$,"Use "+getitemname(6440)+""; }
- if(countitem(6441)<1) { set .@cr_m3$,"^999999"+getitemname(6441)+" (No)^000000"; }
- else { set .@cr_m3$,"Use "+getitemname(6441)+""; }
- if(!.@boss_chk)
- {
- mes "[Jeremy]";
- mes "Except cards, ^ff0000all enchanted part will be disappeared.^000000 If you agree this, please choose the work fee.";
- next;
- switch(select("Next time...:"+.@cr_m1$+":"+.@cr_m2$+":"+.@cr_m3$))
- {
- case 1:
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- case 2:
- mes "[Jeremy]";
- mes "This is pretty old equipment. There is high rate to destroying card or equipment during the work. Are you sure to continue?";
- next;
- if (select("Next time...:Continue") == 1)
- {
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- }
- if (zeny<1000000)
- {
- mes "[Jeremy]";
- mes "You don't have enough zeny to using fee. Please come back with enough fee";
- close;
- }
- else
- {
- set .@sf_c_num,150;
- set .@sf_r_num,150;
- set .@sf_w_num,150;
- set zeny,zeny-1000000;
- }
- break;
- case 3:
- mes "[Jeremy]";
- mes "If you use the "+getitemname(6440)+", rate of destruction will be descresed highly but I can't give you 100% guarantee. Are you sure to continue?";
- next;
- if (select("Next time...:Continue") == 1)
- {
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- }
- if (countitem(6440) > 0)
- {
- set .@sf_c_num,75;
- set .@sf_r_num,75;
- set .@sf_w_num,75;
- delitem 6440,1;
- }
- else
- {
- mes "[Jeremy]";
- mes "You don't possess "+getitemname(6440)+"";
- close;
- }
- break;
- case 4:
- mes "[Jeremy]";
- mes "If you use the "+getitemname(6441)+", rate of destruction will be descresed highly but I can't give you 100% guarantee. Are you sure to continue?";
- next;
- if (select("Next time...:Continue") == 1)
- {
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- }
- if (countitem(6441) > 0) {
- set .@sf_c_num,75;
- set .@sf_r_num,150;
- set .@sf_w_num,150;
- delitem 6441,1;
- }
- else
- {
- mes "[Jeremy]";
- mes "You don't possess "+getitemname(6441)+"";
- close;
- }
- }
- }
- else if (.@boss_chk == 1)
- {
- mes "[Jeremy]";
- mes "This equipmet has precious boss card. This card can't be separated by lubricant. If you bring the super surfactant ^0000ffSillit Pong^000000, I will be able to work.";
- next;
- switch(select("Next time...:I have a Sillit Pong"))
- {
- case 1:
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- case 2:
- if (countitem(6443)<1) // Sillit_Pong_Bottle
- {
- mes "[Jeremy]";
- mes "You don't possess Sillit Pong.";
- close;
- }
- }
- mes "[Jeremy]";
- mes "Except cards, ^ff0000all enchanted part will be disappeared.^000000 If you agree this, please choose the work fee.?";
- next;
- switch(select("Next time...:Alright let's do it!"))
- {
- case 1:
- mes "[Jeremy]";
- mes "Whenever You need to work, just visit here.";
- close;
- case 2:
- if (countitem(6443)>0) // Sillit_Pong_Bottle
- {
- set .@sf_c_num,60;
- set .@sf_r_num,60;
- set .@sf_w_num,60;
- delitem 6443,1;
- }
- else
- {
- mes "[Jeremy]";
- mes "You don't possess Sillit Pong.";
- close;
- }
- }
- }
- /* else - never executed in normal way.
- {
- mes "[Jeremy]";
- mes "Uh! it is time to eat. Please come back again for a while?";
- close;
- }*/
- set .@fn_r,rand(1,.@sf_r_num); // Chance to save refinement.
- set .@fn_w,rand(1,.@sf_w_num); // Chance to save item.
- set .@compo_name,GetEquipid(.@eq_num);
- set .@compo_num,GetEquipRefineryCnt(.@eq_num);
- set .@cardname_1,GetEquipcardID(.@eq_num,0);
- set .@cardname_2,GetEquipcardID(.@eq_num,1);
- set .@cardname_3,GetEquipcardID(.@eq_num,2);
- set .@cardname_4,GetEquipcardID(.@eq_num,3);
- delitem2 .@compo_name,1,1,.@compo_num,0,.@cardname_1,.@cardname_2,.@cardname_3,.@cardname_4;
- if (.@fn_r > 60) set .@compo_num,0;
- if (.@fn_w < 61) getitem2 .@compo_name,1,1,.@compo_num,0,0,0,0,0;
- if (.@cardname_1>2)
- {
- set .@fn_c1,rand(1,.@sf_c_num);
- if (.@fn_c1<61) getitem .@cardname_1,1;
- }
- if (.@cardname_2>2)
- {
- set .@fn_c2,rand(1,.@sf_c_num);
- if (.@fn_c2 < 61) getitem .@cardname_2,1;
- }
- if (.@cardname_3>2)
- {
- set .@fn_c3,rand(1,.@sf_c_num);
- if (.@fn_c3 < 61) getitem .@cardname_3,1;
- }
- if (.@cardname_4 > 2)
- {
- set .@fn_c4,rand(1,.@sf_c_num);
- if (.@fn_c4 < 61) getitem .@cardname_4,1;
- }
- //------ Effects ---------
- if(.@fn_w>60 && .@fn_c1>60) specialeffect2 EF_LORD;
- else if(.@fn_w < 61 && .@fn_c1 > 60) specialeffect2 EF_SUI_EXPLOSION;
- else if(.@fn_w > 60 && .@fn_c1 < 61) specialeffect2 EF_FIREPILLAR;
- else specialeffect2 EF_MAXPOWER;
- //------ End of effects ---------
- if (.@fn_w > 60)
- {
- mes "-- Estimate of socket separation --";
- mes "Crack is occured during the card separation from socket";
- mes "Equipmet has damage. ^ff0000Unrecoverable^000000";
- mes "-------------------";
- }
- else
- {
- mes "-- Estimate of socket separation --";
- mes "Crack is not occured during the card separation from socket";
- mes "^0000ffEquipment separation is normal^000000";
- mes "-------------------";
- }
- if (.@fn_c1 > 60)
- {
- mes "Errosion of surface is occured during the card separation from socket";
- mes "Card has damage. ^ff0000Unrecoverable^000000";
- next;
- }
- else
- {
- mes "Errosion of surface is not occured during the card separation from socket";
- mes "^0000ffCard separation is succeed^000000";
- next;
- }
- mes "[Jeremy]";
- mes "That is all for the result of socket separation. Please use again";
- close;
- }
- //------------------------------------------------------------
- //! Coin Exchange NPC.
- malangdo,220,167,5 script Coin exchanger CX-1 564,{
- if (checkweight(1201,1) == 0) {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects.";
- close;
- }
- if (MaxWeight-Weight<1000)
- {
- mes "Can't continue because you have too heavy object. Let's try to continue after reducing the weigh.";
- close;
- }
- mes "[Coin exchanger CX-1]";
- mes "Welcome to CX-1. If you have coin, you can exchange to high or low grade coin.";
- next;
- //---------------- Coin variables definitions -----------------
- for(set @i,1; @i<=6; set @i,@i+1)
- {
- set @item,6417+@i-1;
- if(countitem(@item)>0)
- {
- set .@coin_ss[@i],@item;
- set .@coin_ts$[@i],getitemname(@item);
- }
- else
- {
- set .@coin_ss[@i],0;
- set .@coin_ts$[@i],"^aaaaaa"+GetItemName(@item)+" (None)^000000";
- }
- }
- set .@coin_ts$[0],"Stop";
- //---------------- Coin cathegory definition -----------------
- set @ch,select(Implode(.@coin_ts$,":"));
- if(@ch==1)
- {
- mes "[Coin exchanger CX-1]";
- mes "Thank you for using.";
- close;
- }
- else set .@coin_s_db,.@coin_ss[@ch-1];
- //---------------- Exchange stop condition -----------------
- if (!.@coin_s_db)
- {
- mes "[Coin exchanger CX-1]";
- mes "You choose coin that you don't possess.";
- mes "Stop the work. Thank you for using.";
- close;
- }
- //---------------- Determining value of a coin -----------------
- setarray @udb[1],0,0,6418,6419,6420,6421;
- setarray @ddb[1],6418,6419,6420,6421,6422,0;
- set .@coin_name,.@coin_s_db;
- set .@coin_udb,@udb[@ch-1];
- set .@coin_dbb,@ddb[@ch-1];
- /* else { -- Never executed (invalid @ch value)!
- mes "[Coin exchanger CX-1]";
- mes "You don't choose correct menu.";
- mes "close; this work. Thank you for using.";
- close;
- }*/
- //---------------- Exchange rates definition -----------------
- mes "[Coin exchanger CX-1]";
- mes "----Rate of exchange----";
- mes "Higher exchanging - 30 to 10";
- mes "Lower exchanging - 10 to 30";
- mes "----------------";
- mes "^ff3333When you exchange, we charge the fee according to current market price^000000";
- next;
- set .@coin_uc1$,"^aaaaaaExchange to high Coin(short)^000000";
- set .@coin_dc1$,"^aaaaaaExchange to Low Coin(short)^000000";
- if (countitem(.@coin_s_db) >= 30) set .@coin_uc1$,"Exchange to high Coin - " + GetItemName(.@coin_name) + "(30 needed)";
- if (countitem(.@coin_s_db) >= 10) set .@coin_dc1$,"Exchange to Low Coin - " + GetItemName(.@coin_name) + "(10 needed)";
- if (.@coin_udb == 0) set .@coin_uc1$,"^ff3333Unavailable exchange to High Coin^000000";
- if (.@coin_ddb == 0) set .@coin_dc1$,"^ff3333Unavailable exchange to Low Coin^000000";
- switch(select("Stop:"+.@coin_uc1$+":"+.@coin_dc1$))
- {
- case 1:
- mes "[Coin exchanger CX-1]";
- mes "Thank you for using.";
- close;
- case 2:
- if (.@coin_udb == 0) {
- mes "[Coin exchanger CX-1]";
- mes "This coin is not available to exchange High Coiin.";
- mes "Stop the work. Thank you for using.";
- close;
- }
- else {
- if (countitem(.@coin_s_db) >= 30) {
- set .@c_back,rand(1,2);
- set .@ge_coin,.@coin_udb;
- set .@dr_coin,.@coin_s_db;
- set .@ge_num,(10 - .@c_back);
- set .@dr_num,30;
- set .@coin_cha$,"High";
- }
- else {
- mes "[Coin exchanger CX-1]";
- mes "You don't have enough coin to exchange High Coin.";
- mes "Stop the work. Thank you for using.";
- close;
- }
- }
- break;
- case 3:
- if (.@coin_ddb == 0)
- {
- mes "[Coin exchanger CX-1]";
- mes "This coin is not available to exchange Low Coin.";
- mes "Stop the work. Thank you for using.";
- close;
- }
- else {
- if (countitem(.@coin_s_db) >= 10) {
- set .@c_back,rand(1,4);
- set .@ge_coin,.@coin_ddb;
- set .@dr_coin,.@coin_s_db;
- set .@ge_num,(30 - .@c_back);
- set .@dr_num,10;
- set .@coin_cha$,"Low";
- }
- else {
- mes "[Coin exchanger CX-1]";
- mes "You don't have enough coin to exchange Low Coin.";
- mes "Stop the work. Thank you for using.";
- close;
- }
- }
- break;
- }
- //----------------- Authentic coin cost drop
- delitem .@dr_coin,.@dr_num;
- getitem .@ge_coin,.@ge_num;
- mes "[Coin exchanger CX-1]";
- mes "^003399" + .@dr_num + " ^000000unit(s) ^003399 " + GetItemName(.@coin_name) + "^000000 is taken";
- mes "I exchanged into ^003399" + .@coin_cha$ + " Coin^000000, after deduct ^003399" + .@c_back + "^000000unit(s), remain ^003399" +
- .@ge_num + "^000000 unit(s).";
- // mes "^003399" + GetItemName(.@coin_name) + "^000000 ^003399" + .@dr_num + "^000000 take";
- // mes "I exchanged ^003399" + .@coin_cha$ + " Coin^000000 except Charge for the exchange^003399" + .@c_back + "^000000, ^003399" + .@ge_num + "^000000.";
- close;
- }
- //------------------------------------------------------------
- //! Special Vending Machine CX-82.
- malangdo,218,165,5 script Special vending machine 562,{
- if (checkweight(1201,1) == 0) {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects.";
- close;
- }
- mes "[Special vending machine]";
- mes "Welcome to CX-82. You have a Silvervine Fruit so, you can purchase the Malangdo Specialty that has special ability.";
- next;
- //---------------- Coin cathegory determining -----------------
- set @ch,select("Help:Ptotection Seagod 23 hours:Ptotection Seagod 7 days:Ptotection Seagod 15 days:Octo Hstick 23 hours:Octo Hstick 3 days:Octo Hstick 7 days:High RankLubricant:General Lubricant:Sillit Pong Bottle");
- if(@ch==1)
- {
- mes "[Special vending machine]";
- mes "Protection Of Seagod is an item used for entering to Culvert memorial dungeon during a certain period.";
- next;
- mes "[Special vending machine]";
- mes "Protection Of Seagod is an item used for entering to Culvert memorial dungeon during a certain period.";
- next;
- mes "[Special vending machine]";
- mes "High rank lubricant and general lubricant is item that using for separation of equipment and card. If you visit specialist Jeremy with that item, he will explain more details of effect.";
- next;
- mes "[Special vending machine]";
- mes "Sillit Pong is special item that separate socket of boss card. Unable to separate boss card by high rank lubricant and general lubricant.";
- close;
- }
- // ASSERT_BOUND(@ch,1,10);
- setarray @items[2],16740,16763,16764,16765,16766,16767,6441,6440,6443;
- setarray @cashs[2],4,12,24,2,5,10,56,36,192;
- set .@ven_db,@items[@ch];
- set .@ven_cash,@cashs[@ch];
- //---------------- Exchange stop conditions -----------------
- mes "[Special vending machine]";
- mes "You choose ^005500" + GetItemName(.@ven_db) + "^000000. For purchasing, you need a Silvervine Fruit for ^005500"+
- .@ven_cash + "^000000 unit(s).";
- next;
- if (countitem(6417)<.@ven_cash) // Silvervine
- set .@ven_menu$,"^999999Silvervine Fruit (Less than " + (.@ven_cash-countitem(6417)) + ")^000000";
- else
- set .@ven_menu$,"Purchase - Silvervine Fruit (Having " + countitem(6417) + ")";
- switch(select("Stop:"+.@ven_menu$))
- {
- case 1:
- mes "[Special vending machine]";
- mes "Thank you for using.";
- close;
- case 2:
- if(countitem(6417)<.@ven_cash)
- {
- mes "[Special vending machine]";
- mes "Not enought Silvervine Fruit";
- mes "Close the transaction.";
- mes "Thank you for using.";
- close;
- }
- else
- {
- mes "[Special vending machine]";
- mes "The transaction is completed. Thank you for using.";
- delitem 6417,.@ven_cash;
- getitem .@ven_db,1;
- close;
- }
- }
- }
- //------------------------------------------------------------
- //! Daily Malangdo Dungeon Quest.
- mal_in01,172,28,3 script Albo#pa0829 561,{
- if (checkweight(1201,1) == 0) {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects";
- close;
- }
- if (MaxWeight-Weight<1000)
- {
- mes "Can't continue because you have too heavy object. Let's try to continue after reducing the weigh.";
- close;
- }
- if (BaseLevel<90)
- {
- mes "[Albo]";
- mes "Who are you! we don't need a weaking!!";
- close;
- }
- // ---------- Setup of working variables.
- set .@dq_ts1$,"^aaaaaaCan't take this job because level is too low^000000";
- set .@dq_ts2$,"^aaaaaaCan't take this job because level is too low^000000";
- set .@dq_ts3$,"^aaaaaaCan't take this job because level is too low^000000";
- set .@dq_ts4$,"^aaaaaaCan't take this job because level is too low^000000";
- set .@dq_lv1,0;
- set .@dq_lv2,0;
- set .@dq_lv3,0;
- set .@dq_lv4,0;
- if (BaseLevel > 139)
- {
- set .@dq_ts1$,"General Culvert single day service";
- set .@dq_ts2$,"^990000Hard Culvert single day service^000000";
- set .@dq_ts3$,"General Culvert weekly service";
- set .@dq_ts4$,"^990000Hard Culvert weekly service^000000";
- set .@dq_lv1,1;
- set .@dq_lv2,1;
- set .@dq_lv3,1;
- set .@dq_lv4,1;
- }
- else //if (BaseLevel < 140)
- {
- set .@dq_ts1$,"General Culvert single day service";
- set .@dq_ts3$,"General Culvert weekly service";
- set .@dq_lv1,1;
- set .@dq_lv3,1;
- }
- set .@m_client1,checkquest(12271,PLAYTIME);
- if (.@m_client1 >= 0)
- {
- set .@dq_ts1$,"^aaaaaa- There is no next work -^000000";
- set .@dq_lv1,2;
- }
- set .@m_client2,checkquest(12272,PLAYTIME);
- if (.@m_client2 >= 0)
- {
- set .@dq_ts2$,"^aaaaaa- There is no next work -^000000";
- set .@dq_lv2,2;
- }
- set .@m_client3,checkquest(12273,PLAYTIME);
- if (.@m_client3 >= 0)
- {
- set .@dq_ts3$,"^aaaaaa- There is no next work -^000000";
- set .@dq_lv3,2;
- }
- set .@m_client4,checkquest(12274,PLAYTIME);
- if (.@m_client4 >= 0)
- {
- set .@dq_ts4$,"^aaaaaa- There is no next work -^000000";
- set .@dq_lv4,2;
- }
- // ---------- End of variables setup
- mes "[Albo]";
- mes "We cross the sea!";
- mes "We are great hero of Culvert! We do not forgive seafood that aim at Culvert!";
- next;
- set @ch,select("Why are doing this job?:"+.@dq_ts1$+":"+.@dq_ts2$+":"+.@dq_ts3$+":"+.@dq_ts4$+"");
- if(@ch==1)
- {
- mes "[Albo]";
- mes "We are used be henchmen of Mr. Missing! We almost became guard of historic site ";
- next;
- mes "[Albo]";
- mes "However, When sea water flooded all precious resources,my dream.. all dreams melt away..";
- next;
- mes "[Albo]";
- mes "We do not forgive seafood that invaded our territory. I'll eat them with spice paste!!!";
- next;
- mes "^0000ffAldo's voice was shaking with angero. Whken he speaks spice paste, he smack his lips.^000000";
- close;
- }
- setarray @qlvls[2],.@dq_lv1,.@dq_lv2,.@dq_lv3,.@dq_lv4;
- set .@dq_lv,@qlvls[@ch];
- set .@dq_select,0;
- if(.@dq_lv==1)
- set .@dq_select,@ch-1;
- else if (.@dq_lv == 2)
- {
- mes "[Albo]";
- mes "I'm sorry. there is not next work yet! If I find any work, I'll tell you so, just do your job!";
- close;
- }
- else
- {
- mes "[Albo]";
- mes "That work is really hard to you that is why I can't tell you about it. Why don't you find another work?";
- close;
- }
- if (.@dq_select == 1)
- {
- set .@tut_13,rand(1,6);
- if (.@tut_13 == 1)
- {
- setquest 12255;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea crab ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea crab ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 2)
- {
- setquest 12256;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea suqid ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea squid ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 3)
- {
- setquest 12257;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffancient crustacean ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500ancient crustacean ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 4)
- {
- setquest 12258;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea shell fish ^000000a and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea shell fish ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 5)
- {
- setquest 12259;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffancient kukre ^000000 and raise our voice! ";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500ancient kukre ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else
- {
- setquest 12260;
- setquest 12271;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea conch ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea conch ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- }
- else if (.@dq_select == 2)
- {
- set .@tut_13,rand(1,6);
- if (.@tut_13 == 1) {
- setquest 12261;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea horse ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea horse ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 2) {
- setquest 12262;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffancient sword fish ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500ancient sword fish ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 3) {
- setquest 12263;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffancient sea god ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500ancient sea god ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 4) {
- setquest 12264;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffmutation anolian ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500mutation anolian ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 5) {
- setquest 12265;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000ffdeep sea mermaid ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500deep sea mermaid ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else {
- setquest 12266;
- setquest 12272;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a date of extermination ^0000fftransformable kapha ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "Common heros! Don't be afraid of them just come over here! It is just oneday!";
- next;
- mes "Receive the extermination ^005500transformable kapha ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- }
- else if (.@dq_select == 3)
- {
- set .@tut_13,rand(1,2);
- if (.@tut_13 == 1) {
- setquest 12267;
- setquest 12273;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a week of extermination ^0000ffweird coelacanth ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "I'll give you just one week to finish this job! Termiante all of them normal mode in Culvert dungeon!";
- next;
- mes "Receive the extermination ^005500weird coelacanth ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else {
- setquest 12268;
- setquest 12273;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a week of extermination ^0000ffdark coelacanth ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "I'll give you just one week to finish this job! Termiante all of them normal mode in Culvert dungeon!";
- next;
- mes "Receive the extermination ^005500dark coelacanth ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- }
- else if (.@dq_select == 4)
- {
- set .@tut_13,rand(1,2);
- if (.@tut_13 == 1) {
- setquest 12269;
- setquest 12274;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a week of extermination ^0000ffCruel coelacanth ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "I'll give you just one week to finish this job! Termiante all of them hard mode in Culvert dungeon!";
- next;
- mes "Receive the extermination ^005500Cruel coelacanth ^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else if (.@tut_13 == 2) {
- setquest 12270;
- setquest 12274;
- mes "[Albo]";
- mes "Today, the hero of Culvert";
- mes "We set a week of extermination ^0000ffmutation coelacanth ^000000 and raise our voice!";
- next;
- mes "[Albo]";
- mes "I'll give you just one week to finish this job! Termiante all of them hard mode in Culvert dungeon!";
- next;
- mes "Receive the extermination ^005500mutation coelacanth^000000 request. If you need more detail, please check the quest window.";
- close;
- }
- else {
- mes "[Albo]";
- mes "Uh!? Where is the work? Let me find that quickly. You just speak with Madeca!";
- close;
- }
- }
- }
- //------------------------------------------------------------
- mal_in01,172,26,2 script Madeca 544,{
- if (checkweight(1201,1) == 0)
- {
- mes "You have too many kinds of object. Let's try to continue after reducing those objects.";
- close;
- }
- if (MaxWeight-Weight < 1000)
- {
- mes "Can't continue because you have too heavy object. Let's try to continue after reducing the weigh.";
- close;
- }
- if (BaseLevel < 89)
- {
- mes "[Madeca]";
- mes "Karrrrrrr!!";
- mes "Let's have some bad seafood that can be boiled or grilled!";
- next;
- mes "[Madeca]";
- mes "Well, Who are you! You are such a totterer so you seem to be died by seaweed!";
- close;
- }
- mes "[Madeca]";
- mes "Um?";
- mes "You are the guy who take care of Big brother Albo's request. have a hard job!";
- next;
- set @ch,select("What are doing here?:General Culvert 1 day service compensation:Hard Culvert 1 day service compensation:"+
- "General Culvert weekly service compensation:Hard Culvert weekly service compensation");
- if(@ch==1)
- {
- mes "[Madeca]";
- mes "I'm here to subserve Big brother Albo!";
- next;
- mes "[Madeca]";
- mes "We provide some precious stuff to Human who makes sludge from bad seafood in the Culvert!";
- next;
- mes "[Madeca]";
- mes "We provide A~B coin for compensation of single day service. We provide precious Anger Seagod for compensation of weekly service.";
- next;
- mes "[Madeca]";
- mes "If you take care of request of Big brother Albo, I will see you very often so, let's stay close;!";
- close;
- }
- mes "[Madeca]";
- mes "I can't give you compensation to expired request so, let me check there is any expired request or not.";
- next;
- specialeffect2 EF_SPHERE;
- progressbar "ffff00",3;
- specialeffect2 EF_STEAL;
- set .@m_client1,checkquest(12271,PLAYTIME);
- set .@m_client2,checkquest(12272,PLAYTIME);
- set .@m_client3,checkquest(12273,PLAYTIME);
- set .@m_client4,checkquest(12274,PLAYTIME);
- switch(@ch)
- {
- case 2: // General 1 day service...
- if (.@m_client1 > 1)
- {
- //if (.@m_client2 == 3) { recall_completequest 12271; } // Hmm, checking m_client2 for 12271 quest??? It is like a bug!
- erasequest 12255;
- erasequest 12256;
- erasequest 12257;
- erasequest 12258;
- erasequest 12259;
- erasequest 12260;
- erasequest 12271;
- mes "[Madeca]";
- mes "Um, I'm sorry. You exceed lots of time! I can't give you the pay!";
- }
- else
- {
- setarray @names$[0],"deep sea crab","deep sea squid","ancient crustacean","deep sea shell fish","ancient kukre","deep sea conch";
- for(set @i,12255; @i<=12260; set @i, @i+1)
- {
- set .@m_hunt1,checkquest(@i,HUNTING);
- if (.@m_hunt1 == 2)
- {
- mes "[Madeca]";
- mes "There is chance to punish ^0000ff"+@names$[@i-12255]+"^000000!. Anyway Just take your pay!";
- erasequest @i;
- specialeffect2 EF_STEAL;
- //getexp 0; -- what it is supposed to do???
- getitem 6419,2; // Bgrade_Coin
- close;
- }
- }
- mes "[Madeca]";
- mes "Um! I can't see any completed mission!";
- }
- close;
- case 3: // Hard 1day service...
- if (.@m_client2 > 1)
- {
- //if (.@m_client2 == 3) { recall_completequest 12272; }
- erasequest 12261;
- erasequest 12262;
- erasequest 12263;
- erasequest 12264;
- erasequest 12265;
- erasequest 12266;
- erasequest 12272;
- mes "[Madeca]";
- mes "Um, I'm sorry. You exceed lots of time! I can't give you the pay!";
- }
- else
- {
- setarray @names$[0],"deep sea horse","ancient sword fish","ancient sea god","mutation anolian","deep sea mermaid","transformable kapha";
- for(set @i,12261; @i<=12266; set @i, @i+1)
- {
- set .@m_hunt1,checkquest(@i,HUNTING);
- if (.@m_hunt1 == 2)
- {
- mes "[Madeca]";
- mes "There is chance to punish ^0000ff"+@names$[@i-12261]+"^000000!. Anyway Just take your pay!";
- erasequest @i;
- specialeffect2 EF_STEAL;
- //getexp 0; -- what it is supposed to do???
- getitem 6418,1; // Agrade_Coin
- close;
- }
- }
- mes "[Madeca]";
- mes "Um! I can't see any completed mission!!";
- }
- close;
- case 4: // General 7day service...
- if (.@m_client3 > 1)
- {
- //if (.@m_client2 == 3) { recall_completequest 12273; } // This is bug too. :)
- erasequest 12267;
- erasequest 12268;
- erasequest 12273;
- mes "[Madeca]";
- mes "Um, I'm sorry. You exceed lots of time! I can't give you the pay!";
- }
- else
- {
- setarray @names$[0],"weird coelacanth","Dark coelacanth";
- for(set @i,12267; @i<=12268; set @i, @i+1)
- {
- set .@m_hunt1,checkquest(@i,HUNTING);
- if (.@m_hunt1 == 2)
- {
- mes "[Madeca]";
- mes "There is chance to punish ^0000ff"+@names$[@i-12267]+"^000000!. Anyway Just take your pay!";
- erasequest @i;
- specialeffect2 EF_STEAL;
- //getexp 0; -- what it is supposed to do???
- getitem 6423,1; // Anger_Seagod
- close;
- }
- }
- mes "[Madeca]";
- mes "Um! I can't see any completed mission!";
- }
- close;
- case 5: // Hard 7day service...
- if (.@m_client4 > 1)
- {
- //if (.@m_client2 == 3) { recall_completequest 12274; } // bug
- erasequest 12269;
- erasequest 12270;
- erasequest 12274;
- mes "[Madeca]";
- mes "Um, I'm sorry. You exceed lots of time! I can't give you the pay!";
- }
- else
- {
- setarray @names$[0],"Cruel coelacanth","mutant coelacanth";
- for(set @i,12269; @i<=12270; set @i, @i+1)
- {
- set .@m_hunt1,checkquest(@i,HUNTING);
- if (.@m_hunt1 == 2)
- {
- mes "[Madeca]";
- mes "There is chance to punish ^0000ff"+@names$[@i-12269]+"^000000!. Anyway Just take your pay!";
- erasequest @i;
- specialeffect2 EF_STEAL;
- //getexp 0; -- what it is supposed to do???
- getitem 6423,5; // Anger_Seagod
- close;
- }
- }
- mes "[Madeca]";
- mes "Um! I can't see any completed mission!";
- }
- close;
- /* default: -- Never executed!
- mes "[Madeca]";
- mes "Something is wrong.Please check this again!";
- close;*/
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment