Browse Source

- Fixed @mobinfo displaying the wrong element.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6913 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 năm trước cách đây
mục cha
commit
0d344b6bb1
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/atcommand.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/06/01
+	* Fixed @mobinfo displaying the wrong element. [Skotlex]
 	* Fixed Autoblitz taking into account target's luck rather than attacker's
 	  [Skotlex]
 	* Fixed slaves warping endlessly to their master when the master-slave

+ 1 - 1
src/map/atcommand.c

@@ -9331,7 +9331,7 @@ int atcommand_mobinfo(
 {
 	unsigned char msize[3][7] = {"Small", "Medium", "Large"};
 	unsigned char mrace[12][11] = {"Formless", "Undead", "Beast", "Plant", "Insect", "Fish", "Demon", "Demi-Human", "Angel", "Dragon", "Boss", "Non-Boss"};
-	unsigned char melement[11][8] = {"None", "Neutral", "Water", "Earth", "Fire", "Wind", "Poison", "Holy", "Dark", "Ghost", "Undead"};
+	unsigned char melement[10][8] = {"Neutral", "Water", "Earth", "Fire", "Wind", "Poison", "Holy", "Dark", "Ghost", "Undead"};
 	char atcmd_output2[200];
 	struct item_data *item_data;
 	struct mob_db *mob, *mob_array[MAX_SEARCH];