diff options
author | shennetsind <ind@henn.et> | 2013-09-16 11:53:58 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-16 11:53:58 -0300 |
commit | a1bdf6b04263653699c3ea0ec428aadb7b297fec (patch) | |
tree | 386004147429a1e06192da586dfb06b0baca0486 /src/map/status.c | |
parent | 4337e65f1dc35d244dc3abf43ed084c43d064b24 (diff) | |
download | hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.gz hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.bz2 hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.tar.xz hercules-a1bdf6b04263653699c3ea0ec428aadb7b297fec.zip |
HPM: Pet.c Interface
Fully Integrated.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 409d4493d..ee5d4bfd5 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8363,7 +8363,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val if( pc_iswug(sd) ) pc->setoption(sd, sd->sc.option&~OPTION_WUG); if( pc_isridingwug(sd) ) pc->setoption(sd, sd->sc.option&~OPTION_WUGRIDER); if( pc_isfalcon(sd) ) pc->setoption(sd, sd->sc.option&~OPTION_FALCON); - if( sd->status.pet_id > 0 ) pet_menu(sd, 3); + if( sd->status.pet_id > 0 ) pet->menu(sd, 3); if( homun_alive(sd->hd) ) homun->vaporize(sd,1); if( sd->md ) mercenary->delete(sd->md,3); } @@ -9133,7 +9133,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val status_calc_bl(bl,calc_flag); if(sd && sd->pd) - pet_sc_check(sd, type); //Skotlex: Pet Status Effect Healing + pet->sc_check(sd, type); //Skotlex: Pet Status Effect Healing switch (type) { case SC_BERSERK: |