Explorar o código

- Removed more trailing tabs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau %!s(int64=13) %!d(string=hai) anos
pai
achega
00367cd7b7
Modificáronse 100 ficheiros con 336 adicións e 337 borrados
  1. 1 1
      3rdparty/mysql/include/m_ctype.h
  2. 3 3
      db/pre-re/skill_require_db.txt
  3. 3 3
      db/re/skill_require_db.txt
  4. 1 1
      doc/ea_job_system.txt
  5. 1 1
      doc/item_bonus.txt
  6. 2 2
      doc/pccommand_list.txt
  7. 1 1
      npc/cities/comodo.txt
  8. 2 2
      npc/cities/geffen.txt
  9. 1 1
      npc/cities/hugel.txt
  10. 1 1
      npc/cities/izlude.txt
  11. 1 1
      npc/cities/lutie.txt
  12. 1 1
      npc/cities/yuno.txt
  13. 1 1
      npc/custom/banks/bank.txt
  14. 2 2
      npc/custom/eAAC_Scripts/kafraExpress/config.txt
  15. 1 2
      npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt
  16. 1 1
      npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt
  17. 2 2
      npc/custom/eAAC_Scripts/kafraExpress/ke_refine.txt
  18. 1 1
      npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt
  19. 20 20
      npc/custom/eAAC_Scripts/kafraExpress/ke_warp_dungeon.txt
  20. 1 1
      npc/custom/eAAC_Scripts/kafraExpress/readme.txt
  21. 1 1
      npc/custom/jobs/jobmaster.txt
  22. 1 1
      npc/custom/marriage.txt
  23. 4 4
      npc/events/christmas_2008.txt
  24. 1 1
      npc/events/event_skill_reset.txt
  25. 1 1
      npc/events/halloween_2006.txt
  26. 1 1
      npc/events/halloween_2008.txt
  27. 2 2
      npc/events/halloween_2009.txt
  28. 1 1
      npc/events/idul_fitri.txt
  29. 2 2
      npc/events/twintowers.txt
  30. 3 3
      npc/events/valentinesday_2009.txt
  31. 1 1
      npc/guild/agit_controller.txt
  32. 3 3
      npc/guild/agit_template.txt
  33. 3 3
      npc/jobs/1-1/thief.txt
  34. 1 1
      npc/jobs/1-1e/gunslinger.txt
  35. 1 1
      npc/jobs/2-1/hunter.txt
  36. 2 2
      npc/jobs/2-1e/StarGladiator.txt
  37. 2 2
      npc/jobs/3-1/warlock.txt
  38. 41 41
      npc/jobs/3-2/wanderer.txt
  39. 3 3
      npc/jobs/novice/novice.txt
  40. 1 1
      npc/merchants/buying_shops.txt
  41. 1 1
      npc/merchants/cashheadgear_dye.txt
  42. 1 1
      npc/merchants/clothes_dyer.txt
  43. 1 1
      npc/merchants/icecream.txt
  44. 2 2
      npc/merchants/refine.txt
  45. 16 16
      npc/other/arena/arena_lvl50.txt
  46. 18 18
      npc/other/arena/arena_lvl60.txt
  47. 19 19
      npc/other/arena/arena_lvl70.txt
  48. 20 20
      npc/other/arena/arena_lvl80.txt
  49. 5 5
      npc/other/arena/arena_party.txt
  50. 1 1
      npc/other/bulletin_boards.txt
  51. 1 1
      npc/other/comodo_gambling.txt
  52. 1 1
      npc/other/hugel_bingo.txt
  53. 2 2
      npc/other/mercenary_rent.txt
  54. 2 2
      npc/quests/Dandelion_Request.txt
  55. 3 3
      npc/quests/Kiel_Hyre_Quest.txt
  56. 1 1
      npc/quests/Lvl4_weapon_quest.txt
  57. 1 1
      npc/quests/bunnyband.txt
  58. 2 2
      npc/quests/first_class/tu_archer.txt
  59. 3 3
      npc/quests/first_class/tu_merchant.txt
  60. 2 2
      npc/quests/first_class/tu_sword.txt
  61. 2 2
      npc/quests/gunslinger_quests.txt
  62. 3 3
      npc/quests/newgears/2005_headgears.txt
  63. 2 2
      npc/quests/ninja_quests.txt
  64. 1 1
      npc/quests/quests_comodo.txt
  65. 3 3
      npc/quests/quests_ein.txt
  66. 1 1
      npc/quests/quests_gonryun.txt
  67. 5 5
      npc/quests/quests_hugel.txt
  68. 6 6
      npc/quests/quests_juperos.txt
  69. 7 7
      npc/quests/quests_lighthalzen.txt
  70. 1 1
      npc/quests/quests_louyang.txt
  71. 4 4
      npc/quests/quests_moscovia.txt
  72. 2 2
      npc/quests/quests_nameless.txt
  73. 1 1
      npc/quests/quests_rachel.txt
  74. 3 3
      npc/quests/quests_umbala.txt
  75. 3 3
      npc/quests/quiz/quiz_qt.txt
  76. 1 1
      npc/quests/seals/brisingamen_seal.txt
  77. 1 1
      npc/quests/skills/crusader_skills.txt
  78. 2 2
      src/char/char.c
  79. 2 2
      src/char/int_guild.c
  80. 7 7
      src/common/showmsg.c
  81. 2 2
      src/common/utils.c
  82. 1 1
      src/login/account_sql.c
  83. 1 1
      src/login/login.c
  84. 5 5
      src/map/atcommand.c
  85. 8 8
      src/map/battle.c
  86. 1 1
      src/map/battle.h
  87. 1 1
      src/map/chrif.c
  88. 1 1
      src/map/chrif.h
  89. 4 4
      src/map/clif.c
  90. 1 1
      src/map/homunculus.c
  91. 1 1
      src/map/instance.c
  92. 3 3
      src/map/itemdb.c
  93. 2 2
      src/map/map.c
  94. 1 1
      src/map/map.h
  95. 8 8
      src/map/mob.c
  96. 6 6
      src/map/npc.c
  97. 4 4
      src/map/pc.c
  98. 1 1
      src/map/pc.h
  99. 3 3
      src/map/pet.c
  100. 1 1
      src/map/quest.c

+ 1 - 1
3rdparty/mysql/include/m_ctype.h

@@ -76,7 +76,7 @@ extern MY_UNICASE_INFO *my_unicase_turkish[256];
 #define MY_CS_UNICODE	128    /* is a charset is full unicode   */
 #define MY_CS_READY	256    /* if a charset is initialized    */
 #define MY_CS_AVAILABLE	512    /* If either compiled-in or loaded*/
-#define MY_CS_CSSORT	1024   /* if case sensitive sort order   */	
+#define MY_CS_CSSORT	1024   /* if case sensitive sort order   */
 #define MY_CHARSET_UNDEFINED 0
 
 

+ 3 - 3
db/pre-re/skill_require_db.txt

@@ -73,7 +73,7 @@
 61,0,0,3,0,0,0,0:1:2:3:4:5:6:7:8:9:10:12:13:14:15:16:17:18:19:20:21:22,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//KN_AUTOCOUNTER#オ?トカウンタ?#
 62,0,0,13:14:15:16:17:18:19:20:21:22,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//KN_BOWLINGBASH#ボウリングバッシュ#
 
-66,0,0,13:16:19:22:25,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_IMPOSITIO#イムポシティオマヌス#	
+66,0,0,13:16:19:22:25,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_IMPOSITIO#イムポシティオマヌス#
 67,0,0,8,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_SUFFRAGIUM#サフラギウム#
 68,0,0,14:18:22:26:30,0,0,0,99,0,0,none,0,523,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_ASPERSIO#アスペルシオ#
 69,0,0,20,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_BENEDICTIO#聖?降福#
@@ -121,7 +121,7 @@
 124,0,0,5,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_REMOVETRAP#リム?ブトラップ#
 125,0,0,1,0,0,0,99,0,0,none,0,1065,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_TALKIEBOX#ト?キ?ボックス#
 
-129,0,0,10:13:16:19:22,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_BLITZBEAT#ブリッツビ?ト#	
+129,0,0,10:13:16:19:22,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_BLITZBEAT#ブリッツビ?ト#
 130,0,0,8,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_DETECTING#ディテクティング#
 131,0,0,10,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_SPRINGTRAP#スプリングトラップ#
 
@@ -168,7 +168,7 @@
 232,0,0,20,0,0,0,99,0,0,none,0,7137,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CANNIBALIZE#バイオプラント#
 233,0,0,10,0,0,0,99,0,0,none,0,7138,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_SPHEREMINE#スフィア?マイン#
 234,0,0,30,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_WEAPON#ケミカルウェポンチャ?ジ#
-235,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_SHIELD#ケミカルシ?ルドチャ?ジ#	
+235,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_SHIELD#ケミカルシ?ルドチャ?ジ#
 236,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_ARMOR#ケミカルア?マ?チャ?ジ#
 237,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_HELM#ケミカルヘルムチャ?ジ#
 

+ 3 - 3
db/re/skill_require_db.txt

@@ -73,7 +73,7 @@
 61,0,0,3,0,0,0,0:1:2:3:4:5:6:7:8:9:10:12:13:14:15:16:17:18:19:20:21:22,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//KN_AUTOCOUNTER#オ?トカウンタ?#
 62,0,0,13:14:15:16:17:18:19:20:21:22,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//KN_BOWLINGBASH#ボウリングバッシュ#
 
-66,0,0,13:16:19:22:25,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_IMPOSITIO#イムポシティオマヌス#	
+66,0,0,13:16:19:22:25,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_IMPOSITIO#イムポシティオマヌス#
 67,0,0,8,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_SUFFRAGIUM#サフラギウム#
 68,0,0,14:18:22:26:30,0,0,0,99,0,0,none,0,523,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_ASPERSIO#アスペルシオ#
 69,0,0,20,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//PR_BENEDICTIO#聖?降福#
@@ -121,7 +121,7 @@
 124,0,0,5,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_REMOVETRAP#リム?ブトラップ#
 125,0,0,1,0,0,0,99,0,0,none,0,1065,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_TALKIEBOX#ト?キ?ボックス#
 
-129,0,0,10:13:16:19:22,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_BLITZBEAT#ブリッツビ?ト#	
+129,0,0,10:13:16:19:22,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_BLITZBEAT#ブリッツビ?ト#
 130,0,0,8,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_DETECTING#ディテクティング#
 131,0,0,10,0,0,0,99,0,0,falcon,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//HT_SPRINGTRAP#スプリングトラップ#
 
@@ -168,7 +168,7 @@
 232,0,0,20,0,0,0,99,0,0,none,0,7137,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CANNIBALIZE#バイオプラント#
 233,0,0,10,0,0,0,99,0,0,none,0,7138,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_SPHEREMINE#スフィア?マイン#
 234,0,0,30,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_WEAPON#ケミカルウェポンチャ?ジ#
-235,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_SHIELD#ケミカルシ?ルドチャ?ジ#	
+235,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_SHIELD#ケミカルシ?ルドチャ?ジ#
 236,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_ARMOR#ケミカルア?マ?チャ?ジ#
 237,0,0,25,0,0,0,99,0,0,none,0,7139,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//AM_CP_HELM#ケミカルヘルムチャ?ジ#
 

+ 1 - 1
doc/ea_job_system.txt

@@ -170,7 +170,7 @@ About Novices and Super Novices:
 	EAJ_NOVICE -> Novice
 	EAJ_NOVICE|EAJL_2_1 -> EAJ_SUPER_NOVICE
 	EAJ_NOVICE|EAJL_UPPER -> EAJ_NOVICE_HIGH
-	EAJ_NOVICE|EAJL_BABY	-> EAJ_BABY	
+	EAJ_NOVICE|EAJL_BABY	-> EAJ_BABY
 	EAJ_NOVICE|EAJL_BABY|EAJL_2_1 -> EAJ_SUPER_BABY
 
 	So as you can see, on this job system, the Super Novice is treated as the 2-1 job of a Novice, and the Novice job it's at the same level of the other 1st jobs. Even though that may seem like a hindrance, it makes it very easy to add a check to discard Novice types from a quest:

+ 1 - 1
doc/item_bonus.txt

@@ -325,7 +325,7 @@ bonus2 bAddSkillBlow,x,y;		Pushback the target by y cells when using skill x (su
 bonus bSPDrainValue,n;			When hitting a monster by physical attack, you gain n SP
 					(use negative numbers so the user loses SP)
 bonus2 bSPDrainValue,n,x;		When hitting a monster by physical attack, ...
-					x:					
+					x:
 						0=you gain n SP, 1=you drain n SP from target
 
 bonus2 bIgnoreDefRate,n,x;		Disregard x% of the target's DEF if the target belongs to race n;

+ 2 - 2
doc/pccommand_list.txt

@@ -135,7 +135,7 @@ can be getmapxy, something like this:
 -	script	PCDieEvent	-1,{
 if (getmapxy(@mapname$,@mapx,@mapy,0) == -1) goto L_Finish;
 if (@mapname$ == "valkyrie") || (@mapname$ == "amatsu") {
-killmonster "valkyrie","All";	
+killmonster "valkyrie","All";
 announce "Deep Voice: You have failed.... you have another opportunity though...",bc_self,0x660033;
 if (killtest != 0) enablenpc "Outern Voices";
 if (killedonce == 1) end;
@@ -152,7 +152,7 @@ L_Finish:
 OnPCDieEvent: 
 if (getmapxy(@mapname$,@mapx,@mapy,0) == -1) goto L_Finish;
 if (@mapname$ == "valkyrie") || (@mapname$ == "amatsu") {
-killmonster "valkyrie","All";	
+killmonster "valkyrie","All";
 announce "Deep Voice: You have failed.... you have another opportunity though...",bc_self,0x660033;
 if (killtest != 0) enablenpc "Outern Voices";
 if (killedonce == 1) end;

+ 1 - 1
npc/cities/comodo.txt

@@ -151,7 +151,7 @@ cmd_in02,174,126,4	script	Loyar#cmd	83,{
 	mes "and it makes me want to play ";
 	mes "some more. Alright, let's go!";
 	next;
-	switch(rand(1,3)) {	
+	switch(rand(1,3)) {
 	case 1:
 		mes "[Loyar]";
 		mes "Hmm... Maybe I better";

+ 2 - 2
npc/cities/geffen.txt

@@ -346,7 +346,7 @@ OnTouch:
 				break;
 		}
 		set .@Main_gauche_hap,.@input * 9400;
-		if (Zeny < .@Main_gauche_hap) {	
+		if (Zeny < .@Main_gauche_hap) {
 			mes "[Suspicious Guy]";
 			mes "Short on zeny?";
 			mes "When the greatest deal in your life is right before your eyes?! Tragic, truly tragic...";
@@ -1347,7 +1347,7 @@ geffen_in,109,72,2	script	Monster Scholar	90,{
 		mes "[Estheres]";
 		mes "Still, if you want to seek out strong monsters, you can cross the bridge to the West and fight Kobolds.";
 		next;
-		mes "[Estheres]";		
+		mes "[Estheres]";
 		if (BaseLevel > 40)
 			mes "You look strong enough for that kind of challenge. But if you see anyone more reckless cross the Western bridge, you might want to give them a warning.";
 		else 

+ 1 - 1
npc/cities/hugel.txt

@@ -185,7 +185,7 @@ hu_in01,23,311,4	script	Party Supplies Shop	898,{
 			mes "[Shopkeeper]";
 			mes "Thank you, please come again.";
 			close;
-	}	
+	}
 }
 
 hu_in01,18,94,0	script	A Part-Timer#1	49,{

+ 1 - 1
npc/cities/izlude.txt

@@ -458,7 +458,7 @@ izlude,124,178,2	script	Soldier#izlude	105,{
 	close;
 }
 
-// Inside Izlude	
+// Inside Izlude
 //============================================================
 izlude_in,125,164,2	script	Aaron#izlude	65,{
 	mes "[Aaron]";

+ 1 - 1
npc/cities/lutie.txt

@@ -385,7 +385,7 @@ xmas,176,236,4	script	Uncle Hairy	712,{
 			mes "[Cantata]";
 			mes "^3355FFThachentze^000000, that lovely pickle maker, knows more about it. So if you're curious, you should go talk to her. Alrighty then, Merry Christmas!";
 			set xmas_npc,5;
-			close;		
+			close;
 		}else{
 			mes "[Cantata]";
 			mes "Oh yeah? Heard about me from Poze, did you? Haw haw haw! Yeah, I know a little bit about Snowysnow. In fact, I may even be his weak point, since...";

+ 1 - 1
npc/cities/yuno.txt

@@ -323,7 +323,7 @@ yuno,334,182,4	script	Juno Soldier#6juno	105,{
 	mes "[Juno Soldier]";
 	mes "Its use is limited to the Sage class, and it increases the chance of inflicting critical attacks. So, for Sages, that dagger can be very useful, as well as make them look stylish in battle.";
 	close;
-}	
+}
 	
 yuno,263,320,4	script	Juno Soldier#7juno	105,{
 	mes "[Juno Soldier]";

+ 1 - 1
npc/custom/banks/bank.txt

@@ -69,7 +69,7 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's
 		else if (@withdrawl > #bankstorage) {
 			mes "I show you only have ^00FF00" + #bankstorage +"^000000 zeny in your account!";
 			close;
-		}	
+		}
 		else if ((@cost > Zeny) && ((Zeny + @withdrawl) > @cost)) {
 			mes "[Banker]";
 			mes "You don't have the Zeny for the transaction fee right now. Would you like me to take the fee directly from your withdrawl?";

+ 2 - 2
npc/custom/eAAC_Scripts/kafraExpress/config.txt

@@ -234,7 +234,7 @@ OnLoadRefine:
 	end;
 	//-------------------------------------------------------------------------------
 	//Config for the Renting Module
-	//-------------------------------------------------------------------------------	
+	//-------------------------------------------------------------------------------
 OnLoadRent:
 	set $@kert_cartOnly, 0;	//Set to 1 to enable only cart rental, 0 enables all add-ons.
 	set $@kert_cartCost, 1000;	//Cost to rent a Cart.
@@ -252,7 +252,7 @@ OnLoadShop:
 	end;
 	//-------------------------------------------------------------------------------
 	//Config for the Stat Market Module
-	//-------------------------------------------------------------------------------	
+	//-------------------------------------------------------------------------------
 OnLoadStatMarket:
 	set $@kesm_stBuyPrice,10000;	//Cost of buying stat points
 	set $@kesm_stSellPrice,0;	//Return cash for selling stat points

+ 1 - 2
npc/custom/eAAC_Scripts/kafraExpress/global_functionsKE.txt

@@ -197,8 +197,7 @@ function	script	GF_getJobId	{
 	}
 	if (@classId >= Job_Novice_High && @classId <= Job_Paladin2)
 		set @classId, @classId -Job_Novice_High;
-	else 	
-	if (@classId >= Job_Baby && @classId <= Job_Super_Baby)
+	else if (@classId >= Job_Baby && @classId <= Job_Super_Baby)
 		set @classId, @classId -Job_Baby;
 		
 	if (@type == 1)

+ 1 - 1
npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt

@@ -378,7 +378,7 @@ function SF_revertJob {
 	if ($@kejs_announce)
 		announce strcharinfo(0)+" has changed from "+jobname(@thisJobId)+" to "+@newjob$+"...",16;
 	return 1;
-}	
+}
 
 //SubFunction: SF_getJobNames(Qty)
 //Fills an array @names$ with the job names taken from the array "classes",

+ 2 - 2
npc/custom/eAAC_Scripts/kafraExpress/ke_refine.txt

@@ -266,7 +266,7 @@ function SF_purify {
 		set @rough, 990;
 		set @qty, 10;
 		break;
-	case 7: //Ice	
+	case 7: //Ice
 		set @item, 995;
 		set @rough, 991;
 		set @qty, 10;
@@ -276,7 +276,7 @@ function SF_purify {
 		set @rough, 992;
 		set @qty, 10;
 		break;
-	case 9: //Earth	
+	case 9: //Earth
 		set @item, 997;
 		set @rough, 993;
 		set @qty, 10;

+ 1 - 1
npc/custom/eAAC_Scripts/kafraExpress/ke_shop.txt

@@ -54,7 +54,7 @@ function	script	F_keShop	{
 				"- Buy items",
 				"- Sell items"
 			);
-			break;		
+			break;
 	}
 	if (@kmenu == 1)
 		return;

+ 20 - 20
npc/custom/eAAC_Scripts/kafraExpress/ke_warp_dungeon.txt

@@ -504,7 +504,7 @@ function SF_byalan {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"izlu2dun",114,84;
 		break;
 	case 3:
@@ -516,7 +516,7 @@ function SF_byalan {
 	case 5:
 		callfunc "F_keWarp",@cost4*100/@discountKP,$@kewd_discount,e_hmm,"iz_dun03",32,63;
 		break;
-	case 6:	
+	case 6:
 		callfunc "F_keWarp",@cost5*100/@discountKP,$@kewd_discount,e_hmm,"iz_dun04",26,27;
 		break;
 	}
@@ -585,7 +585,7 @@ function SF_clockTower {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"aldebaran",140,130;
 		break;
 	case 3:
@@ -633,10 +633,10 @@ function SF_coalMine {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"mjolnir_02",89,358;
 		break;
-	case 3:	
+	case 3:
 		callfunc "F_keWarp",@cost2*100/@discountKP,$@kewd_discount,e_hmm,"mjo_dun02",376,342;
 		break;
 	case 4:
@@ -668,10 +668,10 @@ function SF_culvert {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"prt_fild05",274,208;
 		break;
-	case 3:	
+	case 3:
 		callfunc "F_keWarp",@cost2*100/@discountKP,$@kewd_discount,e_hmm,"prt_sewb2",19,19;
 		break;
 	case 4:
@@ -772,7 +772,7 @@ function SF_gefenia {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"gefenia01",60,169;
 		break;
 	case 3:
@@ -847,7 +847,7 @@ function SF_glastHeim {
 			"- Underground Cave Level 2 ("+@cost7+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"glast_01",206,136;
 		break;
@@ -947,7 +947,7 @@ function SF_hiddenTemple {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"prt_fild01",136,361;
 		break;
 	case 3:
@@ -980,7 +980,7 @@ function SF_juperos {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"jupe_cave",55,52;
 		break;
 	case 3:
@@ -1010,7 +1010,7 @@ function SF_kiehl {
 			"- Level 2 ("+@cost2+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"yuno_fild08",80,179;
 		break;
@@ -1041,7 +1041,7 @@ function SF_iceCave {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"ra_fild01",233,319;
 		break;
 	case 3:
@@ -1073,7 +1073,7 @@ function SF_lightHalzen {
 			"- Level 3 ("+@cost3+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 //This is the Rekkenber building entrance, which officially is only a dungeon exit.
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"lighthalzen",74,72;
@@ -1109,7 +1109,7 @@ function SF_louYang {
 		);
 	};
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"louyang",41,267;
 		break;
 	case 3:
@@ -1169,7 +1169,7 @@ function SF_odin {
 			"- Level 3 ("+@cost3+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"odin_tem01",91,145;
 		break;
@@ -1232,7 +1232,7 @@ function SF_payon {
 			"- Level 5 ("+@cost5+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"pay_arche",41,133;
 		break;
@@ -1277,7 +1277,7 @@ function SF_pyramid {
 			"- Basement 2 ("+@cost3+"z)"
 		);
 	}
-	switch (@submenu) {	
+	switch (@submenu) {
 	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"moc_ruins",62,162;
 		break;
@@ -1457,7 +1457,7 @@ function SF_thanatosTower {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"tha_scene01",139,201;
 		break;
 	case 3:
@@ -1555,7 +1555,7 @@ function SF_turtleIsland {
 		);
 	}
 	switch (@submenu) {
-	case 2:	
+	case 2:
 		callfunc "F_keWarp",@cost*100/@discountKP,$@kewd_discount,e_hmm,"tur_dun01",153,47;
 		break;
 	case 3:

+ 1 - 1
npc/custom/eAAC_Scripts/kafraExpress/readme.txt

@@ -183,7 +183,7 @@ For example, the renting module's configuration segment is:
 
 	//-------------------------------------------------------------------------------
 	//Config for the Renting Module
-	//-------------------------------------------------------------------------------	
+	//-------------------------------------------------------------------------------
 OnLoadRent:
 	set $@kert_cartOnly, 0;	//Set to 1 to enable only cart rental, 0 enables all add-ons.
 	set $@kert_cartCost, 2000;	//Cost to rent a Cart.

+ 1 - 1
npc/custom/jobs/jobmaster.txt

@@ -146,7 +146,7 @@ prontera,153,193,6	script	Job Master	123,{
 				case Job_Thief:
 					set @job_opt[0], Job_Assassin;
 					set @job_opt[1], Job_Rogue;
-					break;						
+					break;
 				default:
 					set @job_opt[0], Job_Star_Gladiator;
 					set @job_opt[1], Job_Soul_Linker;

+ 1 - 1
npc/custom/marriage.txt

@@ -530,7 +530,7 @@ function SF_Register {
 		mes "Come back when you are ready.";
 		close;
 	}
-}	
+}
 	
 function SF_WedProgress {
 	if (strcharinfo(0) == $wed_groom$) {

+ 4 - 4
npc/events/christmas_2008.txt

@@ -590,7 +590,7 @@ prontera,226,306,4	script	Caroller#iROxmas08	79,{
 			}
 			else if (.@SantaCardNpc == 3) {
 				cutin "���Ʈ��ī��",4;
-			}		
+			}
 			next;
 			set .@SantaCardTurn,.@SantaCardTurn+1;
 			if (.@SantaCardP == .@SantaCardNpc) {
@@ -635,10 +635,10 @@ prontera,226,306,4	script	Caroller#iROxmas08	79,{
 				getitem 595,3;
 			}
 			else if (.@SantaCardPrize == 3) {
-				getitem 593,3;							
+				getitem 593,3;
 			}
 			else if (.@SantaCardPrize == 4) {
-				getitem 12236,3;			
+				getitem 12236,3;
 			}
 			else if (.@SantaCardPrize == 5) {
 				getitem 538,10;
@@ -780,7 +780,7 @@ xmas_in,89,92,4	script	Louise Kim#iROxmas08	714,{
 	mes "[Louise Kim]";
 	mes "If you bring me all that stuff, I can make you a glamorous Santa costume.";
 	next;
-	if (countitem(2301) < 1 || countitem(501) < 3 || countitem(523) < 1 || countitem(7175) < 4 || countitem(7174) < 1) {		
+	if (countitem(2301) < 1 || countitem(501) < 3 || countitem(523) < 1 || countitem(7175) < 4 || countitem(7174) < 1) {
 			mes "[Louise Kim]";
 			mes "If you were to bring me all the stuff, I would make you a wonderful costume, for free...";
 			next;

+ 1 - 1
npc/events/event_skill_reset.txt

@@ -63,7 +63,7 @@ yuno,138,187,4	script	Hypnotist Teacher	124,{
 	mes "if you ever want a reset!!"; 
 	close;
 
-L_Info:	
+L_Info:
 	mes @npcname$;
 	mes "This skill reset is not FREE OF CHARGE!!";
 	mes "Expense for the reset of skill is ^D5A50020000 Zeny x BaseLv^000000.";

+ 1 - 1
npc/events/halloween_2006.txt

@@ -1068,7 +1068,7 @@ prontera,155,285,3	script	Familiar#06_hw01::HWFamiDup	799,{
 		mes "Ok.";
 		mes "Actually, it's useless to have a special ticket to Nifflheim.";
 		close;
-	}		
+	}
 	mes "[Familiar]";
 	mes "Ok.";
 	mes "If you want to ask something, give a piece of pumpkin pie to Loli Ruri.";

+ 1 - 1
npc/events/halloween_2008.txt

@@ -195,7 +195,7 @@ payon,162,176,4	script	Halloween Magician#iRO08	704,{
 						getitem 617,1;
 						goto Enough;
 					}
-					break;			
+					break;
 				case 5:
 					if(countitem(7941) < 200) {
 						goto NotEnough;

+ 2 - 2
npc/events/halloween_2009.txt

@@ -156,7 +156,7 @@ OnTouch:
 				mes "Fine. I have no choice but to trick you!";
 				sc_start SC_Stun,5000,0;
 				close;
-			}	
+			}
 		case 3:
 			if(countitem(538) > 0) {
 				mes "[Trick or Treater]";
@@ -177,7 +177,7 @@ OnTouch:
 				mes "Fine. I have no choice but to trick you!";
 				sc_start SC_Stun,5000,0;
 				close;
-			}	
+			}
 		case 4:
 			mes "[Trick or Treater]";
 			mes "At least a Candy, a Candy Cane or a Well-baked Cookie is all I ask for a treat.";

+ 1 - 1
npc/events/idul_fitri.txt

@@ -68,7 +68,7 @@ prontera,146,92,3	script	Cellerb	58,{
 		emotion e_thx;
 		close;
 
-	case 2:	
+	case 2:
 		mes @npcname$;
 		mes "Oh well, maybe you will participate in tommorow's quest.";
 		emotion e_hmm;

+ 2 - 2
npc/events/twintowers.txt

@@ -33,7 +33,7 @@ prontera,146,92,4	script	Twin Towers#tt1::Twin-Towers	812,{
 	next;
 	menu "I shall accept your offer.",YES,"I'll ask for your service next time.",NO;
 
-	NO:	
+	NO:
 	mes "[Twin Towers]"; 
 	mes "Er, what a pity. Traveling by yourself is still the best evidence of adventure.";
 	mes "Isn't this proving that you are still young?";
@@ -48,7 +48,7 @@ prontera,146,92,4	script	Twin Towers#tt1::Twin-Towers	812,{
 	mes "Forget all your troubles, and create a splendid legend in this wonderful world.";
 	mes "This is such a wonderful world, and you'll always be a great adventurer!";
 	close;
-	YES:	
+	YES:
 	mes "[Twin Towers]";
 	mes "The flaming passion of an adventurer,";
 	mes "The desire to explore the unknown realms,";

+ 3 - 3
npc/events/valentinesday_2009.txt

@@ -123,7 +123,7 @@ prontera,164,174,4	script	Trader#Val09	58,{
 				next;
 				mes "[Marco Bassinio]";
 				mes "You're not saying that you want an empty chocolate box without any chocolate in it, am I right?";
-				close;				
+				close;
 			}
 			if (!checkweight(12744,1)) {
 				mes "[Marco Bassinio]";
@@ -292,7 +292,7 @@ prontera,147,171,5	script	Packs Trader#Val09	58,{
 					getitem 7948,.@input;
 					next;
 					break;
-				}	
+				}
 			case 4:
 				mes "[Packs Trader]";
 				mes "Goodbye!";
@@ -503,7 +503,7 @@ prontera,157,185,4	script	Valentine Vote Manager#v	113,{
 				mes "[Valentine Vote Manager]";
 				mes "The current record shows... "+$Val09name_F$+" is the female vote leader who's registered the total of "+$Val09votes_F+" rings.";
 				next;
-				break;			
+				break;
 
 			case 3:
 				mes "[Valentine Vote Manager]";

+ 1 - 1
npc/guild/agit_controller.txt

@@ -78,7 +78,7 @@ S_DisplayOwners:
 		}
 		else {
 			Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe;
-		}		
+		}
 	}
 	end;
 }

+ 3 - 3
npc/guild/agit_template.txt

@@ -916,7 +916,7 @@ OnSpawnGuardians:
 
 OnGuardianDied:
 	end;
-}	
+}
 
 // Kafra Template
 //============================================================
@@ -974,7 +974,7 @@ OnGuardianDied:
 				end;
 			}
 			cutin "", 255;
-			close;			
+			close;
 		case 3:
 			mes "[Kafra staff]";
 			mes "Please let me know your destination.";
@@ -1028,7 +1028,7 @@ OnGuardianDied:
 				case 2:
 					break;
 				}
-			}		
+			}
 			break;
 		case 5:
 			mes "[Kafra staff]";

+ 3 - 3
npc/jobs/1-1/thief.txt

@@ -79,7 +79,7 @@ moc_prydb1,39,129,2	script	Thief Guide#thief	69,{
 				mes "[Thief Guildsman]";
 				mes "Hey, brother.";
 				mes "Why are you here? Go back to your place~ go back~~";
-				close;			
+				close;
 			}else{
 				mes "[Thief Guildsman]";
 				mes "What the heck...?";
@@ -87,7 +87,7 @@ moc_prydb1,39,129,2	script	Thief Guide#thief	69,{
 				mes "[Thief Guildsman]";
 				mes "Hey, lady.";
 				mes "Why are you here? Go back to your place~ go back~~";
-				close;			
+				close;
 			}
 		}
 	}
@@ -146,7 +146,7 @@ moc_prydb1,39,129,2	script	Thief Guide#thief	69,{
 		mes "I can see your strong will to become a Thief......";
 		mes "But only with your will, you cannot make it in a real fight, can you?";
 		mes "So go and reach at least Basic Skill Level 9.";
-		close;		
+		close;
 	}
 	mes "[Thief Guildsman]";
 	mes "Hmm.... I found your interesting criminal records from the data of the detective agency. Well you seem to have what it takes to be a good thief.";

+ 1 - 1
npc/jobs/1-1e/gunslinger.txt

@@ -358,7 +358,7 @@ payon,184,65,3	script	Wise Bull Horn	866,{
 			mes "earth. Would you do this old";
 			mes "Gunslinger a favor a bring me";
 			mes "a cold glass of Milk, please?";
-			close;		
+			close;
 		}
 		delitem 519,1;	// Milk
 		set GUNS_Q,5;

+ 1 - 1
npc/jobs/2-1/hunter.txt

@@ -1510,7 +1510,7 @@ job_hunte,55,120,0	duplicate(HntTrap)	23-6	-1,0,0
 job_hunte,66,120,0	duplicate(HntTrap)	24-1	-1,0,0
 job_hunte,66,121,0	duplicate(HntTrap)	24-2	-1,0,0
 job_hunte,67,120,0	duplicate(HntTrap)	24-3	-1,0,0
-job_hunte,67,121,0	duplicate(HntTrap)	24-4	-1,0,0	
+job_hunte,67,121,0	duplicate(HntTrap)	24-4	-1,0,0
 job_hunte,114,118,0	duplicate(HntTrap)	25-1	-1,0,0
 job_hunte,114,119,0	duplicate(HntTrap)	25-2	-1,0,0
 job_hunte,115,118,0	duplicate(HntTrap)	25-3	-1,0,0

+ 2 - 2
npc/jobs/2-1e/StarGladiator.txt

@@ -106,7 +106,7 @@ payon,215,102,3	script	Moohyun#job_star	828,3,3,{
 							set STGL_Q,1;
 							setquest 7007;
 							close;
-						}					
+						}
 						mes "[Moohyun]";
 						mes "That's fine. Changing your";
 						mes "job is an important decision,";
@@ -178,7 +178,7 @@ payon,215,102,3	script	Moohyun#job_star	828,3,3,{
 				mes "when you really need it. There";
 				mes "is no shame in being unable to";
 				mes "accomplish something alone...";
-				close;		
+				close;
 			}
 			mes "[Moohyun]";
 			mes "Ah, that. Beeryu has";

+ 2 - 2
npc/jobs/3-1/warlock.txt

@@ -1488,7 +1488,7 @@ spl_in02,80,108,5	script	Guild Master#Warlock	465,{
 				}
 			}
 			mes "[Master Egnoloria]";
-			//Custom Translation			
+			//Custom Translation
 			mes "Ah......?";
 			close;
 		}
@@ -1737,7 +1737,7 @@ OnTimer293000:
 	end;
 
 OnTimer303000:
-	mapannounce "job3_war02","The magic stabilization has failed. The fragment has lost it's power.",bc_map; // custom translation.	
+	mapannounce "job3_war02","The magic stabilization has failed. The fragment has lost it's power.",bc_map; // custom translation.
 	donpcevent "The chamber of magic#W::OnReset";
 	donpcevent "The chamber of magic#W2::OnReset";
 	donpcevent "The chamber of magic#W3::OnReset";

+ 41 - 41
npc/jobs/3-2/wanderer.txt

@@ -218,7 +218,7 @@ xmas,132,143,5	script	Performance Manager#w	713,{
 			switch(select("I'm not interested.:What happened?:If you're not saying, why would you tell me that?")) {
 				case 1:
 					mes "[Stage Staff]";
-					mes "Oh! What a ruthless world!";		
+					mes "Oh! What a ruthless world!";
 					close;
 				case 2:
 					mes "[Stage Staff]";
@@ -231,7 +231,7 @@ xmas,132,143,5	script	Performance Manager#w	713,{
 				case 3:
 					emotion e_ag;
 					mes "[Stage Staff]";
-					mes "I am not saying it? I'm too depressed! Well, now you know!";		
+					mes "I am not saying it? I'm too depressed! Well, now you know!";
 					next;
 					break;
 			}
@@ -247,7 +247,7 @@ L_wh1:
 					next;
 					emotion e_wah;
 					mes "[Stage Staff]";
-					mes "People will put a collar on me! Oh, terrible, so terrible!";				
+					mes "People will put a collar on me! Oh, terrible, so terrible!";
 					next;
 					goto L_wh2;
 				case 2:
@@ -256,7 +256,7 @@ L_wh1:
 					mes "It's <Nuoli Ou>!";
 					mes "Do you know?";
 					mes "They are the worst people in the world.";
-					next;				
+					next;
 					break;
 				case 3:
 					mes "[Stage Staff]";
@@ -386,7 +386,7 @@ L_wh3:
 			mes "Thanks to you, the performance went successfully as planned.";
 			mes "They are really talented!";
 			mes "As a reward, I will prepare a stage especially for you.";
-			close;		
+			close;
 		}
 	}
 	mes "[Stage Staff]";
@@ -556,7 +556,7 @@ comodo,140,86,5	script	Cheerless Minstrel#w	479,{
 				else {
 					mes "["+strcharinfo(0)+"]";
 					mes "It doesn't look like a good idea to me.";
-					close;				
+					close;
 				}
 			case 3:
 				set .@scream,getskilllv(329);
@@ -624,7 +624,7 @@ comodo,140,86,5	script	Cheerless Minstrel#w	479,{
 					emotion e_lv,1;
 					next;
 					break;
-				}	
+				}
 		}
 		mes "[Guitar Song]";
 		mes "Ah, oh, well!";
@@ -692,7 +692,7 @@ comodo,140,86,5	script	Cheerless Minstrel#w	479,{
 	else {
 		mes "[inability of the court musicians]";
 		mes "Where is my companion ...";
-		close;   		
+		close;
 	}
 }
 
@@ -753,7 +753,7 @@ hu_in01,305,251,5	script	Vacant Looking Lady#w	879,{
         emotion e_sob;
         mes "[Vacant Looking Lady]";
         mes "Why didn't Guitar Song recognized me, ah? I still have no make-up on my face so he won't recognize me, ah? Ooo-ooo...";
-        next;		
+        next;
 		menu "So you have to solve this problem?",-;
 		emotion e_sob;
         mes "[Vacant Looking Lady]";
@@ -802,11 +802,11 @@ hu_in01,305,251,5	script	Vacant Looking Lady#w	879,{
         mes "[Dancer Kim]";
         mes "I was once a beautiful dove, but now I became a hen.";
         mes "Dancer Kim's is no longer wanderer.";
-        next;		
+        next;
 		if (select("Don't give up.:You'll can handle it yourself.") == 2){
             mes "[Dancer Kim]";
             mes "My life has not came out from the abyss ...";
-            close;			
+            close;
 		}
         mes "[Dancer Kim]";
         mes "I already said that it's all over with Guitar Song.";
@@ -828,8 +828,8 @@ hu_in01,305,251,5	script	Vacant Looking Lady#w	879,{
 		if (select("Then there is nothing else to do.:Lets exercise.") == 1){
             mes "[Dancer Kim]";
             mes "There is no dream, no hope...";
-            close;			
-		}		
+            close;
+		}
         mes "[Dancer Kim]";
         mes "Do you want to exercise with me? Together?";
         mes "Really?";
@@ -841,7 +841,7 @@ hu_in01,305,251,5	script	Vacant Looking Lady#w	879,{
         mes "My heart now feels better!";
         mes "I feel like my body is igniting for some action.";
         mes "And now I'm motivated to take advantage of the time and overcome all difficulties as soon as possible!";
-        next;		
+        next;
 		menu "What are we going to do?",-;
         mes "[Dancer Kim]";
         mes "I have a good idea!";
@@ -856,7 +856,7 @@ hu_in01,305,251,5	script	Vacant Looking Lady#w	879,{
 	else if (job_wan == 6 || job_wan == 7) {
         mes "[Dancer Kim]";
         mes "I will wait for you in the Lake of Abyss.";
-        close;		
+        close;
 	}
 	else if (job_wan == 8) {
         mes "[Dancer Kim]";
@@ -885,8 +885,8 @@ hu_fild05,342,130,5	script	Dancer Kim#fild	879,{
 		if (select("No.:Yes.") == 1){
             mes "[Dancer Kim]";
             mes "Please prepare as fast as you can, before all of this will disappear from my interests!";
-            close;			
-		}	
+            close;
+		}
 		mes "[Dancer Kim]";
 		mes "Good! So, prepare!";
 		mes "Start!";
@@ -928,7 +928,7 @@ hu_fild05,342,130,5	script	Dancer Kim#fild	879,{
 					mes "Ah, do me a favour, please.";
 					mes "Can you bring Guitar Song to Lutie?";
 					mes "Say that his partner is waiting for him.";
-					next;				
+					next;
 					menu "No problem!",-;
 					mes "[Dancer Kim]";
 					mes "You're a good person. I'm really happy that I met you.";
@@ -950,7 +950,7 @@ hu_fild05,342,130,5	script	Dancer Kim#fild	879,{
 			mes "- It looks like Dancer Kim cannot stand the pain and gives up. She sat down on the ground -";
 			set job_wan,6;
 			changequest 2221,2220;
-			close;		
+			close;
 		}
 		mes "[Dancer Kim]";
 		mes "Ah ...?";
@@ -960,7 +960,7 @@ hu_fild05,342,130,5	script	Dancer Kim#fild	879,{
 	else if (job_wan == 8) {
 		mes "[Dancer Kim]";
 		mes "Please tell Guitar Song that I'm waiting for him in Lutie.";
-		close;		
+		close;
 	}
 	mes "[Dancer Kim]";
 	mes "Hunting Yellow Novus really is the best sport.";
@@ -978,11 +978,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Yeah! Novuses are coming, my sister!",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -999,11 +999,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Yeah! Novuses are coming, my sister!",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1020,11 +1020,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Yeah! Novuses are coming, my sister!",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1041,11 +1041,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Yeah! Novuses are coming, my sister!",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1062,11 +1062,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Yeah! Novuses are coming, my sister!",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1083,11 +1083,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Ah, my nails are broken! It hurt... Forget about it...",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	
 	}
@@ -1105,11 +1105,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Ah, my nails are broken! It hurt... Forget about it...",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1126,11 +1126,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Ah, my nails are broken! It hurt... Forget about it...",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1147,11 +1147,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Ah, my nails are broken! It hurt... Forget about it...",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1168,11 +1168,11 @@ OnTouch:
 		}
 		if (.@bc_rd == 2){
 			mapannounce "hu_fild05","Dancer Kim: Ah, my nails are broken! It hurt... Forget about it...",bc_map;
-			end;			
+			end;
 		}
 		else {
 			mapannounce "hu_fild05","Dancer Kim: Oh, you're tired so soon? It seems that I'll win this!",bc_map;
-			end;			
+			end;
 		}
 	}
 	end;
@@ -1241,7 +1241,7 @@ if (job_wan == 9){
 		emotion e_lv,"Audience#xmas3";
 		emotion e_lv,"Audience#xmas4";
 		emotion e_lv,"Little Iraki#xm";
-		emotion e_lv,"Mimi#xmas";		
+		emotion e_lv,"Mimi#xmas";
 		mes "[Audience]";
 		mes "Hello !!!!!";
 		next;

+ 3 - 3
npc/jobs/novice/novice.txt

@@ -622,7 +622,7 @@ new_1-2,32,172,4	script	Chocolat#nv	96,{
 		mes "Why are you still here?";
 		close2;
 		warp "prontera",156,90;
-		end;		
+		end;
 	}
 }
 
@@ -1149,7 +1149,7 @@ new_5-3,96,30,4	duplicate(NvBrade)	Brade#nv5	733
 			mes "I'll wait for you here.";
 			mes "Wish you a good luck.";
 			close;
-		}		
+		}
 	case 4:
 		mes "[Swordman Guildsman]";
 		mes "If you have any questions about the Swordman class, please ask me.";
@@ -1689,7 +1689,7 @@ new_5-3,109,41,4	duplicate(NvMer)	Merchant Guide#nv5	97
 			next;
 			mes "[Archer Guide]";
 			mes "Do you want to register to test skill experience?";
-			mes "Would you like to test Archer skills?";			
+			mes "Would you like to test Archer skills?";
 			next;
 			if(select("I want to test Archer skills.:I don't want to test it.") == 2) {
 				mes "[Archer Guide]";

+ 1 - 1
npc/merchants/buying_shops.txt

@@ -234,7 +234,7 @@ alberta_in,58,52,4	script	Purchasing Team#Buying	59,{
 				mes "I've given you 5 Bulk Buyer Shop Licenses for your trial.";
 				mes "Enjoy shopping!";
 				close;
-			}			
+			}
 		}
 	}else{
 		mes "[Mr. Hugh]";

+ 1 - 1
npc/merchants/cashheadgear_dye.txt

@@ -78,7 +78,7 @@ prt_in,253,168,4	script	Alora	862,{
 	mes "Oh I'm so excited aren't you?";
 	mes "And just to be sure, what color is the "+ .@hgn$[.@t] +" you want me to use?";
 	next;
-	mes "[Alora]";			
+	mes "[Alora]";
 	mes "Please understand that I'm going to use the ^FF00001st "+ .@hgn$[.@t] +" of that color in your inventory!^000000";
 	next;
 	mes "[Alora]";

+ 1 - 1
npc/merchants/clothes_dyer.txt

@@ -161,7 +161,7 @@ L_Super_Novice_M:
 
 //=================================
 // Clothing Dyeing for Females
-//=================================	
+//=================================
 Female_dye:
 	if(BaseJob==Job_Novice || BaseJob==Job_Novice_High || BaseJob==Job_Baby) goto L_Novice_F;
 	if(BaseJob==Job_Swordman || BaseJob==Job_Swordman_High || BaseJob==Job_Baby_Swordman) goto L_Swordman_F;

+ 1 - 1
npc/merchants/icecream.txt

@@ -54,7 +54,7 @@
 			mes "If you eat more than 5 Ice creams,";
 			mes "If you might haveto make a lot of trips";
 			mes "to the bathroom tonight.";
-			next;		
+			next;
 		}
 	}
 	if(Zeny<.@input*100) {

+ 2 - 2
npc/merchants/refine.txt

@@ -479,7 +479,7 @@ ein_in01,38,29,0	script	Paul Spanner	63,{
 		case 2:
 			set .@item,1011;
 			set .@item_price,1000;
-			break;		
+			break;
 		case 3:
 			mes "[Paul Spanner]";
 			mes "If you need anything, just let me know.";
@@ -896,7 +896,7 @@ function	script	refinemain	{
 	}
 	mes "[" + getarg(0) + "]";
 	mes "All finished... Come again soon.";
-	close;		
+	close;
 }
 
 

+ 16 - 16
npc/other/arena/arena_lvl50.txt

@@ -59,7 +59,7 @@ OnTimer5000:
 	
 OnTimer60000:
 	set $@mapcount50, getmapusers ("force_1-1");
-	if ($@mapcount50 == 0) {	
+	if ($@mapcount50 == 0) {
 		donpcevent "Heel and Toe#arena::Onfailclearstage";
 	}
 	mapannounce "force_1-1","Remaining Time : 4 minutes ",0;
@@ -67,7 +67,7 @@ OnTimer60000:
 	
 OnTimer120000:
 	 set $@mapcount50, getmapusers ("force_1-1");
-	if ($@mapcount50 == 0) {	
+	if ($@mapcount50 == 0) {
 		donpcevent "Heel and Toe#arena::Onfailclearstage";
 	}
 	mapannounce "force_1-1","Remaining Time : 3 minutes ",0;
@@ -75,14 +75,14 @@ OnTimer120000:
 	
 OnTimer180000:
 	 set $@mapcount50, getmapusers ("force_1-1");
-	if ($@mapcount50 == 0) {	
+	if ($@mapcount50 == 0) {
 		donpcevent "Heel and Toe#arena::Onfailclearstage";
 	}
 	mapannounce "force_1-1","Remaining Time : 2 minutes ",0;
 end;
 OnTimer240000:
 	 set $@mapcount50, getmapusers ("force_1-1");
-	if ($@mapcount50 == 0) {	
+	if ($@mapcount50 == 0) {
 		donpcevent "Heel and Toe#arena::Onfailclearstage";
 	}
 	mapannounce "force_1-1","Remaining Time : 1 minute ",0;
@@ -455,7 +455,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_01_50,$force_01_50 -1;
-	if ($force_01_50 < 1) {	
+	if ($force_01_50 < 1) {
 		donpcevent "Heel and Toe#arena::On01_end";
 		donpcevent "arena#50::Onreset_01";
 	}
@@ -540,7 +540,7 @@ Onreset:
 OnMobDeath:
 	set $force_03_50,$force_03_50 -1;
 	donpcevent "force_03mob#50::Onsummonmob_03";
-	if ($force_03_50 < 1) {	
+	if ($force_03_50 < 1) {
 		donpcevent "Heel and Toe#arena::On03_end";
 		donpcevent "arena#50::Onreset_03";
 	}
@@ -598,7 +598,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_04_50,$force_04_50 -1;
-	if ($force_04_50 < 1) {	
+	if ($force_04_50 < 1) {
 		donpcevent "Heel and Toe#arena::On04_end";
 		donpcevent "arena#50::Onreset_04";
 	}
@@ -653,7 +653,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_05_50,$force_05_50 -1;
-	if ($force_05_50 < 1) {	
+	if ($force_05_50 < 1) {
 		donpcevent "Heel and Toe#arena::On05_end";
 		donpcevent "arena#50::Onreset_05";
 	}
@@ -711,7 +711,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_06_50,$force_06_50 -1;
-	if ($force_06_50 < 1) {	
+	if ($force_06_50 < 1) {
 		donpcevent "Heel and Toe#arena::On06_end";
 		donpcevent "arena#50::Onreset_06";
 	}
@@ -774,7 +774,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_07_50,$force_07_50 -1;
-	if ($force_07_50 < 1) {	
+	if ($force_07_50 < 1) {
 		donpcevent "Heel and Toe#arena::On07_end";
 		donpcevent "arena#50::Onreset_07";
 	}
@@ -844,7 +844,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_09_50,$force_09_50 -1;
-	if ($force_09_50 < 1) {	
+	if ($force_09_50 < 1) {
 		donpcevent "Heel and Toe#arena::On09_end";
 		donpcevent "arena#50::Onreset_09";
 		donpcevent "arena#50::Onreset_all";
@@ -860,7 +860,7 @@ prt_are_in,129,188,3	script	Staff#50-1	67,{
 	mes "You did a good job.";
 	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
 	next;
-	if (arena_point == 30000) {	
+	if (arena_point == 30000) {
 		mes "[Staff]";
 		mes "Uh huh!";
 		mes "You already have enough arena points.";
@@ -924,7 +924,7 @@ prt_are_in,25,188,3	script	Staff#50-2	67,{
 		mes "[Staff]";
 		mes "Although you failed to make a new record, I hope you will succeed next time.";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -971,7 +971,7 @@ prt_are_in,25,188,3	script	Staff#50-2	67,{
 		set $arena_50topn$,strcharinfo(0);
 		donpcevent "Vendigos::Onlinerec_50";
 		next;
-		if (arena_point > 29950) {	
+		if (arena_point > 29950) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -1007,7 +1007,7 @@ prt_are_in,25,188,3	script	Staff#50-2	67,{
 		donpcevent "alloff#50::Onon";
 		donpcevent "lvl 50s Waiting Room::Onstart";
 		end;
-	}	
+	}
 }
 
 prt_are_in,14,195,3	script	#arn_timer_50	139,{
@@ -1101,7 +1101,7 @@ Onon:
 	enablenpc "arena#50";
 	end;
 
-OnInit:	
+OnInit:
 	if(!$top_50min && !$top_50sec) set $top_50min,5;
 	end;
 

+ 18 - 18
npc/other/arena/arena_lvl60.txt

@@ -44,7 +44,7 @@ OnTouch:
 	set Zeny,Zeny -1000;
 	disablenpc "ArenaFee#60";
 	end;
-}	
+}
 
 force_2-1,99,20,4	script	Minilover#arena	124,{
 
@@ -72,7 +72,7 @@ OnTimer5000:
 	
 OnTimer60000:
 	set $@mapcount60, getmapusers ("force_2-1");
-	if ($@mapcount60 == 0) {	
+	if ($@mapcount60 == 0) {
 		donpcevent "Minilover#arena::Onfailclearstage";
 	}
 	mapannounce "force_2-1","Remaining Time : 5 minutes ",0;
@@ -80,7 +80,7 @@ OnTimer60000:
 	
 OnTimer120000:
 	set $@mapcount60, getmapusers ("force_2-1");
-	if ($@mapcount60 == 0) {	
+	if ($@mapcount60 == 0) {
 		donpcevent "Minilover#arena::Onfailclearstage";
 	}
 	mapannounce "force_2-1","Remaining Time : 4 minutes ",0;
@@ -88,7 +88,7 @@ OnTimer120000:
 	
 OnTimer180000:
 	set $@mapcount60, getmapusers ("force_2-1");
-	if ($@mapcount60 == 0) {	
+	if ($@mapcount60 == 0) {
 		donpcevent "Minilover#arena::Onfailclearstage";
 	}
 	mapannounce "force_2-1","Remaining Time : 3 minutes ",0;
@@ -96,7 +96,7 @@ OnTimer180000:
 	
 OnTimer240000:
 	set $@mapcount60, getmapusers ("force_2-1");
-	if ($@mapcount60 == 0) {	
+	if ($@mapcount60 == 0) {
 		donpcevent "Minilover#arena::Onfailclearstage";
 	}
 	mapannounce "force_2-1","Remaining Time : 2 minutes ",0;
@@ -104,7 +104,7 @@ OnTimer240000:
 	
 OnTimer300000:
 	set $@mapcount60, getmapusers ("force_2-1");
-	if ($@mapcount60 == 0) {	
+	if ($@mapcount60 == 0) {
 		donpcevent "Minilover#arena::Onfailclearstage";
 	}
 	mapannounce "force_2-1","Remaining Time : 1 minute ",0;
@@ -450,7 +450,7 @@ Onon:
 
 OnMobDeath:
 	set $force_01_60,$force_01_60 -1;
-	if ($force_01_60 < 1) {	
+	if ($force_01_60 < 1) {
 		donpcevent "Minilover#arena::On01_end";
 		donpcevent "arena#60::Onreset_01";
 	}
@@ -553,7 +553,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_03_60,$force_03_60 -1;
-	if ($force_03_60 < 1) {	
+	if ($force_03_60 < 1) {
 		donpcevent "Minilover#arena::On03_end";
 		donpcevent "arena#60::Onreset_03";
 	}
@@ -602,7 +602,7 @@ Onon:
 
 OnMobDeath:
 	set $force_04_60,$force_04_60 -1;
-	if ($force_04_60 < 1) {	
+	if ($force_04_60 < 1) {
 		donpcevent "force_04ex#60::Onreset";
 		donpcevent "Minilover#arena::On04_end";
 		donpcevent "arena#60::Onreset_04";
@@ -660,7 +660,7 @@ Onon:
 
 OnMobDeath:
 	set $force_05_60,$force_05_60 -1;
-	if ($force_05_60 < 1) {	
+	if ($force_05_60 < 1) {
 		donpcevent "Minilover#arena::On05_end";
 		donpcevent "arena#60::Onreset_05";
 	}
@@ -741,7 +741,7 @@ Onon:
 
 OnMobDeath:
 	set $force_06_60,$force_06_60 -1;
-	if ($force_06_60 < 1) {	
+	if ($force_06_60 < 1) {
 		set door, 1;
 		donpcevent "Minilover#arena::On06_end";
 		donpcevent "arena#60::Onreset_06";
@@ -773,7 +773,7 @@ Onon:
 
 OnMobDeath:
 	set $force_07_50,$force_07_50 -1;
-	if ($force_07_50 < 1) {	
+	if ($force_07_50 < 1) {
 		donpcevent "Minilover#arena::On07_end";
 		donpcevent "arena#60::Onreset_07";
 	}
@@ -854,7 +854,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_09_60,$force_09_60 -1;
-	if ($force_09_60 < 1) {	
+	if ($force_09_60 < 1) {
 		donpcevent "Minilover#arena::On09_end";
 		donpcevent "arena#60::Onreset_09";
 		donpcevent "arena#60::Onreset_all";
@@ -870,7 +870,7 @@ prt_are_in,129,135,3	script	Staff#60-1	67,{
 	mes "You did a good job.";
 	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
 	next;
-	if (arena_point == 30000) {	
+	if (arena_point == 30000) {
 		mes "[Staff]";
 		mes "Uh huh!";
 		mes "You already have enough arena points.";
@@ -934,7 +934,7 @@ prt_are_in,25,135,3	script	Staff#60-2	67,{
 		mes "[Staff]";
 		mes "Although you failed to make a new record, I hope you will succeed next time.";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -981,7 +981,7 @@ prt_are_in,25,135,3	script	Staff#60-2	67,{
 		set $arena_60topn$,strcharinfo(0);
 		donpcevent "Vendigos::Onlinerec_60";
 		next;
-		if (arena_point > 29950) {	
+		if (arena_point > 29950) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -1017,7 +1017,7 @@ prt_are_in,25,135,3	script	Staff#60-2	67,{
 		donpcevent "alloff#60::Onon";
 		donpcevent "lvl 60s Waiting Room::Onstart";
 		end;
-	}	
+	}
 
 }
 
@@ -1115,7 +1115,7 @@ Onon:
 	enablenpc "arena#60";
 	end;
 
-OnInit:	
+OnInit:
 	if(!$top_60min && !$top_60sec) set $top_60min,6;
 	end;
 

+ 19 - 19
npc/other/arena/arena_lvl70.txt

@@ -59,7 +59,7 @@ OnTimer7000:
 	
 OnTimer60000:
 	set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 6 minutes ",0;
@@ -67,7 +67,7 @@ OnTimer60000:
 	
 OnTimer120000:
 	 set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 5 minutes ",0;
@@ -75,14 +75,14 @@ OnTimer120000:
 	
 OnTimer180000:
 	 set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 4 minutes ",0;
 end;
 OnTimer240000:
 	 set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 3 minutes ",0;
@@ -90,7 +90,7 @@ OnTimer240000:
 
 OnTimer300000:
 	 set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 2 minutes ",0;
@@ -98,7 +98,7 @@ OnTimer300000:
 
 OnTimer360000:
 	 set $@mapcount70, getmapusers ("force_3-1");
-	if ($@mapcount70 == 0) {	
+	if ($@mapcount70 == 0) {
 		donpcevent "Cadillac#arena::Onfailclearstage";
 	}
 	mapannounce "force_3-1","Remaining Time : 1 minute ",0;
@@ -435,7 +435,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_01_70,$force_01_70 -1;
-	if ($force_01_70 < 1) {	
+	if ($force_01_70 < 1) {
 		donpcevent "Cadillac#arena::On01_end";
 		donpcevent "arena#70::Onreset_01";
 	}
@@ -489,7 +489,7 @@ Onon:
 
 OnMobDeath:
 	set $force_02_70,$force_02_70 -1;
-	if ($force_02_70 < 1) {	
+	if ($force_02_70 < 1) {
 		donpcevent "Cadillac#arena::On02_end";
 		donpcevent "arena#70::Onreset_02";
 	}
@@ -535,7 +535,7 @@ Onreset:
 OnMobDeath:
 	set $force_03_70,$force_03_70 -1;
 	donpcevent "force_03ex#70::Onsummonmob_03";
-	if ($force_03_70 < 1) {	
+	if ($force_03_70 < 1) {
 		donpcevent "Cadillac#arena::On03_end";
 		donpcevent "arena#70::Onreset_03";
 	}
@@ -585,7 +585,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_04_70,$force_04_70 -1;
-	if ($force_04_70 < 1) {	
+	if ($force_04_70 < 1) {
 		donpcevent "Cadillac#arena::On04_end";
 		donpcevent "arena#70::Onreset_04";
 	}
@@ -638,7 +638,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_05_70,$force_05_70 -1;
-	if ($force_05_70 < 1) {	
+	if ($force_05_70 < 1) {
 		donpcevent "Cadillac#arena::On05_end";
 		donpcevent "arena#70::Onreset_05";
 	}
@@ -695,7 +695,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_06_70,$force_06_70 -1;
-	if ($force_06_70 < 1) {	
+	if ($force_06_70 < 1) {
 		donpcevent "Cadillac#arena::On06_end";
 		donpcevent "arena#70::Onreset_06";
 	}
@@ -749,7 +749,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_07_70,$force_07_70 -1;
-	if ($force_07_70 < 1) {	
+	if ($force_07_70 < 1) {
 		donpcevent "Cadillac#arena::On07_end";
 		donpcevent "arena#70::Onreset_07";
 	}
@@ -821,7 +821,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_09_70,$force_09_70 -1;
-	if ($force_09_70 < 1) {	
+	if ($force_09_70 < 1) {
 		donpcevent "Cadillac#arena::On09_end";
 		donpcevent "arena#70::Onreset_09";
 		donpcevent "arena#70::Onreset_all";
@@ -837,7 +837,7 @@ prt_are_in,129,83,3	script	Staff#70-1	67,{
 	mes "You did a good job.";
 	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
 	next;
-	if (arena_point == 30000) {	
+	if (arena_point == 30000) {
 		mes "[Staff]";
 		mes "Uh huh!";
 		mes "You already have enough arena points.";
@@ -901,7 +901,7 @@ prt_are_in,25,84,3	script	Staff#70-2	67,{
 		mes "[Staff]";
 		mes "Although you failed to make a new record, I hope you will succeed next time.";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -948,7 +948,7 @@ prt_are_in,25,84,3	script	Staff#70-2	67,{
 		set $arena_70topn$,strcharinfo(0);
 		donpcevent "Vendigos::Onlinerec_70";
 		next;
-		if (arena_point > 29970) {	
+		if (arena_point > 29970) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -984,7 +984,7 @@ prt_are_in,25,84,3	script	Staff#70-2	67,{
 		donpcevent "alloff#70::Onon";
 		donpcevent "lvl 70s Waiting Room::Onstart";
 		end;
-	}	
+	}
 }
 
 prt_are_in,14,195,3	script	#arn_timer_70	139,{
@@ -1080,7 +1080,7 @@ Onon:
 	enablenpc "arena#70";
 	end;
 
-OnInit:	
+OnInit:
 	if(!$top_70min && !$top_70sec) set $top_70min,7;
 	end;
 

+ 20 - 20
npc/other/arena/arena_lvl80.txt

@@ -59,7 +59,7 @@ OnTimer8000:
 	
 OnTimer60000:
 	set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 7 minutes ",0;
@@ -67,7 +67,7 @@ OnTimer60000:
 	
 OnTimer120000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 6 minutes ",0;
@@ -75,14 +75,14 @@ OnTimer120000:
 	
 OnTimer180000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 5 minutes ",0;
 end;
 OnTimer240000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 4 minutes ",0;
@@ -90,7 +90,7 @@ OnTimer240000:
 
 OnTimer300000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 3 minutes ",0;
@@ -98,7 +98,7 @@ OnTimer300000:
 
 OnTimer360000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 2 minutes ",0;
@@ -106,7 +106,7 @@ OnTimer360000:
 	
 OnTimer420000:
 	 set $@mapcount80, getmapusers ("force_4-1");
-	if ($@mapcount80 == 0) {	
+	if ($@mapcount80 == 0) {
 		donpcevent "Octus#arena::Onfailclearstage";
 	}
 	mapannounce "force_4-1","Remaining Time : 1 minute ",0;
@@ -459,7 +459,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_01_80,$force_01_80 -1;
-	if ($force_01_80 < 1) {	
+	if ($force_01_80 < 1) {
 		donpcevent "Octus#arena::On01_end";
 		donpcevent "arena#80::Onreset_01";
 	}
@@ -500,7 +500,7 @@ Onon:
 
 OnMobDeath:
 	set $force_02_80,$force_02_80 -1;
-	if ($force_02_80 < 1) {	
+	if ($force_02_80 < 1) {
 		donpcevent "Octus#arena::On02_end";
 		donpcevent "arena#80::Onreset_02";
 	}
@@ -551,7 +551,7 @@ Onreset:
 OnMobDeath:
 	set $force_03_80,$force_03_80 -1;
 	donpcevent "force_03ex#80::Onsummonmob_03";
-	if ($force_03_80 < 1) {	
+	if ($force_03_80 < 1) {
 		donpcevent "Octus#arena::On03_end";
 		donpcevent "arena#80::Onreset_03";
 	}
@@ -605,7 +605,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_04_80,$force_04_80 -1;
-	if ($force_04_80 < 1) {	
+	if ($force_04_80 < 1) {
 		donpcevent "Octus#arena::On04_end";
 		donpcevent "arena#80::Onreset_04";
 	}
@@ -652,7 +652,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_05_80,$force_05_80 -1;
-	if ($force_05_80 < 1) {	
+	if ($force_05_80 < 1) {
 		donpcevent "Octus#arena::On05_end";
 		donpcevent "arena#80::Onreset_05";
 	}
@@ -688,7 +688,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_06_80,$force_06_80 -1;
-	if ($force_06_80 < 1) {	
+	if ($force_06_80 < 1) {
 		donpcevent "Octus#arena::On06_end";
 		donpcevent "arena#80::Onreset_06";
 	}
@@ -734,7 +734,7 @@ Onreset:
 
 OnMobDeath:
 	set $force_07_80,$force_07_80 -1;
-	if ($force_07_80 < 1) {	
+	if ($force_07_80 < 1) {
 		donpcevent "Octus#arena::On07_end";
 		donpcevent "arena#80::Onreset_07";
 	}
@@ -794,7 +794,7 @@ Onreset:
 	
 OnMobDeath:
 	set $force_09_80,$force_09_80 -1;
-	if ($force_09_80 < 1) {	
+	if ($force_09_80 < 1) {
 		donpcevent "Octus#arena::On09_end";
 		donpcevent "arena#80::Onreset_09";
 		donpcevent "arena#80::Onreset_all";
@@ -810,7 +810,7 @@ prt_are_in,181,188,3	script	Staff#80-1	67,{
 	mes "You did a good job.";
 	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
 	next;
-	if (arena_point == 30000) {	
+	if (arena_point == 30000) {
 		mes "[Staff]";
 		mes "Uh huh!";
 		mes "You already have enough arena points.";
@@ -874,7 +874,7 @@ prt_are_in,77,187,3	script	Staff#80-2	67,{
 		mes "[Staff]";
 		mes "Although you failed to make a new record, I hope you will succeed next time.";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -921,7 +921,7 @@ prt_are_in,77,187,3	script	Staff#80-2	67,{
 		set $arena_80topn$,strcharinfo(0);
 		donpcevent "Vendigos::Onlinerec_80";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -957,7 +957,7 @@ prt_are_in,77,187,3	script	Staff#80-2	67,{
 		donpcevent "alloff#80::Onon";
 		donpcevent "lvl 80s Waiting Room::Onstart";
 		end;
-	}	
+	}
 }
 
 prt_are_in,14,195,3	script	#arn_timer_80	139,{
@@ -1051,7 +1051,7 @@ Onon:
 	enablenpc "arena#80";
 	end;
 
-OnInit:	
+OnInit:
 	if(!$top_80min && !$top_80sec) set $top_80min,8;
 	end;
 

+ 5 - 5
npc/other/arena/arena_party.txt

@@ -1140,7 +1140,7 @@ prt_are_in,181,135,3	script	Staff#party-1	67,{
 	mes "You did a good job.";
 	mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points.";
 	next;
-	if (arena_point == 30000) {	
+	if (arena_point == 30000) {
 		mes "[Staff]";
 		mes "Uh huh!";
 		mes "You already have enough arena points.";
@@ -1205,7 +1205,7 @@ prt_are_in,77,135,3	script	Staff#party-2	67,{
 		mes "[Staff]";
 		mes "Although you failed to make a new record, I hope you will succeed next time.";
 		next;
-		if (arena_point > 29980) {	
+		if (arena_point > 29980) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -1293,7 +1293,7 @@ prt_are_in,77,135,3	script	Staff#party-2	67,{
 			
 
 		}
-		if (arena_point > 29900) {	
+		if (arena_point > 29900) {
 			mes "[Staff]";
 			mes "Then let me reward you with some arena points....eh?";
 			mes "Your arena points have exceeded the maximum amount. I cannot give you more points until you spend some points.";
@@ -1331,7 +1331,7 @@ prt_are_in,77,135,3	script	Staff#party-2	67,{
 		specialeffect2 EF_HIT5;
 		warp "arena_room",100,75;
 		end;
-	}	
+	}
 
 }
 
@@ -1455,7 +1455,7 @@ Onon:
 	enablenpc "arena_p";
 	end;
 
-OnInit:	
+OnInit:
 	if(!$top_ptmin && !$top_ptsec) set $top_ptmin,10;
 	end;
 

+ 1 - 1
npc/other/bulletin_boards.txt

@@ -78,7 +78,7 @@ gef_fild10,69,340,5	script	Bulletin Board#3	837,{
 	mes "[Orc Dungeon]";
 	mes "If you don't have a Holy Weapon and you're teamed with a Priest, the Priest's Aspersio spell would be of tremendous help.";
 	close;
-}	
+}
 
 izlu2dun,104,92,5	script	Bulletin Board#4	837,{
 	mes "[Byalan Island]";

+ 1 - 1
npc/other/comodo_gambling.txt

@@ -84,7 +84,7 @@ comodo,219,158,6	script	Kachua	91,{
 	
 	if (countitem(732) == 0) { // anti-hack
 		logmes "Hack: Tried to bypass item check.";
-		cutin "katsua01.bmp",255;					
+		cutin "katsua01.bmp",255;
 		close;
 	}
 	delitem 732,1;

+ 1 - 1
npc/other/hugel_bingo.txt

@@ -110,7 +110,7 @@ L_Fill:
 		mes "["+@bingo_e1$+"] ["+@bingo_e2$+"] ["+@bingo_e3$+"] ["+@bingo_e4$+"] ["+@bingo_e5$+"]";
 		close;
 
-	}	
+	}
 	goto L_Fill;
 	
 }

+ 2 - 2
npc/other/mercenary_rent.txt

@@ -325,7 +325,7 @@ izlude,47,139,5	script	Mercenary Manager#Sword	734,{
 			set Zeny, Zeny - (.@ZenyCost * 1000);
 			getitem 12162 + .@Grade, 1;
 		}
-		close;		
+		close;
 	case 2:
 		mes "[Mercenary Manager]";
 		mes "Mercenaries are soldiers";
@@ -436,7 +436,7 @@ izlude,47,139,5	script	Mercenary Manager#Sword	734,{
 			mercenary_set_faith SWORD_MERC_GUILD,-400;
 			getitem 12172,1;
 		}
-		close;		
+		close;
 	}
 }
 

+ 2 - 2
npc/quests/Dandelion_Request.txt

@@ -2735,7 +2735,7 @@ OnTouch:
 				donpcevent "Valdes#2::OnEnter";
 				donpcevent "Kidd#2::OnEnter";
 				donpcevent "#mao_table::OnEnter";
-			}	
+			}
 			else if(mao_request == 123)
 			{
 				donpcevent "Valdes#2::OnEnter";
@@ -2862,7 +2862,7 @@ OnTouch:
 				donpcevent "Valdes#3::OnEnter";
 				donpcevent "Kidd#3::OnEnter";
 				donpcevent "#Rabsent::OnEnter";
-			}	
+			}
 			else if(mao_request == 122)
 			{
 				donpcevent "#mao_empty::OnEnter";

+ 3 - 3
npc/quests/Kiel_Hyre_Quest.txt

@@ -68,7 +68,7 @@
 //= 3.3 Fixed the receiver log out bugs. [L0ne_W0lf]
 //= 3.4 Fixed bug when u can't get a Yellow Keycard if u got the Blue one at first [Lupus]
 //=     Note: There are many condition checks that should be omitted in the future fixed item names in item_db.txt / txt resources according the quest
-//=     for items, should be used bitwise methods in a single variable. So let's fix the rest possible bugs (if they exist) and then optimize ^_-		
+//=     for items, should be used bitwise methods in a single variable. So let's fix the rest possible bugs (if they exist) and then optimize ^_-
 //= 3.5 Changed the way the Black Keycard distibuting NPCs work slighty. [L0ne_W0lf]
 //= 3.6 Keil Hyre removes ALL outstanding quest items when he is talked [L0ne_W0lf]
 //=	to after finishing the quest.
@@ -1506,7 +1506,7 @@ kh_school,179,39,0	script	Cute Student#kh	895,{
 		mes "homework before it's due!";
 		mes "Yeah, I've got to go see";
 		mes "Mrs. Lecollane now.";
-		next;		
+		next;
 		mes "[Elly]";
 		mes "Say, "+strcharinfo(0)+",";
 		mes "if it's okay, would you";
@@ -7031,7 +7031,7 @@ kh_kiehl02,50,52,4	script	Kiehl#Original	902,{
 		delitem 7504,1; //Toy_Motor
 		set KielHyreQuest,104;
 		hideonnpc "Kiehl#Copy";
-		donpcevent "Kiehl_Room_Exit::OnEnable";			
+		donpcevent "Kiehl_Room_Exit::OnEnable";
 		enablenpc "Kiehl_Room_Exit";
 		initnpctimer;
 		cutin "",255;

+ 1 - 1
npc/quests/Lvl4_weapon_quest.txt

@@ -1786,7 +1786,7 @@ niflheim,240,193,3	script	Kayron#lv4	794,{
 			if (lv4_weapon == 29) {
 				mes "this... Guillotine!";
 				getitem 1369,1; //Guillotine
-			}		
+			}
 			else {
 				mes "this... Brionac!";
 				getitem 1470,1; //Brionac

+ 1 - 1
npc/quests/bunnyband.txt

@@ -55,7 +55,7 @@ alberta,26,229,0	script	Kafra Employee#bunny	83,{
 				mes "bring at least";
 				mes "1 Pearl.";
 				close;
-			}		
+			}
 			if (countitem(2213) == 0) {
 				mes "Ooh, I'm sorry";
 				mes "but you need to";

+ 2 - 2
npc/quests/first_class/tu_archer.txt

@@ -1290,7 +1290,7 @@ pay_arche,84,139,3	script	Seisner	727,{
 		set tu_archer01, 3;
 		if(JobLevel == 1){
 			getexp 0,5;
-		} else if((JobLevel > 1) && (JobLevel < 11)){	
+		} else if((JobLevel > 1) && (JobLevel < 11)){
 			getexp 0,10;
 		} else if((JobLevel > 10) && (JobLevel < 21)){
 			getexp 0,25;
@@ -1485,7 +1485,7 @@ pay_fild08,40,83,5	script	Acolyte#tu	95,{
 			set .@kurae_agi, rand(1,2);
 			if(.@kurae_agi == 1){
 				unitskilluseid getcharid(3),29,10;
-			} else if(.@kurae_agi == 2){	
+			} else if(.@kurae_agi == 2){
 				unitskilluseid getcharid(3),29,5;
 			}
 

+ 3 - 3
npc/quests/first_class/tu_merchant.txt

@@ -818,7 +818,7 @@ prontera,66,111,3	script	Sagle	82,{
 				mes "Zeny, alright?";
 				close;
 			}
-			if(MaxWeight - Weight < 71){			
+			if(MaxWeight - Weight < 71){
 				next;
 				mes "[Sagle]";
 				mes "Whoa, hold on!";
@@ -1041,7 +1041,7 @@ prt_in,169,11,3	script	Aigie	92,{
 			mes "^666666*Sniff Sniff*^000000";
 			close;
 			break;
-		}					
+		}
 	}
 	if(tu_merchant == 7){
 		mes "[Aigie]";
@@ -1088,7 +1088,7 @@ prt_in,169,11,3	script	Aigie	92,{
 			mes "^666666*Sniff Sniff*^000000";
 			close;
 			break;
-		}					
+		}
 	}
 	if(tu_merchant == 6){
 		mes "[Aigie]";

+ 2 - 2
npc/quests/first_class/tu_sword.txt

@@ -2002,7 +2002,7 @@ geffen,154,143,3	script	Dequ'ee	734,{
 		mes "out who he is.";
 		close;
 	}
-	if(tu_swordman == 6){	
+	if(tu_swordman == 6){
 		mes "[Dequ'ee]";
 		mes "Ah...!";
 		mes "Are you the Swordman";
@@ -2293,7 +2293,7 @@ morocc_in,51,101,3	script	Geil	89,{
 	close;
 }
 
-//=================================================Meutro====================================================		
+//=================================================Meutro====================================================
 morocc,82,292,5	script	Muetro	84,{
 	mes "[Muetro]";
 	if(tu_swordman == 15){

+ 2 - 2
npc/quests/gunslinger_quests.txt

@@ -737,7 +737,7 @@ que_ng,185,180,3	script	Vanessa	726,{
 			next;
 			switch( select( "Maybe next time.","Okay.") )
 			{
-				case 1:	
+				case 1:
 					mes "[Vanessa]";
 					mes "Mm~ Is that so~";
 					mes "It will be an opportunity for you.";
@@ -746,7 +746,7 @@ que_ng,185,180,3	script	Vanessa	726,{
 					mes "Bye~Bye~";
 					close;
            
-				case 2:	
+				case 2:
 					mes "[Vanessa]";
 					mes "Mm, Okay.";
 					mes "To make a Destroyer,";

+ 3 - 3
npc/quests/newgears/2005_headgears.txt

@@ -89,7 +89,7 @@ yuno,222,116,3	script	Kasis#LhzHat	851,{
 				next;
 				switch( select( "You can have these if you want.", "Um, why are you staring?" ) )
 				{
-					case 1:		
+					case 1:
 						mes "[Kasis]";
 						mes "Really? Is it alright";
 						mes "with you for me to have";
@@ -655,7 +655,7 @@ lighthalzen,143,68,0	script	Strange Guy#LhzHat	47,{
 				mes "^0000FF1 Slotted Bucket Hat^000000";
 				mes "and ^0000FF1,887 zeny^000000. Okay?";
 				close;
-			case 2:	
+			case 2:
 				mes "[Morris]";
 				mes "Great!";
 				mes "Now let me just";
@@ -1676,7 +1676,7 @@ gl_prison1,97,104,1	script	Phendark#LhzHat	1202,{
 	else if(ZLMASKQ == 2 || ZLMASKQ == 3)
 	{
 		if(countitem(7315) > 368 && ZLMASKQ == 3)
-		{	
+		{
 			mes "[Phendark]";
 			mes "Y-you again!";
 			mes "Why do you hound me?!";

+ 2 - 2
npc/quests/ninja_quests.txt

@@ -257,7 +257,7 @@ que_ng,28,50,3	script	Boshuu	709,{
 			}
 		}
 	}
-	else{	
+	else{
 		set ninbo,0;
 		mes "[Boshuu]";
 		mes "Oh~ You~!";
@@ -356,7 +356,7 @@ que_ng,28,50,3	script	Boshuu	709,{
 				set Zeny,Zeny-10000;
 				set MISC_QUEST,MISC_QUEST | 2048;
 				getitem 2118,1;
-				close;					
+				close;
 			}
 		}
 	}

+ 1 - 1
npc/quests/quests_comodo.txt

@@ -1099,7 +1099,7 @@ cmd_in02,32,140,4	script	Chief#cmd	49,{
 			mes "the tourist attraction~";
 			close;
 		}
-	}	
+	}
 }
 
 comodo,88,97,4	script	Toruna#cmd	109,{

+ 3 - 3
npc/quests/quests_ein.txt

@@ -149,7 +149,7 @@ einbech,97,167,5	script	Cavitar	847,{
 			mes "Come back";
 			mes "whenever you're ready.";
 			close;
-		}				
+		}
 	}
 	else {
 		if (BaseLevel < 40){
@@ -423,7 +423,7 @@ einbech,97,167,5	script	Cavitar	847,{
 						mes "But please understand";
 						mes "that I'm desperate...";
 						close;
-					}	
+					}
 		 		case 2:
 					mes "[Cavitar]";
 					mes "You're...";
@@ -6022,7 +6022,7 @@ ein_in01,31,138,3	script	Calla#ein	90,{
 			mes "Would you please tell";
 			mes "me your name again?";
 			close;
-		}	
+		}
 	}
 	if (EIN_LOVERQ == 4) {
 		mes "[Calla]";

+ 1 - 1
npc/quests/quests_gonryun.txt

@@ -3700,7 +3700,7 @@ OnTouch:
 		end;
 	}
 	end;
-}					
+}
 
 // Lost Knife
 //============================================================ 

+ 5 - 5
npc/quests/quests_hugel.txt

@@ -3063,7 +3063,7 @@ hu_in01,256,40,3	script	Herico	897,{
 		end;
 	}
 	else
-	{	
+	{
 		if(countitem(7342))
 		{
 			mes "[Herico]";
@@ -3073,7 +3073,7 @@ hu_in01,256,40,3	script	Herico	897,{
 			close2;
 			cutin "",255;
 			end;
-		}	
+		}
 		else
 		{
 			mes "[Herico]";
@@ -7205,7 +7205,7 @@ OnTouch:
 		mes "game coordinators tend";
 		mes "to be pretty busy...";
 		close;
-	}	
+	}
 }
 
 que_bingo,53,190,7	script	Eukran	778,{
@@ -7325,7 +7325,7 @@ OnInit:
 	disablenpc "Young Man#Hu_Quest";
 	end;
 
-}	
+}
 
 odin_tem01,130,134,4	script	Young Man#Hu_Quest	774,{
 
@@ -9989,7 +9989,7 @@ hu_in01,16,20,4	script	Ashe	95,{
 			mes "Oh, dear, you don't";
 			mes "look very well. Did";
 			mes "something happen?";
-			close;			
+			close;
 		
 		case 16:
 			mes "[Ashe]";

+ 6 - 6
npc/quests/quests_juperos.txt

@@ -285,10 +285,10 @@ yuno_in04,190,125,4	script	Scholar	700,{
 					mes "My life is also fairly";
 					mes "uneventful, but somehow,";
 					mes "I'm don't think I'm content.";
-					close;		
+					close;
 			}
 
-		case 4:	
+		case 4:
 			mes "[Fayruz]";
 			mes "Oh hello, "+strcharinfo(0)+".";
 			mes "So what brings you to";
@@ -398,7 +398,7 @@ yuno_in04,190,125,4	script	Scholar	700,{
 			next;
 			switch( select( "Take a look at this.","Oh, I'm sorry...") )
 			{
-				case 1:	
+				case 1:
 					switch(jupe_hist)
 					{
 						case 1:
@@ -1069,7 +1069,7 @@ yuno_in04,186,125,4	script	Bundle of Files	111,{
 						mes "regarding the history";
 						mes "of Juperos have allowed";
 						mes "us to make a few conclusions.^000000";
-						close;			
+						close;
 				
 					case 2:
 						if(yuno_hist < 9)
@@ -1130,7 +1130,7 @@ yuno_in04,186,125,4	script	Bundle of Files	111,{
 							mes "^8B6914...";
 							mes "......";
 							mes "..........^000000";
-							next;				
+							next;
 							mes "["+strcharinfo(0)+"]";
 							mes "Huh. This writer keeps";
 							mes "talking about theories,";
@@ -1254,7 +1254,7 @@ yuno_in04,186,125,4	script	Bundle of Files	111,{
 			}
 		case 2:
 			if(yuno_hist < 5)
-			{		
+			{
 				mes "["+strcharinfo(0)+"]";
 				mes "Nah...";
 				mes "I'm tired of reading.";

+ 7 - 7
npc/quests/quests_lighthalzen.txt

@@ -547,9 +547,9 @@ lighthalzen,341,224,3	script	Fishbone	868,{
 				mes "Lab. However, I do know of";
 				mes "this secret maze that should";
 				mes "get you there. Still, if you're";
-				mes "willing and ready to go...";			
+				mes "willing and ready to go...";
 			}
-			else {	
+			else {
 				mes "Okay...";
 				mes "Are you ready now?";
 				mes "I'm gonna send you";
@@ -8622,7 +8622,7 @@ L_Mission:
 		close2;
 		cutin "",255;
 		end;
-	}		
+	}
 }
 
 yuno_pre,77,68,0	script	Secretary#2	862,{
@@ -11122,7 +11122,7 @@ airplane_01,96,48,3	script	Man#Lyozien	868,{
 		mes "Do you need to take a";
 		mes "break or something?";
 		close;
-	}	
+	}
 	else if(lhz_rekenber == 20)
 	{
 		mes "[Lyozien]";
@@ -11166,7 +11166,7 @@ airplane_01,96,48,3	script	Man#Lyozien	868,{
 		mes "Then, we'll be done once you";
 		mes "contact Mr. Ahman in Izlude.";
 		close;
-	}	
+	}
 	else if(lhz_rekenber == 18)
 	{
 		mes "[Lyozien]";
@@ -11370,7 +11370,7 @@ airplane_01,96,48,3	script	Man#Lyozien	868,{
 		mes "I'll be waiting right here.";
 		set lhz_rekenber,11;
 		close;
-	}	
+	}
 	else if(lhz_rekenber == 9)
 	{
 		mes "[Lyozien]";
@@ -11381,7 +11381,7 @@ airplane_01,96,48,3	script	Man#Lyozien	868,{
 		mes "Let him know his order has";
 		mes "already arrived, okay?";
 		close;
-	}	
+	}
 	else if(lhz_rekenber == 8)
 	{
 		mes "[Lyozien]";

+ 1 - 1
npc/quests/quests_louyang.txt

@@ -4805,7 +4805,7 @@ lou_in02,77,37,7	script	Hermit	824,{
 				mes "[Sun Mao]";
 				switch(QL_REVOL)
 				{
-					case 1:	
+					case 1:
 						mes "Please make sure that there is a total of two members in your party so that we can recruit your friend. I believe that will look natural.";
 						close;
 

+ 4 - 4
npc/quests/quests_moscovia.txt

@@ -549,7 +549,7 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	964,{
 			warp "mosk_ship",94,110;
 			end;
 		}
-		else if (gettime(3) >= 18 && gettime(3) < 21) {	
+		else if (gettime(3) >= 18 && gettime(3) < 21) {
 			mes "[Mr. Ibanoff]";
 			mes "Hmm. It's not a bad time.";
 			mes "We should hurry up";
@@ -632,7 +632,7 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	964,{
 			warp "mosk_ship",94,110;
 			end;
 		}
-		else if (gettime(3) >= 18 && gettime(3) < 21) {	
+		else if (gettime(3) >= 18 && gettime(3) < 21) {
 			mes "[Mr. Ibanoff]";
 			mes "Hmm. It's not a bad time.";
 			mes "We should hurry up";
@@ -819,7 +819,7 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	964,{
 			warp "mosk_ship",94,110;
 			end;
 		}
-		else if (gettime(3) >= 18 && gettime(3) < 21) {	
+		else if (gettime(3) >= 18 && gettime(3) < 21) {
 			mes "[Mr. Ibanoff]";
 			mes "Hmm. It's not a bad time.";
 			mes "We should hurry up";
@@ -898,7 +898,7 @@ moscovia,135,49,5	script	Mr. Ibanoff#npc	964,{
 			warp "mosk_ship",94,110;
 			end;
 		}
-		else if (gettime(3) >= 18 && gettime(3) < 21) {	
+		else if (gettime(3) >= 18 && gettime(3) < 21) {
 			mes "[Mr. Ibanoff]";
 			mes "Hmm. It's not a bad time.";
 			mes "We should hurry up";

+ 2 - 2
npc/quests/quests_nameless.txt

@@ -66,7 +66,7 @@
 airplane_01,95,61,3	script	QuestTrigger#Aru	-1,3,3,{
 	end;
 
-OnTouch:	
+OnTouch:
 	if ((prt_curse == 36 || prt_curse == 45 || prt_curse == 56 || prt_curse == 61) && (aru_monas < 1)) {
 		hideoffnpc "Agent#Aru";
 		mes "[????]";
@@ -474,7 +474,7 @@ ve_in,78,314,5	script	Magistrate#Aru	945,{
 		mes "peace, and letting anyone";
 		mes "in here will cause trouble.";
 		close;
-	}	
+	}
 	else if (aru_monas == 10) {
 		mes "[Al Hamad]";
 		mes "I thought I told you";

+ 1 - 1
npc/quests/quests_rachel.txt

@@ -402,7 +402,7 @@ ra_in01,384,246,3	script	Vincent#ra_in01	47,{
 		mes "Jenny about Phobe?";
 		mes "Sure, sure, I'll do that.";
 		close;
-	}	
+	}
 
 	else if (lost_boy == 11) {
 		mes "["+strcharinfo(0)+"]";

+ 3 - 3
npc/quests/quests_umbala.txt

@@ -375,9 +375,9 @@ um_in,44,71,2	script	Utan Shaman	782,{
 		mes "using the Kafra Service";
 		mes "to store some of your items.^000000";
 		close;
-	}	
+	}
 	switch(event_umbala) {
-	default:	
+	default:
 		mes "[??????????]";
 		mes "Umbah umbah umbabah Utan umbah";
 		mes "Umbah mookala umbabah..";
@@ -387,7 +387,7 @@ um_in,44,71,2	script	Utan Shaman	782,{
 		close2;
 		warp "umbala",217,186;
 		end;
-	case 3:	
+	case 3:
 		mes "[Puchuchartan]";
 		mes "I did not expect that even";
 		mes "more of you Rune-Midgardians";

+ 3 - 3
npc/quests/quiz/quiz_qt.txt

@@ -966,7 +966,7 @@ if (checkweight(1201,3) == 0 ) goto L_OverWeight;
 		next;
 		mes "[Seeil]";
 		mes "So this is the last one. Show me some spirit!";
-		mes "This is a present to encourage you! Take it!";		
+		mes "This is a present to encourage you! Take it!";
 		set quiz_rvl,14;
 		getitem 503,10; //Yellow_Potion
 		close;
@@ -1631,7 +1631,7 @@ if(quiz_rvl == 18) {
 			close;
 }
 M_MaxItem:
-			mes "^800000[Radeng]^000000";		
+			mes "^800000[Radeng]^000000";
 	  		mes "- Wait a minute !! -";
 		 	mes "- You currently have too many items that -";
 	   		mes "- you can't receive an item. -";
@@ -1872,7 +1872,7 @@ if(quiz_rvl == 20) {
 		close;
 }
 M_MaxItem:
-			mes "[Kantryl]";		
+			mes "[Kantryl]";
 	  		mes "- Wait a minute !! -";
 		 	mes "- You currently have too many items that -";
 	   		mes "- you can't receive an item. -";

+ 1 - 1
npc/quests/seals/brisingamen_seal.txt

@@ -900,7 +900,7 @@ yuno_in04,47,113,1	script	Studying Scholar#1	749,{
 					if ($God3 == 50) {
 						announce "The 3rd Seal of [Brisingamen] has appeared.",bc_all;
 					}
-					else if ($God3 == 100) {				
+					else if ($God3 == 100) {
 						if ($God1 == 100 && $God2 == 100 && $God3 == 100 && $God4 == 100) {
 							announce "Four seals have been released at the same time with the seal of [Brisingamen].",bc_all;
 						}

+ 1 - 1
npc/quests/skills/crusader_skills.txt

@@ -52,7 +52,7 @@ geffen,110,117,3	script	Ford#11	752,{
 			if (Upper == 1)
 				mes "were dressed like a Paladin...";
 			else
-				mes "were dressed like a Crusader...";				
+				mes "were dressed like a Crusader...";
 			next;
 			mes "["+ strcharinfo(0) +"]";
 			mes "I'm sorry...";

+ 2 - 2
src/char/char.c

@@ -273,7 +273,7 @@ void set_char_online(int map_id, int char_id, int account_id)
 
 	//Notify login server
 	if (login_fd > 0 && !session[login_fd]->flag.eof)
-	{	
+	{
 		WFIFOHEAD(login_fd,6);
 		WFIFOW(login_fd,0) = 0x272b;
 		WFIFOL(login_fd,2) = account_id;
@@ -4169,7 +4169,7 @@ int char_lan_config_read(const char *lancfgName)
 
 	while(fgets(line, sizeof(line), fp))
 	{
-		line_num++;		
+		line_num++;
 		if ((line[0] == '/' && line[1] == '/') || line[0] == '\n' || line[1] == '\n')
 			continue;
 

+ 2 - 2
src/char/int_guild.c

@@ -863,7 +863,7 @@ int guild_calcinfo(struct guild *g)
 	// Set the max number of members, Guild Extention skill - currently adds 6 to max per skill lv.
 	g->max_member = 16 + guild_checkskill(g, GD_EXTENSION) * 6; 
 	if(g->max_member > MAX_GUILD)
-	{	
+	{
 		ShowError("Guild %d:%s has capacity for too many guild members (%d), max supported is %d\n", g->guild_id, g->name, g->max_member, MAX_GUILD);
 		g->max_member = MAX_GUILD;
 	}
@@ -1672,7 +1672,7 @@ int inter_guild_charname_changed(int guild_id,int account_id, int char_id, char
 	flag |= GS_MEMBER;
 
 	if( !inter_guild_tosql(g, flag) )
-		return 0;			
+		return 0;
 
 	mapif_guild_info(-1,g);
 	

+ 7 - 7
src/common/showmsg.c

@@ -197,7 +197,7 @@ Escape sequences for Select Character Set
 int	VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
 {
 	/////////////////////////////////////////////////////////////////
-	/* XXX Two streams are being used. Disabled to avoid inconsistency [flaviojs]		
+	/* XXX Two streams are being used. Disabled to avoid inconsistency [flaviojs]
 	static COORD saveposition = {0,0};
 	*/
 
@@ -369,7 +369,7 @@ int	VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
 					{	// number of chars from cursor to end
 						origin = info.dwCursorPosition;
 						cnt = info.dwSize.X * (info.dwSize.Y - info.dwCursorPosition.Y) - info.dwCursorPosition.X; 
-					}				
+					}
 					FillConsoleOutputAttribute(handle, info.wAttributes, cnt, origin, &tmp);
 					FillConsoleOutputCharacter(handle, ' ',              cnt, origin, &tmp);
 				}
@@ -384,11 +384,11 @@ int	VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
 					SHORT cnt;
 					DWORD tmp;
 					if(num==1)
-					{	
+					{
 						cnt = info.dwCursorPosition.X + 1;
 					}
 					else if(num==2)
-					{	
+					{
 						cnt = info.dwSize.X;
 					}
 					else// 0 and default
@@ -512,7 +512,7 @@ int	VFPRINTF(HANDLE handle, const char *fmt, va_list argptr)
 }
 
 int	FPRINTF(HANDLE handle, const char *fmt, ...)
-{	
+{
 	int ret;
 	va_list argptr;
 	va_start(argptr, fmt);
@@ -569,7 +569,7 @@ int	VFPRINTF(FILE *file, const char *fmt, va_list argptr)
 			while(1)
 			{
 				if( ISDIGIT(*q) ) 
-				{					
+				{
 					++q;
 					// and next character
 					continue;
@@ -648,7 +648,7 @@ int	VFPRINTF(FILE *file, const char *fmt, va_list argptr)
 	return 0;
 }
 int	FPRINTF(FILE *file, const char *fmt, ...)
-{	
+{
 	int ret;
 	va_list argptr;
 	va_start(argptr, fmt);

+ 2 - 2
src/common/utils.c

@@ -106,7 +106,7 @@ static char* checkpath(char *path, const char *srcpath)
 }
 
 void findfile(const char *p, const char *pat, void (func)(const char*))
-{	
+{
 	WIN32_FIND_DATAA FindFileData;
 	HANDLE hFind;
 	char tmppath[MAX_PATH+1];
@@ -167,7 +167,7 @@ static char* checkpath(char *path, const char*srcpath)
 }
 
 void findfile(const char *p, const char *pat, void (func)(const char*))
-{	
+{
 	DIR* dir;					// pointer to the scanned directory.
 	struct dirent* entry;		// pointer to one directory entry.
 	struct stat dir_stat;       // used by stat().

+ 1 - 1
src/login/account_sql.c

@@ -159,7 +159,7 @@ static bool account_db_sql_init(AccountDB* self)
 		Sql_ShowDebug(sql_handle);
 
 	return true;
-}	
+}
 
 /// disconnects from database
 static void account_db_sql_destroy(AccountDB* self)

+ 1 - 1
src/login/login.c

@@ -265,7 +265,7 @@ bool check_encrypted(const char* str1, const char* str2, const char* passwd)
 }
 
 bool check_password(const char* md5key, int passwdenc, const char* passwd, const char* refpass)
-{	
+{
 	if(passwdenc == 0)
 	{
 		return (0==strcmp(passwd, refpass));

+ 5 - 5
src/map/atcommand.c

@@ -4524,7 +4524,7 @@ ACMD_FUNC(mapinfo)
 		strcat(atcmd_output, "Leaves | ");
 	/**
 	 * No longer available, keeping here just in case it's back someday. [Ind]
-	 **/		
+	 **/
 	//if (map[m_id].flag.rain)
 	//	strcat(atcmd_output, "Rain | ");
 	if (map[m_id].flag.nightenabled)
@@ -6319,7 +6319,7 @@ ACMD_FUNC(autolootitem)
 }
 /**
  * No longer available, keeping here just in case it's back someday. [Ind]
- **/	
+ **/
 /*==========================================
  * It is made to rain.
  *------------------------------------------*/
@@ -6477,7 +6477,7 @@ ACMD_FUNC(clearweather)
 	nullpo_retr(-1, sd);
 	/**
 	 * No longer available, keeping here just in case it's back someday. [Ind]
-	 **/		
+	 **/
 	//map[sd->bl.m].flag.rain=0;
 	map[sd->bl.m].flag.snow=0;
 	map[sd->bl.m].flag.sakura=0;
@@ -9181,7 +9181,7 @@ bool is_atcommand(const int fd, struct map_session_data* sd, const char* message
 	}
 
 	while (*message == charcommand_symbol)
-	{	
+	{
 		//Checks to see if #command has a name or a name + parameters.
 		x = sscanf(message, "%99s \"%23[^\"]\" %99[^\n]", command, charname, params);
 		y = sscanf(message, "%99s %23s %99[^\n]", command, charname2, params2);
@@ -9195,7 +9195,7 @@ bool is_atcommand(const int fd, struct map_session_data* sd, const char* message
 				clif_displaymessage(fd, output);
 			} else {
 				sprintf(output, "Charcommand failed. Usage: #<command> <char name> <params>.");
-				clif_displaymessage(fd, output);			
+				clif_displaymessage(fd, output);
 			}
 			return true;
 		}

+ 8 - 8
src/map/battle.c

@@ -1069,7 +1069,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 		unsigned idef : 1;	//Ignore defense
 		unsigned idef2 : 1;	//Ignore defense (left weapon)
 		unsigned pdef : 2;	//Pierces defense (Investigate/Ice Pick)
-		unsigned pdef2 : 2;	//1: Use def+def2/100, 2: Use def+def2/50	
+		unsigned pdef2 : 2;	//1: Use def+def2/100, 2: Use def+def2/50
 		unsigned infdef : 1;	//Infinite defense (plants)
 		unsigned arrow : 1;	//Attack is arrow-based
 		unsigned rh : 1;		//Attack considers right hand (wd.damage)
@@ -1326,7 +1326,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 
 		if(battle_config.agi_penalty_type &&
 			battle_config.agi_penalty_target&target->type)
-		{	
+		{
 			unsigned char attacker_count; //256 max targets should be a sane max
 			attacker_count = unit_counttargeted(target,battle_config.agi_penalty_count_lv);
 			if(attacker_count >= battle_config.agi_penalty_count)
@@ -2224,7 +2224,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 				if(skill_num == AM_ACIDTERROR) def1 = 0; //Acid Terror ignores only armor defense. [Skotlex]
 				if(def2 < 1) def2 = 1;
 			}
-			//Vitality reduction from rodatazone: http://rodatazone.simgaming.net/mechanics/substats.php#def	
+			//Vitality reduction from rodatazone: http://rodatazone.simgaming.net/mechanics/substats.php#def
 			if (tsd)	//Sd vit-eq
 			{	//[VIT*0.5] + rnd([VIT*0.3], max([VIT*0.3],[VIT^2/150]-1))
 				vit_def = def2*(def2-15)/150;
@@ -2402,7 +2402,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 			{ // Melee attack
 				if( !battle_config.left_cardfix_to_right )
 				{
-					cardfix=cardfix*(100+sd->right_weapon.addrace[tstatus->race])/100;					
+					cardfix=cardfix*(100+sd->right_weapon.addrace[tstatus->race])/100;
 					if (!(nk&NK_NO_ELEFIX)) {
 						int ele_fix = sd->right_weapon.addele[tstatus->def_ele];
 						for (i = 0; ARRAYLENGTH(sd->right_weapon.addele2) > i && sd->right_weapon.addele2[i].rate != 0; i++) {
@@ -2423,9 +2423,9 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 
 					if( flag.lh )
 					{
-						cardfix_=cardfix_*(100+sd->left_weapon.addrace[tstatus->race])/100;						
+						cardfix_=cardfix_*(100+sd->left_weapon.addrace[tstatus->race])/100;
 						if (!(nk&NK_NO_ELEFIX))	{
-							int ele_fix_lh = sd->left_weapon.addele[tstatus->def_ele];							
+							int ele_fix_lh = sd->left_weapon.addele[tstatus->def_ele];
 							for (i = 0; ARRAYLENGTH(sd->left_weapon.addele2) > i && sd->left_weapon.addele2[i].rate != 0; i++) {
 								if (sd->left_weapon.addele2[i].ele != tstatus->def_ele) continue;
 								if(!(sd->left_weapon.addele2[i].flag&wd.flag&BF_WEAPONMASK &&
@@ -3473,7 +3473,7 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *
 
 			if(battle_config.agi_penalty_type && 
 				battle_config.agi_penalty_target&target->type)
-			{	
+			{
 				unsigned char attacker_count; //256 max targets should be a sane max
 				attacker_count = unit_counttargeted(target,battle_config.agi_penalty_count_lv);
 				if(attacker_count >= battle_config.agi_penalty_count)
@@ -4121,7 +4121,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
 		case BL_HOM:
 			break;
 		//All else not specified is an invalid target.
-		default:	
+		default:
 			return 0;
 	}
 

+ 1 - 1
src/map/battle.h

@@ -123,7 +123,7 @@ extern struct Battle_Config
 	int defnotenemy;
 	int vs_traps_bctall;
 	int traps_setting;
-	int summon_flora; //[Skotlex]	
+	int summon_flora; //[Skotlex]
 	int clear_unit_ondeath; //[Skotlex]
 	int clear_unit_onwarp; //[Skotlex]
 	int random_monster_checklv;

+ 1 - 1
src/map/chrif.c

@@ -1202,7 +1202,7 @@ int chrif_save_scdata(struct map_session_data *sd)
 
 //Retrieve and load sc_data for a player. [Skotlex]
 int chrif_load_scdata(int fd)
-{	
+{
 #ifdef ENABLE_SC_SAVING
 	struct map_session_data *sd;
 	struct status_change_data *data;

+ 1 - 1
src/map/chrif.h

@@ -15,7 +15,7 @@ struct auth_node {
 	struct map_session_data *sd;	//Data from logged on char.
 	struct mmo_charstatus *char_dat;	//Data from char server.
 	unsigned int node_created; //timestamp for node timeouts
-	enum sd_state state; //To track whether player was login in/out or changing maps.	
+	enum sd_state state; //To track whether player was login in/out or changing maps.
 };
 
 void chrif_setuserid(char* id);

+ 4 - 4
src/map/clif.c

@@ -8750,13 +8750,13 @@ static bool clif_process_message(struct map_session_data* sd, int format, char**
 	if( messagelen != strnlen(message, messagelen)+1 )
 	{	// the declared length must match real length
 		ShowWarning("clif_process_message: Received malformed packet from player '%s' (length is incorrect)!\n", sd->status.name);
-		return false;		
+		return false;
 	}
 	// verify <message> part of the packet
 	if( message[messagelen-1] != '\0' )
 	{	// message must be zero-terminated
 		ShowWarning("clif_process_message: Player '%s' sent an unterminated message string!\n", sd->status.name);
-		return false;		
+		return false;
 	}
 	if( messagelen > CHAT_SIZE_MAX-1 )
 	{	// messages mustn't be too long
@@ -9789,7 +9789,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
 	{
 		char* str = target+4; //Skip the NPC: string part.
 		struct npc_data* npc;
-		if ((npc = npc_name2id(str)))	
+		if ((npc = npc_name2id(str)))
 		{
 			char split_data[NUM_WHISPER_VAR][CHAT_SIZE_MAX];
 			char *split;
@@ -11493,7 +11493,7 @@ void clif_PartyBookingRegisterAck(struct map_session_data *sd, int flag)
 /// Request to search for party booking advertisments (CZ_PARTY_BOOKING_REQ_SEARCH).
 /// 0804 <level>.W <map id>.W <job>.W <last index>.L <result count>.W
 void clif_parse_PartyBookingSearchReq(int fd, struct map_session_data* sd)
-{	
+{
 	short level = RFIFOW(fd,2);
 	short mapid = RFIFOW(fd,4);
 	short job = RFIFOW(fd,6);

+ 1 - 1
src/map/homunculus.c

@@ -469,7 +469,7 @@ int merc_hom_food(struct map_session_data *sd, struct homun_data *hd)
 	clif_send_homdata(sd,SP_HUNGRY,hd->homunculus.hunger);
 	clif_send_homdata(sd,SP_INTIMATE,hd->homunculus.intimacy / 100);
 	clif_hom_food(sd,foodID,1);
-       	
+
 	// Too much food :/
 	if(hd->homunculus.intimacy == 0)
 		return merc_hom_delete(sd->hd, E_OMG);

+ 1 - 1
src/map/instance.c

@@ -140,7 +140,7 @@ int instance_add_map(const char *name, int instance_id, bool usebasename)
 		map[im].name[0] = '\0';
 		ShowError("instance_add_map: no more free map indexes.\n");
 		return -3; // No free map index
-	}	
+	}
 
 	// Reallocate cells
 	num_cell = map[im].xs * map[im].ys;

+ 3 - 3
src/map/itemdb.c

@@ -415,17 +415,17 @@ int itemdb_cansell_sub(struct item_data* item, int gmlv, int unused)
 }
 
 int itemdb_cancartstore_sub(struct item_data* item, int gmlv, int unused)
-{	
+{
 	return (item && (!(item->flag.trade_restriction&16) || gmlv >= item->gm_lv_trade_override));
 }
 
 int itemdb_canstore_sub(struct item_data* item, int gmlv, int unused)
-{	
+{
 	return (item && (!(item->flag.trade_restriction&32) || gmlv >= item->gm_lv_trade_override));
 }
 
 int itemdb_canguildstore_sub(struct item_data* item, int gmlv, int unused)
-{	
+{
 	return (item && (!(item->flag.trade_restriction&64) || gmlv >= item->gm_lv_trade_override));
 }
 

+ 2 - 2
src/map/map.c

@@ -1633,7 +1633,7 @@ int map_quit(struct map_session_data *sd)
 			sd->bl.y = pt->y;
 			sd->mapindex = pt->map;
 		}
-	}	
+	}
 
 	party_booking_delete(sd); // Party Booking [Spiria]
 	pc_makesavestatus(sd);
@@ -1784,7 +1784,7 @@ struct mob_data * map_getmob_boss(int m)
 	{
 		if( md->bl.m == m )
 		{
-			found = true;		
+			found = true;
 			break;
 		}
 	}

+ 1 - 1
src/map/map.h

@@ -501,7 +501,7 @@ struct map_data {
 		unsigned leaves : 1; // [Valaris]
 		/**
 		 * No longer available, keeping here just in case it's back someday. [Ind]
-		 **/	
+		 **/
 		//unsigned rain : 1; // [Valaris]
 		unsigned nogo : 1; // [Valaris]
 		unsigned nobaseexp	: 1; // [Lorky] added by Lupus

+ 8 - 8
src/map/mob.c

@@ -931,7 +931,7 @@ static int mob_can_changetarget(struct mob_data* md, struct block_list* target,
 {
 	// if the monster was provoked ignore the above rule [celest]
 	if(md->state.provoke_flag)
-	{	
+	{
 		if (md->state.provoke_flag == target->id)
 			return 1;
 		else if (!(battle_config.mob_ai&0x4))
@@ -1112,7 +1112,7 @@ static int mob_warpchase_sub(struct block_list *bl,va_list ap)
 		*target_nd = nd;
 		*min_distance = cur_distance;
 		return 1;
-	}	
+	}
 	return 0;
 }
 /*==========================================
@@ -1161,7 +1161,7 @@ static int mob_ai_sub_hard_slavemob(struct mob_data *md,unsigned int tick)
 			if(map_search_freecell(&md->bl, bl->m, &x, &y, MOB_SLAVEDISTANCE, MOB_SLAVEDISTANCE, 1)
 				&& unit_walktoxy(&md->bl, x, y, 0))
 				return 1;
-		}	
+		}
 	} else if (bl->m != md->bl.m && map_flag_gvg(md->bl.m)) {
 		//Delete the summoned mob if it's in a gvg ground and the master is elsewhere. [Skotlex]
 		status_kill(&md->bl);
@@ -2147,7 +2147,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
 			job_exp = 0; 
 		else
 			job_exp = (unsigned int)cap_value(md->db->job_exp * per * bonus/100. * map[m].jexp/100., 1, UINT_MAX);
- 		
+		
 		if((temp = tmpsd[i]->status.party_id )>0 && !md->dmglog[i].flag == MDLF_HOMUN) //Homun-done damage (flag 1) is not given to party
 		{
 			int j;
@@ -2954,7 +2954,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
 	//Pick a starting position and loop from that.
 	i = battle_config.mob_ai&0x100?rnd()%md->db->maxskill:0;
 	for (n = 0; n < md->db->maxskill; i++, n++) {
-		int c2, flag = 0;		
+		int c2, flag = 0;
 
 		if (i == md->db->maxskill)
 			i = 0;
@@ -3011,7 +3011,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
 					flag = ((fbl = mob_getfriendhprate(md, ms[i].cond2, ms[i].val[0])) != NULL); break;
 				case MSC_FRIENDSTATUSON:	// friend status[num] on
 				case MSC_FRIENDSTATUSOFF:	// friend status[num] off
-					flag = ((fmd = mob_getfriendstatus(md, ms[i].cond1, ms[i].cond2)) != NULL); break;					
+					flag = ((fmd = mob_getfriendstatus(md, ms[i].cond1, ms[i].cond2)) != NULL); break;
 				case MSC_SLAVELT:		// slave < num
 					flag = (mob_countslave(&md->bl) < c2 ); break;
 				case MSC_ATTACKPCGT:	// attack pc > num
@@ -3049,7 +3049,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
 			clif_messagecolor(&md->bl, mc->color, temp);
 		}
 		
-		//Execute skill	
+		//Execute skill
 		if (skill_get_casttype(ms[i].skill_id) == CAST_GROUND)
 		{	//Ground skill.
 			short x, y;
@@ -3404,7 +3404,7 @@ static int mob_makedummymobdb(int class_)
 		}
 		return 0;
 	}
-	//Initialize dummy data.	
+	//Initialize dummy data.
 	mob_dummy = (struct mob_db*)aCalloc(1, sizeof(struct mob_db)); //Initializing the dummy mob.
 	sprintf(mob_dummy->sprite,"DUMMY");
 	sprintf(mob_dummy->name,"Dummy");

+ 6 - 6
src/map/npc.c

@@ -594,7 +594,7 @@ int npc_timerevent_start(struct npc_data* nd, int rid)
 	else if( nd->u.scr.timerid != INVALID_TIMER )
 		return 0;
 
-	// Arrange for the next event		
+	// Arrange for the next event
 	ted = ers_alloc(timer_event_ers, struct timer_event_data);
 	ted->next = j; // Set event index
 	ted->time = nd->u.scr.timer_event[j].timer;
@@ -696,8 +696,8 @@ void npc_timerevent_quit(struct map_session_data* sd)
 			old_tick = nd->u.scr.timertick;
 			old_timer = nd->u.scr.timer;
 
-			nd->u.scr.rid = sd->bl.id;			
-			nd->u.scr.timertick = gettick();			
+			nd->u.scr.rid = sd->bl.id;
+			nd->u.scr.timertick = gettick();
 			nd->u.scr.timer = ted->time;
 		
 			//Execute label
@@ -741,7 +741,7 @@ int npc_settimerevent_tick(struct npc_data* nd, int newtimer)
 
 	nullpo_ret(nd);
 
-	// TODO: Set player attached timer's tick.	
+	// TODO: Set player attached timer's tick.
 
 	old_rid = nd->u.scr.rid;
 	nd->u.scr.rid = 0;
@@ -1738,7 +1738,7 @@ int npc_unload(struct npc_data* nd)
 	if( nd->subtype == SCRIPT )
 	{
 		struct s_mapiterator* iter;
-		struct block_list* bl;		
+		struct block_list* bl;
 
 		ev_db->foreach(ev_db,npc_unload_ev,nd->exname); //Clean up all events related
 
@@ -3186,7 +3186,7 @@ static const char* npc_parse_mapflag(char* w1, char* w2, char* w3, char* w4, con
 		map[m].flag.leaves=state;
 	/**
 	 * No longer available, keeping here just in case it's back someday. [Ind]
-	 **/	
+	 **/
 	//else if (!strcmpi(w3,"rain"))
 	//	map[m].flag.rain=state;
 	else if (!strcmpi(w3,"nightenabled"))

+ 4 - 4
src/map/pc.c

@@ -1254,7 +1254,7 @@ int pc_calc_skilltree(struct map_session_data *sd)
 	for( i = 0; i < MAX_SKILL; i++ )
 	{ 
 		if( sd->status.skill[i].flag != SKILL_FLAG_PERMANENT && sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED )
-		{ // Restore original level of skills after deleting earned skills.	
+		{ // Restore original level of skills after deleting earned skills.
 			sd->status.skill[i].lv = (sd->status.skill[i].flag == SKILL_FLAG_TEMPORARY) ? 0 : sd->status.skill[i].flag - SKILL_FLAG_REPLACED_LV_0;
 			sd->status.skill[i].flag = SKILL_FLAG_PERMANENT;
 		}
@@ -5211,7 +5211,7 @@ static void pc_calcexp(struct map_session_data *sd, unsigned int *base_exp, unsi
 
 	if (battle_config.pk_mode && 
 		(int)(status_get_lv(src) - sd->status.base_level) >= 20)
-		bonus += 15; // pk_mode additional exp if monster >20 levels [Valaris]	
+		bonus += 15; // pk_mode additional exp if monster >20 levels [Valaris]
 
 	if (sd->sc.data[SC_EXPBOOST])
 		bonus += sd->sc.data[SC_EXPBOOST]->val1;
@@ -6641,7 +6641,7 @@ int pc_jobchange(struct map_session_data *sd,int job, int upper)
 			break;
 	}
 	//This will automatically adjust bard/dancer classes to the correct gender
-	//That is, if you try to jobchange into dancer, it will turn you to bard.	
+	//That is, if you try to jobchange into dancer, it will turn you to bard.
 	job = pc_mapid2jobid(b_class, sd->status.sex);
 	if (job == -1)
 		return 1;
@@ -8527,7 +8527,7 @@ int pc_readdb(void)
 				stat=0;
 			if (i > MAX_LEVEL)
 				break;
-			statp[i]=stat;			
+			statp[i]=stat;
 			i++;
 		}
 		fclose(fp);

+ 1 - 1
src/map/pc.h

@@ -487,7 +487,7 @@ enum weapon_type {
 	W_2HMACE,	//9 (unused)
 	W_STAFF,	//10
 	W_BOW,	//11
-	W_KNUCKLE,	//12	
+	W_KNUCKLE,	//12
 	W_MUSICAL,	//13
 	W_WHIP,	//14
 	W_BOOK,	//15

+ 3 - 3
src/map/pet.c

@@ -173,7 +173,7 @@ int pet_target_check(struct map_session_data *sd,struct block_list *bl,int type)
  * Pet SC Check [Skotlex]
  *------------------------------------------*/
 int pet_sc_check(struct map_session_data *sd, int type)
-{	
+{
 	struct pet_data *pd;
 
 	nullpo_ret(sd);
@@ -1203,7 +1203,7 @@ int read_petdb()
 	FILE *fp;
 	int nameid,i,j,k; 
 
-	// Remove any previous scripts in case reloaddb was invoked.	
+	// Remove any previous scripts in case reloaddb was invoked.
 	for( j = 0; j < MAX_PET_DB; j++ )
 	{
 		if( pet_db[j].pet_script )
@@ -1238,7 +1238,7 @@ int read_petdb()
 
 		lines = entries = 0;
 		while( fgets(line, sizeof(line), fp) && j < MAX_PET_DB )
-		{			
+		{
 			char *str[22], *p;
 			lines++;
 

+ 1 - 1
src/map/quest.c

@@ -273,7 +273,7 @@ int quest_check(TBL_PC * sd, int quest_id, quest_check_type type)
 
 	switch( type )
 	{
-	case HAVEQUEST:		
+	case HAVEQUEST:
 		return sd->quest_log[i].state;
 	case PLAYTIME:
 		return (sd->quest_log[i].time < (unsigned int)time(NULL) ? 2 : sd->quest_log[i].state == Q_COMPLETE ? 1 : 0);

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio