summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
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 /src/map/atcommand.c
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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
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) ;