Browse Source

Random fixes to some script typos

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14153 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish 15 năm trước cách đây
mục cha
commit
c3f733849c

+ 1 - 0
npc/guild/agit_template.txt

@@ -693,6 +693,7 @@ OnRecvCastle:
 					cutin "kafra_01",255;
 					end;
 				}
+				break;
 			case 2:
 				mes "[ Steward " + .@name$ + " ]";
 				mes "Those Kafra are hard workers. I thought it would be best to keep the staff.";

+ 1 - 1
npc/quests/quests_alberta.txt

@@ -2219,7 +2219,7 @@ tur_dun03,104,171,4	script	Knight#tur3	105,{
 	mes "[Squall]";
 	mes "Am I the only one left? Where are all my comrades?! I... I'm about to go crazy!";
 	next;
-	switch(select("Maybe they ran away?:What happened?")) {
+	if(select("Maybe they ran away?:What happened?")) {
 		mes "[Squall]";
 		mes "No, we would never run away from the face of danger.";
 		next;

+ 2 - 3
npc/quests/quests_amatsu.txt

@@ -666,7 +666,7 @@ OnInit:
 
 OnEnable:
 	enablenpc "Am Mut#ama";
-	set .MyMobs,.MyMobs-1;
+	set .MyMobs,3;
 	monster "ama_test",35,102,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
 	monster "ama_test",40,91,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
 	monster "ama_test",56,108,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
@@ -706,8 +706,7 @@ OnInit:
 OnTouch:
 	mes "[Coach]";
 	mes "( Clap- Clap- Clap- )";
-	close;
-	end;
+	next;
 	mes "[Coach]";
 	mes "Hohoho~ You are really something.";
 	mes "You've got the moves, kiddo.";