diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-03-23 00:34:07 +0100 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-03-23 00:34:07 +0100 |
commit | 4f4e846b91a5b69f4a03339cc8991310ed9fe04e (patch) | |
tree | 1e00a0f2253ad0aad00c91fbfdb277fe296e7f4b /src/map/status.c | |
parent | a830f934d0e60a63f6491a0ccc6e98341d12af36 (diff) | |
download | hercules-4f4e846b91a5b69f4a03339cc8991310ed9fe04e.tar.gz hercules-4f4e846b91a5b69f4a03339cc8991310ed9fe04e.tar.bz2 hercules-4f4e846b91a5b69f4a03339cc8991310ed9fe04e.tar.xz hercules-4f4e846b91a5b69f4a03339cc8991310ed9fe04e.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/map/status.c b/src/map/status.c index 56b0531cb..fdbafd6b0 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9206,11 +9206,11 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t case SC_ITEMSCRIPT: if( sd ) { switch( val1 ) { - case ITEMID_PHREEONI_CARD:
- clif->status_change(bl, SI_FOOD_BASICHIT, 1, tick, 0, 0, 0);
- break;
- case ITEMID_GHOSTRING_CARD:
- clif->status_change(bl,SI_ARMOR_PROPERTY,1,tick,0,0,0);
+ case ITEMID_PHREEONI_CARD: + clif->status_change(bl, SI_FOOD_BASICHIT, 1, tick, 0, 0, 0); + break; + case ITEMID_GHOSTRING_CARD: + clif->status_change(bl,SI_ARMOR_PROPERTY,1,tick,0,0,0); break; case ITEMID_TAO_GUNKA_CARD: clif->status_change(bl,SI_MVPCARD_TAOGUNKA,1,tick,0,0,0); @@ -10088,11 +10088,11 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const case SC_ITEMSCRIPT: if( sd ) { switch( sce->val1 ) { - case ITEMID_PHREEONI_CARD:
- clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_FOOD_BASICHIT);
- break;
- case ITEMID_GHOSTRING_CARD:
- clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_ARMOR_PROPERTY);
+ case ITEMID_PHREEONI_CARD: + clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_FOOD_BASICHIT); + break; + case ITEMID_GHOSTRING_CARD: + clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_ARMOR_PROPERTY); break; case ITEMID_TAO_GUNKA_CARD: clif->sc_end(&sd->bl, sd->bl.id, SELF, SI_MVPCARD_TAOGUNKA); |