summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-24 02:03:44 -0200
committershennetsind <ind@henn.et>2013-12-24 02:03:44 -0200
commit337d3bf6bfa4a51c291d0b4420e1eb0b5a21f52d (patch)
tree77d7e0cbf1b901961e672d44f184fa71635752cc /npc
parentcf19b26d50ac96111e44c33a80afd1f1ea935cec (diff)
parent68b3278813a12514a6ff589777715968036dae07 (diff)
downloadhercules-337d3bf6bfa4a51c291d0b4420e1eb0b5a21f52d.tar.gz
hercules-337d3bf6bfa4a51c291d0b4420e1eb0b5a21f52d.tar.bz2
hercules-337d3bf6bfa4a51c291d0b4420e1eb0b5a21f52d.tar.xz
hercules-337d3bf6bfa4a51c291d0b4420e1eb0b5a21f52d.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc')
-rw-r--r--npc/custom/itembind.txt4
-rw-r--r--npc/quests/quests_13_1.txt26
-rw-r--r--npc/re/quests/quests_malaya.txt50
3 files changed, 55 insertions, 25 deletions
diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt
index 916c57a46..8462b1515 100644
--- a/npc/custom/itembind.txt
+++ b/npc/custom/itembind.txt
@@ -63,7 +63,7 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{
logmes "Bound "+ @inventorylist_amount[.@item]+" "+@inventorylist_id[.@item]+" as "+.boundtypes$[.@boundtype]+" type.";
}
} else {
- /*if(!countbound()) {
+ if(!countbound()) {
mes "You don't have any bound items in your inventory. Not much I can do here.";
close;
}
@@ -74,7 +74,7 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{
mes "You don't have enough to unbind an item.";
close;
}
- }*/
+ }
getinventorylist();
for(.@i = 0; .@i < @inventorylist_count; .@i++) {
if(@inventorylist_bound[.@i]) {
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index 9e7599ba4..446e31ffd 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -10311,8 +10311,8 @@ OnInit:
end;
OnEnable:
- monster "spl_fild02",0,0,"Luciola Vespa",1994,7,"ep13_spl_fild02_mon_edq::OnMyMobDead";
- monster "spl_fild02",0,0,"Pinguicula",1995,7,"ep13_spl_fild02_mon_edq::OnMyMobDead";
+ monster "spl_fild02",0,0,"Luciola Vespa",1994,5,"ep13_spl_fild02_mon_edq::OnMyMobDead";
+ monster "spl_fild02",0,0,"Pinguicula",1995,5,"ep13_spl_fild02_mon_edq::OnMyMobDead";
initnpctimer;
end;
@@ -10329,7 +10329,7 @@ OnTimer600000:
end;
OnMyMobDead:
- if (mobcount("spl_fild02","ep13_spl_fild02_mon_edq::OnMyMobDead") < 14 && (ep13_1_edq == 71 || ep13_1_edq == 72))
+ if (mobcount("spl_fild02","ep13_spl_fild02_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
getitem 6040,1; //Some_Of_Report
end;
}
@@ -10341,9 +10341,9 @@ OnInit:
end;
OnEnable:
- monster "spl_fild03",0,0,"Luciola Vespa",1994,4,"ep13_spl_fild03_mon_edq::OnMyMobDead";
- monster "spl_fild03",0,0,"Cornus",1992,5,"ep13_spl_fild03_mon_edq::OnMyMobDead";
- monster "spl_fild03",0,0,"Naga",1993,5,"ep13_spl_fild03_mon_edq::OnMyMobDead";
+ monster "spl_fild03",0,0,"Luciola Vespa",1994,3,"ep13_spl_fild03_mon_edq::OnMyMobDead";
+ monster "spl_fild03",0,0,"Cornus",1992,3,"ep13_spl_fild03_mon_edq::OnMyMobDead";
+ monster "spl_fild03",0,0,"Naga",1993,4,"ep13_spl_fild03_mon_edq::OnMyMobDead";
initnpctimer;
end;
@@ -10361,7 +10361,7 @@ OnTimer600000:
OnMyMobDead:
set .@spl_fild03_mob_dead,mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead");
- if (mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead") < 14 && (ep13_1_edq == 71 || ep13_1_edq == 72))
+ if (mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
getitem 6040,1; //Some_Of_Report
end;
}
@@ -10373,8 +10373,8 @@ OnInit:
end;
OnEnable:
- monster "man_fild01",0,0,"Nepenthes",1988,7,"ep13_man_fild01_mon_edq::OnMyMobDead";
- monster "man_fild01",0,0,"Hillslion",1989,7,"ep13_man_fild01_mon_edq::OnMyMobDead";
+ monster "man_fild01",0,0,"Nepenthes",1988,5,"ep13_man_fild01_mon_edq::OnMyMobDead";
+ monster "man_fild01",0,0,"Hillslion",1989,5,"ep13_man_fild01_mon_edq::OnMyMobDead";
initnpctimer;
end;
@@ -10391,7 +10391,7 @@ OnTimer600000:
end;
OnMyMobDead:
- if (mobcount("man_fild01","ep13_man_fild01_mon_edq::OnMyMobDead") < 14 && (ep13_1_edq == 71 || ep13_1_edq == 72))
+ if (mobcount("man_fild01","ep13_man_fild01_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
getitem 6040,1; //Some_Of_Report
end;
}
@@ -10403,8 +10403,8 @@ OnInit:
end;
OnEnable:
- monster "man_fild03",0,0,"Centipede",1987,7,"ep13_man_fild03_mon_edq::OnMyMobDead";
- monster "man_fild03",0,0,"Tatacho",1986,7,"ep13_man_fild03_mon_edq::OnMyMobDead";
+ monster "man_fild03",0,0,"Centipede",1987,5,"ep13_man_fild03_mon_edq::OnMyMobDead";
+ monster "man_fild03",0,0,"Tatacho",1986,5,"ep13_man_fild03_mon_edq::OnMyMobDead";
initnpctimer;
end;
@@ -10421,7 +10421,7 @@ OnTimer600000:
end;
OnMyMobDead:
- if (mobcount("man_fild03","ep13_man_fild03_mon_edq::OnMyMobDead") < 14 && (ep13_1_edq == 71 || ep13_1_edq == 72))
+ if (mobcount("man_fild03","ep13_man_fild03_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
getitem 6040,1; //Some_Of_Report
end;
}
diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt
index 581cf2d23..150928d49 100644
--- a/npc/re/quests/quests_malaya.txt
+++ b/npc/re/quests/quests_malaya.txt
@@ -1,9 +1,9 @@
//===== Hercules Script ======================================
//= Port Malaya Quest NPCs
//===== By: ==================================================
-//= Euphy
+//= Masao
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Description: =========================================
//= [Official Conversion]
//= Quest NPCs related to Port Malaya:
@@ -20,6 +20,7 @@
//= 0.5 Added "Bakonawa Extermination" quest. [Euphy]
//= 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy]
//= 1.1 Added GM management function and NPC. [Euphy]
+//= 1.2 Added item Lost_Belongings to Tiyanak mob & fix wrong item id [Michieru]
//============================================================
// Cautious Village & Daily Quests :: hi_malaya
@@ -5868,6 +5869,35 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
}
}
+ma_fild01,1,1,0 script malaya_ma_fild01_mon -1,{
+OnInit:
+ enablenpc "malaya_ma_fild01_mon";
+ donpcevent "malaya_ma_fild01_mon::OnEnable";
+ end;
+
+OnEnable:
+ monster "ma_fild01",0,0,"Tiyanak",2314,5,"malaya_ma_fild01_mon::OnMyMobDead";
+ initnpctimer;
+ end;
+
+OnDisable:
+ stopnpctimer;
+ killmonster "ma_fild01","malaya_ma_fild01_mon::OnMyMobDead";
+ disablenpc "malaya_ma_fild01_mon";
+ end;
+
+OnTimer600000:
+ killmonster "ma_fild01","malaya_ma_fild01_mon::OnMyMobDead";
+ stopnpctimer;
+ donpcevent "malaya_ma_fild01_mon::OnEnable";
+ end;
+
+OnMyMobDead:
+ if (mobcount("ma_fild01","malaya_ma_fild01_mon::OnMyMobDead") < 5 && (malaya_bakona2 == 1 || malaya_bakona2 == 2 || malaya_bakona2 == 3 || malaya_bakona2 == 4))
+ getitem 6520,1; //Lost_Belongings
+ end;
+}
+
malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
if (malaya_hi < 20) {
mes "- He seems cautious of you. -";
@@ -5881,7 +5911,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "He must be around here somewhere.";
close;
} else if (malaya_bakona2 == 1) {
- if (countitem(6501) < 2) {
+ if (countitem(6520) < 2) {
mes "[Missing Person's Father]";
mes "You are looking for two of his ^FF0000Lost Belongings^000000?";
mes "Are you confident that";
@@ -5898,7 +5928,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "Let's retrieve them from Tiucknuc that roams Baryo Mahiwaga Field,";
mes "seven ^FF0000Lost Belongings^000000";
mes "and deliver them to ^0000FFMissing Person's Friend^000000.";
- delitem 6501,2; //Lost_Belongings
+ delitem 6520,2; //Lost_Belongings
erasequest 1180;
setquest 1181;
set malaya_bakona2,2;
@@ -5936,7 +5966,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "somewhere.";
close;
} else if (malaya_bakona2 == 2) {
- if (countitem(6501) < 7) {
+ if (countitem(6520) < 7) {
mes "[Missing Person's Friend]";
mes "You are looking for seven ^FF0000Lost Belongings^000000";
mes "of my friend?";
@@ -5949,7 +5979,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "of my friend... Where is my friend?";
mes "Bring him here, bring him here now!";
callsub L_Quest;
- delitem 6501,7; //Lost_Belongings
+ delitem 6520,7; //Lost_Belongings
erasequest 1181;
setquest 1182;
set malaya_bakona2,3;
@@ -5986,7 +6016,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "Please find my father!";
close;
} else if (malaya_bakona2 == 3) {
- if (countitem(6501) < 3) {
+ if (countitem(6520) < 3) {
mes "[Missing Person's Son]";
mes "You are looking for three ^FF0000Lost Belongings^000000";
mes "of my father? Why lost belongings and not my father?";
@@ -5998,7 +6028,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "These are ^FF0000Lost Belongings^000000 of my father.";
mes "Oh dear lord... father!";
callsub L_Quest;
- delitem 6501,3; //Lost_Belongings
+ delitem 6520,3; //Lost_Belongings
erasequest 1182;
setquest 1183;
set malaya_bakona2,4;
@@ -6032,7 +6062,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "and she still isn't back.";
close;
} else if (malaya_bakona2 == 4) {
- if (countitem(6501) < 5) {
+ if (countitem(6520) < 5) {
mes "[Missing Person's Mother]";
mes "You are looking for five ^FF0000Lost Belongings^000000 of my child?";
mes "What does this mean?";
@@ -6053,7 +6083,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "A mother that has gone mad...";
mes "Now that I finished finding the missing people,";
mes "I should report back to the Village Chief.";
- delitem 6501,5; //Lost_Belongings
+ delitem 6520,5; //Lost_Belongings
erasequest 1183;
setquest 1184;
set malaya_bakona2,5;