summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 17:31:39 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 17:31:39 +0000
commit76e39ab9df2da8f395b7e98cfda4d60dba50ad4d (patch)
treeacd2cc6e77470c1d21ead3a69e386435bcee9be3
parent95676ec19f800ad4e89630626199ccf0a76fa52c (diff)
downloadhercules-76e39ab9df2da8f395b7e98cfda4d60dba50ad4d.tar.gz
hercules-76e39ab9df2da8f395b7e98cfda4d60dba50ad4d.tar.bz2
hercules-76e39ab9df2da8f395b7e98cfda4d60dba50ad4d.tar.xz
hercules-76e39ab9df2da8f395b7e98cfda4d60dba50ad4d.zip
- corrected @homlevel up and one entry in the homun exp table as reported on the forums by Albator.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7770 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--db/exp_homun.txt4
-rw-r--r--src/map/atcommand.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 0d22cead0..81fef9871 100644
--- a/Changelog-Trunk.txt
+++ b/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]
diff --git a/db/exp_homun.txt b/db/exp_homun.txt
index 32257b0c9..b78123903 100644
--- a/db/exp_homun.txt
+++ b/db/exp_homun.txt
@@ -24,7 +24,7 @@
39420
45460
51750
-6150
+61500
70910
81030
91510
@@ -97,4 +97,4 @@
9165840
9553880
9945920
-0 \ No newline at end of file
+0
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index d5d2ce661..a08023dc1 100644
--- a/src/map/atcommand.c
+++ b/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) ;