summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index dc1ecbde7..f7c93c94f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4371,10 +4371,16 @@ int pc_skillup(struct map_session_data *sd,int skill_num)
{
nullpo_retr(0, sd);
- if( skill_num>=GD_SKILLBASE){
+ if(skill_num >= GD_SKILLBASE){
guild_skillup(sd,skill_num,0);
return 0;
}
+
+ if(skill_num >= HM_SKILLBASE){
+ merc_hom_skillup(sd->hd, skill_num);
+ return 0;
+ }
+
if (skill_num < 0 || skill_num >= MAX_SKILL)
return 0;