소스 검색

* Optimized Brasilis quests (re\quests\quests_brasilis.txt)
* Follow-up r16538, removed one more check - thanks Vali! (quests\skills\archer_skills.txt)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16553 54d463be-8e91-2dee-dedb-b68131a5f0ec

euphyy 12 년 전
부모
커밋
1decd584a8
3개의 변경된 파일1549개의 추가작업 그리고 2684개의 파일을 삭제
  1. 43 43
      doc/script_commands.txt
  2. 2 7
      npc/quests/skills/archer_skills.txt
  3. 1504 2634
      npc/re/quests/quests_brasilis.txt

+ 43 - 43
doc/script_commands.txt

@@ -2109,49 +2109,6 @@ array, shifting all the elements beyond this towards the beginning.
 
 ---------------------------------------
 
-*bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>};
-*bindatcmd("command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>});
-
-This command will bind a NPC event label to an atcommand. Upon execution of
-the atcommand, the user will invoke the NPC event label.
-
-Example:
-When a user types the command "@test", an angel effect will be shown.
-
--	script	atcmd_example	-1,{
-OnInit:
-	bindatcmd("test","atcmd_example::OnAtcommand");
-	end;
-OnAtcommand:
-	specialeffect2 338;
-	end;
-}
-
----------------------------------------
-
-*unbindatcmd "command";
-*unbindatcmd("command");
-
-This command will unbind a NPC event label from an atcommand.
-
----------------------------------------
-
-*useatcmd "command";
-*useatcmd("command");
-
-This command will execute a custom atcommand on the attached RID from a script.
-Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
-filled with the given parameters, starting with an index of 0.
-
-Example:
-   @test Testing Command
-
-The following array values will be generated:
-   .@atcmd_parameters$[0] = "Testing"
-   .@atcmd_parameters$[1] = "Command"
-
----------------------------------------
-
 ======================================
 |2.- Information-retrieving commands.|
 ======================================
@@ -6515,6 +6472,49 @@ Example(s):
 
 ---------------------------------------
 
+*bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>};
+*bindatcmd("command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>});
+
+This command will bind a NPC event label to an atcommand. Upon execution of
+the atcommand, the user will invoke the NPC event label.
+
+Example:
+When a user types the command "@test", an angel effect will be shown.
+
+-	script	atcmd_example	-1,{
+OnInit:
+	bindatcmd("test","atcmd_example::OnAtcommand");
+	end;
+OnAtcommand:
+	specialeffect2 338;
+	end;
+}
+
+---------------------------------------
+
+*unbindatcmd "command";
+*unbindatcmd("command");
+
+This command will unbind a NPC event label from an atcommand.
+
+---------------------------------------
+
+*useatcmd "command";
+*useatcmd("command");
+
+This command will execute a custom atcommand on the attached RID from a script.
+Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
+filled with the given parameters, starting with an index of 0.
+
+Example:
+   @test Testing Command
+
+The following array values will be generated:
+   .@atcmd_parameters$[0] = "Testing"
+   .@atcmd_parameters$[1] = "Command"
+
+---------------------------------------
+
 *unitskilluseid <GID>,<skill id>,<skill lvl>{,<target id>};
 *unitskilluseid <GID>,"<skill name>",<skill lvl>{,<target id>};
 *unitskillusepos <GID>,<skill id>,<skill lvl>,<x>,<y>;

+ 2 - 7
npc/quests/skills/archer_skills.txt

@@ -40,7 +40,7 @@ moc_ruins,118,99,5	script	Roberto	88,{
 			mes " ";
 			mes "You are...";
 			next;
-			if ((countitem(907) > 19) && (countitem(921) > 6) && (countitem(906) > 40) && (countitem(1019) > 12) && (countitem(501) > 0) && (BaseClass == Job_Archer) && (JobLevel >= 30)) {
+			if ((countitem(907) > 19) && (countitem(921) > 6) && (countitem(906) > 40) && (countitem(1019) > 12) && (countitem(501) > 0)) {
 				mes "[Roberto]";
 				mes "You brought them!";
 				mes "Thank you very much.";
@@ -120,12 +120,7 @@ moc_ruins,118,99,5	script	Roberto	88,{
 				close;
 			case 2:
 				mes "[Roberto]";
-				if (Sex > 1) {
-					mes "...hey miss.";
-				}
-				else {
-					mes "...hey mister.";
-				}
+				mes "...hey "+((Sex)?"mister":"miss")+".";
 				mes "...be careful at night.";
 				close;
 			}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1504 - 2634
npc/re/quests/quests_brasilis.txt


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.