summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/assassin.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/2-1/assassin.txt')
-rw-r--r--npc/jobs/2-1/assassin.txt110
1 files changed, 34 insertions, 76 deletions
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index 126db3baf..b0550c12f 100644
--- a/npc/jobs/2-1/assassin.txt
+++ b/npc/jobs/2-1/assassin.txt
@@ -1,33 +1,33 @@
//===== Hercules Script ======================================
//= Assassin Job Quest
-//===== By: ==================================================
+//===== By: ==================================================
//= kobra_k88
-//===== Current Version: =====================================
-//= 3.5
-//===== Description: =========================================
+//===== Current Version: =====================================
+//= 3.6
+//===== Description: =========================================
//= [Official Conversion]
//= Job Change quest for Assassin class.
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.0 Used some dialogue from the aegis Assassin script translated By: Pgro Team (OwNaGe)
-//= Also converted the booby traps from the aegis script.[kobra_k88]
+//= Also converted the booby traps from the aegis script.[kobra_k88]
//= 1.1 Made adjustments to ontouch npcs to work with the new "ontouch" functionality.
-//= Fixed some duplicate npc names. Added missing waitingroom triggers.
-//= Fixed warp in "TimerSin", was supposed to be an areawarp.
-//= For some reason sometimes the "Nameless One" would have message windows
-//= without controls. Changed the doevent that triggers him to an
-//= addtimer and that seemed make the prob. go away[kobra_k88]
+//= Fixed some duplicate npc names. Added missing waitingroom triggers.
+//= Fixed warp in "TimerSin", was supposed to be an areawarp.
+//= For some reason sometimes the "Nameless One" would have message windows
+//= without controls. Changed the doevent that triggers him to an
+//= addtimer and that seemed make the prob. go away[kobra_k88]
//= 1.2 Fixed WRONG skillpoint check! [Lupus]
//= 1.2b Fixed missing commands and typos [Lupus]
//= 1.3 Baby class Support added [Lupus]
//= 1.5 Fixed possible EXP abuse [Lupus]
//= 1.6 Added a func which prevent advanced classes passing
-//= 2nd Job Quests again. It also guides adv classes where
-//= to go. [Lupus]
+//= 2nd Job Quests again. It also guides adv classes where
+//= to go. [Lupus]
//= 2.0 Changed numbers to constants. [Vicious]
//= 2.1 Removed Duplicates [Silent]
//= 2.2 Merged back JFunc. Fixed missing dialogue [Lupus]
//= 2.3 Fixed typo and change Nameless addtimer to 100 (with 700ms I
-//= was still able to bypass it) [Toms]
+//= was still able to bypass it) [Toms]
//= 2.4 Fixed skipping of Nameless NPC [Lupus]
//= 2.5 Fixed a Rogue exploit [Lupus]
//= 2.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
@@ -46,7 +46,8 @@
//= 3.3 Added Quest Log commands. [Kisuka]
//= 3.4 Removed the need for use of 'goto.' [L0ne_W0lf]
//= 3.5 Fixed the waitingroom where player can enter the Test Area without passing the written exam. Now player will not be warp inside the Test Area when did not passed the written exam instead the player will be warp back to the written exam entrance [JayPee]
-//============================================================
+//= 3.6 Fixed broken event calls. [Euphy]
+//============================================================
in_moc_16,19,33,1 script Guildsman#asn 55,{
if (Upper == 1) {
@@ -253,9 +254,9 @@ in_moc_16,19,33,1 script Guildsman#asn 55,{
mes "you to the office.";
close2;
set ASSIN_Q,0;
- if(checkquest(8000) != -1) {
+ if (checkquest(8000) != -1) {
changequest 8000,8001;
- }else{
+ } else {
setquest 8001;
}
warp "in_moc_16",19,76;
@@ -292,7 +293,7 @@ in_moc_16,19,33,1 script Guildsman#asn 55,{
in_moc_16,25,90,1 script Guildsman#ASN2 730,2,2,{
mes "[Assassin 'Khai']";
mes "Umm?!";
- Emotion e_gasp;
+ emotion e_gasp;
next;
mes "[Assassin 'Khai']";
mes "Come closer. I prefer to talk to people face to face. It really irritates me if I have to raise my voice, just so you can hear me.";
@@ -380,7 +381,7 @@ OnTouch:
close;
case 2:
mes "[Assassin 'Khai']";
- if (sex) {
+ if (Sex) {
mes "Huh. You must have a lot of self confidence to be a Thief nowadays.";
next;
mes "[Assassin 'Khai']";
@@ -1105,12 +1106,10 @@ OnInit:
OnStartArena:
warpwaitingpc "in_moc_16", 66, 151;
attachrid($@warpwaitingpc[0]);
- if(ASSIN_Q2<5)
- {
+ if (ASSIN_Q2 < 5) {
warpchar "in_moc_16",20,145,getcharid(0);
end;
}
-
donpcevent "Beholder#ASNTEST::OnEnable";
donpcevent "Keeper of the Door#ASN::OnDisable";
set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0;
@@ -1607,7 +1606,7 @@ OnTouch:
else {
mapannounce "in_moc_16",strcharinfo(0)+" has entered 'Guildmaster's room.'",bc_map;
savepoint "in_moc_16",181,183;
- donpcevent "Guildmaster#ASN2::OnDisable";
+ donpcevent "Guildmaster#ASN1::OnCast";
warp "in_moc_16",167,113;
end;
}
@@ -1629,7 +1628,7 @@ OnTouch:
mes "at the end of maze.";
close;
-OnDisable:
+OnCast:
mapannounce "in_moc_16","...Next volunteer, please come in.",bc_map;
end;
}
@@ -1882,7 +1881,7 @@ OnTouch:
mes "Haha, the needs of the body are sometimes hard to ignore. It's best to accept that part of human nature.";
next;
mes "[Guildmaster]";
- if (sex )
+ if (Sex)
mes "But you must never reveal to her the Assassin side of your life. No matter what it takes.";
else
mes "But you must never reveal to him the Assassin side of your life, no matter what it takes.";
@@ -1996,7 +1995,7 @@ OnTouch:
mes "'Beholder,' what";
mes "is your opinion?";
next;
- donpcevent "[Huey]::OnDisable";
+ disablenpc "[Huey]";
mes "[Beholder]";
mes "Well, I don't like the course score. But, somehow the whole test was passed. I'm okay with this person.";
next;
@@ -2240,58 +2239,17 @@ OnTouch:
close;
}
-in_moc_16,156,87,1 script [Huey] 55,{
- end;
-
-OnInit:
- disablenpc "[Huey]";
- end;
-}
-
-in_moc_16,156,85,1 script [Khai] 730,{
- end;
-
-OnInit:
- disablenpc "[Khai]";
- end;
-}
-
-in_moc_16,156,83,1 script [The Anonymous One] 106,{
- end;
-
-OnInit:
- disablenpc "[The Anonymous One]";
- end;
-}
-
-in_moc_16,156,81,2 script [Barcardi] 725,{
- end;
-
-OnInit:
- disablenpc "[Barcardi]";
- end;
-}
-
-in_moc_16,156,79,1 script [Beholder] 118,{
- end;
-
-OnInit:
- disablenpc "[Beholder]";
- end;
-}
-
-in_moc_16,156,77,1 script [Thomas] 118,{
- end;
-
-OnInit:
- disablenpc "[Thomas]";
- end;
-}
-
-in_moc_16,156,75,1 script [Gayle Maroubitz] 55,{
+- script #moc_assin_dup -1,{
end;
OnInit:
- disablenpc "[Gayle Maroubitz]";
+ disablenpc strnpcinfo(0);
end;
}
+in_moc_16,156,87,1 duplicate(#moc_assin_dup) [Huey] 55
+in_moc_16,156,85,1 duplicate(#moc_assin_dup) [Khai] 730
+in_moc_16,156,83,1 duplicate(#moc_assin_dup) [The Anonymous One] 106
+in_moc_16,156,81,2 duplicate(#moc_assin_dup) [Barcardi] 725
+in_moc_16,156,79,1 duplicate(#moc_assin_dup) [Beholder] 118
+in_moc_16,156,77,1 duplicate(#moc_assin_dup) [Thomas] 118
+in_moc_16,156,75,1 duplicate(#moc_assin_dup) [Gayle Maroubitz] 55