summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/battleground/kvm/kvm01.txt2
-rw-r--r--npc/battleground/kvm/kvm02.txt2
-rw-r--r--npc/battleground/kvm/kvm03.txt2
-rw-r--r--npc/custom/quests/bandit_beard.txt4
-rw-r--r--npc/events/gdevent_aru.txt4
-rw-r--r--npc/events/gdevent_sch.txt4
-rw-r--r--npc/events/god_se_festival.txt2
-rw-r--r--npc/instances/EndlessTower.txt10
-rw-r--r--npc/jobs/2-1/assassin.txt6
-rw-r--r--npc/jobs/2-1/hunter.txt2
-rw-r--r--npc/jobs/2-2/rogue.txt2
-rw-r--r--npc/pre-re/mobs/dungeons/lhz_dun.txt4
-rw-r--r--npc/quests/bard_quest.txt2
-rw-r--r--npc/quests/quests_morocc.txt2
-rw-r--r--npc/quests/the_sign_quest.txt2
15 files changed, 25 insertions, 25 deletions
diff --git a/npc/battleground/kvm/kvm01.txt b/npc/battleground/kvm/kvm01.txt
index 4fb84ddc3..f70b3b3fa 100644
--- a/npc/battleground/kvm/kvm01.txt
+++ b/npc/battleground/kvm/kvm01.txt
@@ -357,7 +357,7 @@ OnTimer5000:
mapannounce "bat_c01", "Please be careful.",bc_map,"0x00ff00";
end;
-OnTimer:55000:
+OnTimer55000:
mapannounce "bat_c01", "You will be sent back.",bc_map,"0x00ff00";
end;
diff --git a/npc/battleground/kvm/kvm02.txt b/npc/battleground/kvm/kvm02.txt
index 33982a2c5..d2a5c38c2 100644
--- a/npc/battleground/kvm/kvm02.txt
+++ b/npc/battleground/kvm/kvm02.txt
@@ -359,7 +359,7 @@ OnTimer5000:
mapannounce "bat_c02", "Please be careful.",bc_map,"0x00ff00";
end;
-OnTimer:55000:
+OnTimer55000:
mapannounce "bat_c02", "You will be sent back.",bc_map,"0x00ff00";
end;
diff --git a/npc/battleground/kvm/kvm03.txt b/npc/battleground/kvm/kvm03.txt
index 6866a7147..c821a7db3 100644
--- a/npc/battleground/kvm/kvm03.txt
+++ b/npc/battleground/kvm/kvm03.txt
@@ -358,7 +358,7 @@ OnTimer5000:
mapannounce "bat_c03", "Please be careful.",bc_map,"0x00ff00";
end;
-OnTimer:55000:
+OnTimer55000:
mapannounce "bat_c03", "You will be sent back.",bc_map,"0x00ff00";
end;
diff --git a/npc/custom/quests/bandit_beard.txt b/npc/custom/quests/bandit_beard.txt
index fb28732d7..897464b26 100644
--- a/npc/custom/quests/bandit_beard.txt
+++ b/npc/custom/quests/bandit_beard.txt
@@ -227,8 +227,8 @@ OnDie:
if($@beardmob > 0) end;
set $@beardMobD,1;
end;
-On1201:
-On0001:
+OnClock1201:
+OnClock0001:
set $@beardmob,0;
set $@beardMobD,0;
end;
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index 1578127f9..22d30e12c 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.txt
@@ -45,11 +45,11 @@ OnEnable:
end;
OnKill:
- killmonster "arug_dun01","Monster Controler1#aru::OnMyMObDead";
+ killmonster "arug_dun01","Monster Controler1#aru::OnMyMobDead";
end;
OnMyMobDead:
- if (mobcount("arug_dun01","Monster Controler1#aru::OnMyMObDead") == 0) {
+ if (mobcount("arug_dun01","Monster Controler1#aru::OnMyMobDead") == 0) {
mapannounce "arug_dun01", "Kublin: Aargh!",bc_map,"0x99CC00";
mapannounce "arug_dun01", "Morestone: I thought I heard Kublin screaming!! Who is there? What happened to Kublin? Hey you!",bc_map,"0x99CC00";
donpcevent "Dwarf#aru_gd::OnEnable";
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 536b37b79..31537763e 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -45,11 +45,11 @@ OnEnable:
end;
OnKill:
- killmonster "schg_dun01","Monster Controler1#sch::OnMyMObDead";
+ killmonster "schg_dun01","Monster Controler1#sch::OnMyMobDead";
end;
OnMyMobDead:
- if (mobcount("schg_dun01","Monster Controler1#sch::OnMyMObDead") == 0) {
+ if (mobcount("schg_dun01","Monster Controler1#sch::OnMyMobDead") == 0) {
mapannounce "schg_dun01", "Kublin: Aargh!",bc_map,"0x99CC00";
mapannounce "schg_dun01", "Morestone: I thought I heard Kublin screaming!! Who is there? What happened to Kublin? Hey you!",bc_map,"0x99CC00";
donpcevent "Dwarf#sch_gd::OnEnable";
diff --git a/npc/events/god_se_festival.txt b/npc/events/god_se_festival.txt
index 6fc2bb660..4712d6fd7 100644
--- a/npc/events/god_se_festival.txt
+++ b/npc/events/god_se_festival.txt
@@ -243,7 +243,7 @@ OnTimer308000:
OnTimer600000:
announce "The second 'Valkyrie's Present' has been summoned here in Juno by the Wish maiden.",bc_all,"0x70dbdb";
- donpcevent "Rmimi Ravies#gq_fes01::oncall";
+ donpcevent "Rmimi Ravies#gq_fes01::OnCall";
end;
OnTimer603000:
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
index f8f8d541f..456bf590f 100644
--- a/npc/instances/EndlessTower.txt
+++ b/npc/instances/EndlessTower.txt
@@ -246,7 +246,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{
instance_init(.@instance);
close;
case 2:
- callsub L_Enter,0,1;
+ callsub L_Enter,0,1,.@md_name$,.@p_name$;
case 3:
mes "I will move you to Alberta.";
close2;
@@ -258,7 +258,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{
}
switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) {
case 1:
- callsub L_Enter,1,1;
+ callsub L_Enter,1,1,.@md_name$,.@p_name$;
case 2:
mes "I will move you to Alberta.";
close2;
@@ -272,7 +272,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{
next;
switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) {
case 1:
- callsub L_Enter,0,0;
+ callsub L_Enter,0,0,.@md_name$,.@p_name$;
case 2:
mes "I will move you to Alberta.";
close2;
@@ -308,11 +308,11 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{
L_Enter:
if (has_instance("1@tower") == "") {
- mes "The memorial dungeon " + .@md_name$ + " does not exist.";
+ mes "The memorial dungeon " +getarg(2)+ " does not exist.";
mes "The party leader did not generate the dungeon yet.";
close;
} else {
- mapannounce "e_tower", strcharinfo(0)+" of the party, "+.@p_name$+", is entering the dungeon, Endless Tower.",bc_map,"0x00ff99",FW_NORMAL,12;
+ mapannounce "e_tower", strcharinfo(0)+" of the party, " +getarg(3)+", is entering the dungeon, Endless Tower.",bc_map,"0x00ff99",FW_NORMAL,12;
if (getarg(1)) {
set etower_timer,gettimetick(2);
setquest 60200;
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index e4b231fcf..896a19e4e 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -1255,7 +1255,7 @@ OnReset:
donpcevent "Standby Room#ASNTEST::OnStart";
end;
-OnResetmob:
+OnResetMob:
killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead";
killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead2";
stopnpctimer;
@@ -1269,7 +1269,7 @@ OnMyMobDead:
changequest 8003,8004;
donpcevent "timestopper#1::OnEnable";
donpcevent "Keeper of the Door#ASN::OnEnable";
- donpcevent "Beholder#ASNTEST::OnResetmob";
+ donpcevent "Beholder#ASNTEST::OnResetMob";
set .DisableTraps,1;
stopnpctimer;
}
@@ -1354,7 +1354,7 @@ OnTouch:
mapannounce "in_moc_16",strcharinfo(0) + ", you're trapped. You will be sent back.",bc_map;
set ASSIN_Q,2;
warp "in_moc_16",19,161;
- donpcevent "Beholder#ASNTEST::OnResetmob";
+ donpcevent "Beholder#ASNTEST::OnResetMob";
donpcevent "Standby Room#ASNTEST::OnStart";
}
end;
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index b770d93df..1acb63a8b 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -1097,7 +1097,7 @@ OnMyMobDead:
if (.MyMobs < 3) {
mapannounce "job_hunte","Okay, good job... Now, find the switch in the center of the map!! Be careful of the traps!!",bc_map;
set HNTR_Q,14;
- donpcevent "switch#hnt::OnEnable";
+ donpcevent "Switch#hnt::OnEnable";
donpcevent "Manager#hnt::OnDisable";
}
else {
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index 842d9cd05..52baaf58d 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -1711,7 +1711,7 @@ OnTouch:
end;
OnDisable:
- killmonster "in_rogue","mob_rogue#3::OnMyMObDead";
+ killmonster "in_rogue","mob_rogue#3::OnMyMobDead";
end;
OnMyMobDead:
diff --git a/npc/pre-re/mobs/dungeons/lhz_dun.txt b/npc/pre-re/mobs/dungeons/lhz_dun.txt
index 55e9acbfa..eb544e724 100644
--- a/npc/pre-re/mobs/dungeons/lhz_dun.txt
+++ b/npc/pre-re/mobs/dungeons/lhz_dun.txt
@@ -279,7 +279,7 @@ OnSummon:
case 6: set .@x,175; set .@y,137; break;
}
set .@mob,rand(1646,1651);
- monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,"summon_boss_lt::OnMyMvPDead";
+ monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,"summon_boss_lt::OnMyMVPDead";
// Select Coordinates to summon a random 99 on
switch(rand(1,6)) {
@@ -294,7 +294,7 @@ OnSummon:
monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,"summon_boss_lt::OnMVP";
end;
-OnMyMvPDead:
+OnMyMVPDead:
killmonster "lhz_dun03","summon_boss_lt::OnMVP";
initnpctimer;
end;
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index d9382593e..9b365d0e2 100644
--- a/npc/quests/bard_quest.txt
+++ b/npc/quests/bard_quest.txt
@@ -1927,7 +1927,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "There's no reason to be afraid of this riffraff, your Uncle Kino is here, okay?";
} else if (BaseClass == Job_Assassin) {
mes "There's no reason to be afraid. I know that person looks scary, but you're a good girl, so you'll be okay.";
- } else if (BaeClass == Job_Blacksmith) {
+ } else if (BaseClass == Job_Blacksmith) {
mes "There's no reason to be scared, honey. It's just a Blacksmith.";
} else {
mes "There's no reason to be scared. See...? That person won't hurt you.";
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index 86e07aab1..398aa9a97 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -7772,7 +7772,7 @@ OnTouch:
}
prt_castle,354,276,0 script #peter WARPNPC,1,1,{
-OnTouch:;
+OnTouch:
if (checkquest(10019) == 0 || checkquest(10019) == 1) {
donpcevent "Prince#eisen5::OnEnable";
}
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index ba0d259e9..9ede5352e 100644
--- a/npc/quests/the_sign_quest.txt
+++ b/npc/quests/the_sign_quest.txt
@@ -3546,7 +3546,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{
mes "But who's going to";
mes "ask us the questions?";
next;
- donpcevent "Aaron#sign::onSmile";
+ donpcevent "Aaron#sign::OnSmile";
emotion e_gasp;
emotion e_gasp,1;
mes "[Aaron]";