diff options
author | shennetsind <ind@henn.et> | 2013-03-02 20:16:51 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-02 20:16:51 -0300 |
commit | ea001385e0b98e63cfde00158fd5b7739aaa659e (patch) | |
tree | 2c1ec751af1f6349bdf045f4eebe9fea061c2cef /src/map/homunculus.c | |
parent | 3654f06f8563a7ee3df6f01552bdee9902d47fd2 (diff) | |
download | hercules-ea001385e0b98e63cfde00158fd5b7739aaa659e.tar.gz hercules-ea001385e0b98e63cfde00158fd5b7739aaa659e.tar.bz2 hercules-ea001385e0b98e63cfde00158fd5b7739aaa659e.tar.xz hercules-ea001385e0b98e63cfde00158fd5b7739aaa659e.zip |
Hercules Renewal: skill.c
http://hercules.ws/board/topic/237-hercules-renewal/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/homunculus.c')
-rw-r--r-- | src/map/homunculus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 4dc30934d..096d595f8 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -269,7 +269,7 @@ int merc_skill_tree_get_max(int id, int b_class){ for(i=0;(skill_id=hskill_tree[b_class][i].id)>0;i++) if (id == skill_id) return hskill_tree[b_class][i].max; - return skill_get_max(id); + return skill->get_max(id); } void merc_hom_skillup(struct homun_data *hd,uint16 skill_id) @@ -424,7 +424,7 @@ int merc_hom_evolution(struct homun_data *hd) status_calc_homunculus(hd,1); if (!(battle_config.hom_setting&0x2)) - skill_unit_move(&sd->hd->bl,gettick(),1); // apply land skills immediately + skill->unit_move(&sd->hd->bl,gettick(),1); // apply land skills immediately return 1 ; } @@ -471,7 +471,7 @@ int hom_mutate(struct homun_data *hd, int homun_id) status_calc_homunculus(hd,1); if (!(battle_config.hom_setting&0x2)) - skill_unit_move(&sd->hd->bl,gettick(),1); // apply land skills immediately + skill->unit_move(&sd->hd->bl,gettick(),1); // apply land skills immediately return 1; } |