Przeglądaj źródła

Hopefully fixed npc/cities/valkyrie.txt (Rebirth) not working for some Knights and Crusaders
Needs some testing!

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

Playtester 19 lat temu
rodzic
commit
0df72a479d
2 zmienionych plików z 6 dodań i 0 usunięć
  1. 2 0
      npc/Changelog.txt
  2. 4 0
      npc/cities/valkyrie.txt

+ 2 - 0
npc/Changelog.txt

@@ -28,6 +28,8 @@ Nexon
 Date		Added
 ======
 04/20
+	* Fixed Rebirth script not working for some Knights and Crusaders [Playtester]
+	- needs some testing!
 	* Fixed Taekwon quest obviously never working [Playtester]
 	* Updated Job Quests of Taekwon, SG, SL (all thanks to Celestria) [Lupus]
 		They have oficial sprites, actions. But some dialogs are made up. ^_-

+ 4 - 0
npc/cities/valkyrie.txt

@@ -226,6 +226,8 @@ L_CHANGE:
 	next;
 
 	set ADVJOB,Class+4001; //memo the target 3rd Job ID
+	if(ADVJOB == 4014) set ADVJOB,4002;
+	if(ADVJOB == 4022) set ADVJOB,4015;
 
 //	callfunc "F_ToHigh",25,"Swordman High",31,"Lord Knight",144,145,146,0;
 //	callfunc "F_ToHigh",28,"Acolyte High",32,"High Priest",156,0,0,0;
@@ -325,6 +327,8 @@ L_SKILLPNTS:
 
 function	script	F_ToHigh	{
 	if(Upper == 2) return; //Baby Class - skip it
+	if(ADVJOB == 4014) set ADVJOB,4002;
+	if(ADVJOB == 4022) set ADVJOB,4015;
 	set @fjob,ADVJOB; //alternative classes should pass, too
 	if(@fjob == Job_Stalker) set @fjob,Job_Assassin_Cross;
 	if(@fjob == Job_Creator) set @fjob,Job_Whitesmith;