Browse Source

- corrected @homlevel up and one entry in the homun exp table as reported on the forums by Albator.

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

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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/07/20
+	* corrected @homlevel up and one entry in the homun exp table as reported
+	  on the forums by Albator. [Skotlex]
 	* Added the SQL fix to Homunculus skill learning/saving bug [DracoRPG]
 	* Added a status_check_skilluse on skill_attack_area call to prevent splash
 	  damage skills from hitting hidden/trickdead/etc characters. [Skotlex]

+ 2 - 2
db/exp_homun.txt

@@ -24,7 +24,7 @@
 39420
 45460
 51750
-6150
+61500
 70910
 81030
 91510
@@ -97,4 +97,4 @@
 9165840
 9553880
 9945920
-0    
+0    

+ 1 - 0
src/map/atcommand.c

@@ -9527,6 +9527,7 @@ int atcommand_homlevel(
 		level = MAX_LEVEL - sd->homunculus.level ;
 	if (level >= 1) {
 		for (i = 1; i <= level ; i++){
+			sd->homunculus.exp += sd->hd->exp_next;
 			merc_hom_levelup(sd->hd) ;
 		}
 		clif_misceffect2(&sd->hd->bl,568) ;