Selaa lähdekoodia

Wrong info in NPC message.

Emistry 10 vuotta sitten
vanhempi
commit
69f08f7028
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      npc/custom/quests/kings_items.txt

+ 2 - 2
npc/custom/quests/kings_items.txt

@@ -35,7 +35,7 @@ prt_castle,80,170,4	script	King of Prontera	108,{
 				mes "If you could get me:";
 				for(set .@j,1; .@j<getarraysize(getd(".@Items"+.@i)); set .@j,.@j+2)
 					mes " ~ ^0055FF"+getd(".@Items"+.@i+"["+(.@j+1)+"]")+"^000000x "+getitemname(getd(".@Items"+.@i+"["+.@j+"]"));
-				mes "I'll give my "+((.@i)?"sword.":"crown.");
+				mes "I'll give my "+((.@i == 2 )?"sword.":"crown.");
 				if (.@i==2) close;
 				next; }
 		case 2:
@@ -76,4 +76,4 @@ prt_castle,84,170,4	script	King's Daughter	62,{
 	mes "Well, he won't give me what I want!!";
 	mes "He's the King of Prontera. He should be able to get me ANYTHING!!!";
 	close;
-}
+}