Sfoglia il codice sorgente

* Adjusted drop bug according to special information...
- this will be changed further in the future

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

Playtester 17 anni fa
parent
commit
d8a73e6f5f
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      Changelog-Trunk.txt
  2. 1 1
      src/map/mob.c

+ 1 - 1
Changelog-Trunk.txt

@@ -6,7 +6,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 2007/11/04
 	* Implemented official drop rate estimation [Playtester]
 	- estimation is rounded on 2 positions after decimal point
-	- this will effectively raise drop rates below 50% by 0.01%
+	- this will effectively raise drop rates below 10% by 0.01%
 2007/11/03
 	* Added jA script function 'strnpcinfo', for increased npc awareness
 2007/11/02

+ 1 - 1
src/map/mob.c

@@ -3380,7 +3380,7 @@ static bool mob_parse_dbrow(char** str)
 		}
 		type = itemdb_type(db->dropitem[i].nameid);
 		rate = atoi(str[k+1]);
-		if (rate < 5000) rate += 1; //Official drop bug estimate
+		if (rate < 1000) rate += 1; //Official drop bug estimate
 		if (class_ >= 1324 && class_ <= 1363)
 		{	//Treasure box drop rates [Skotlex]
 			rate_adjust = battle_config.item_rate_treasure;