Просмотр исходного кода

* Fixed another bad typo in skill list_num reading

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1171 54d463be-8e91-2dee-dedb-b68131a5f0ec
celest 20 лет назад
Родитель
Сommit
75c5b714d0
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      Changelog-SVN.txt
  2. 1 1
      src/map/skill.c

+ 1 - 0
Changelog-SVN.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 02/24
+        * Fixed another bad typo in skill list_num reading, thanks to orn [celest]
 	* Fixed Steal Item Rate. It has been multiplied twice on common_item_drop value for any kinds of items. [Lupus]
 	  e.g. If you set droprate of comman items to 500%, then even rare items could be stolen more easily. Thanks to Freya
 	* Items Droprate fix. Now it adjusts correctly, w/o overflows. Thanks to Freya [Lupus]

+ 1 - 1
src/map/skill.c

@@ -9300,7 +9300,7 @@ int skill_readdb(void)
 		skill_db[i].pl=atoi(split[4]);
 		skill_db[i].nk=atoi(split[5]);
 		skill_db[i].max=atoi(split[6]);
-		skill_split_atoi(split[1],skill_db[i].num);
+		skill_split_atoi(split[7],skill_db[i].num);
 
 		if(strcmpi(split[8],"yes") == 0)
 			skill_db[i].castcancel=1;