diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-08-08 10:53:09 +0200 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-08-08 10:53:09 +0200 |
commit | 93891737444f5f92aebdb2302eddf8633d9387cf (patch) | |
tree | 5f565e989ebc0a3046b15adf489134cf06808697 /src/map/status.c | |
parent | 781ba96bc45e706d8033c755897e3a7aafb80645 (diff) | |
download | hercules-93891737444f5f92aebdb2302eddf8633d9387cf.tar.gz hercules-93891737444f5f92aebdb2302eddf8633d9387cf.tar.bz2 hercules-93891737444f5f92aebdb2302eddf8633d9387cf.tar.xz hercules-93891737444f5f92aebdb2302eddf8633d9387cf.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 61a626b42..4a2a6c344 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4925,7 +4925,7 @@ defType status_calc_def(struct block_list *bl, struct status_change *sc, int def def -= def * 5 * (10-sc->data[SC_CAMOUFLAGE]->val4) / 100; if( sc->data[SC_OVERED_BOOST] && bl->type == BL_PC ) def -= def * 50 / 100; - if( sc->data[SC_NEUTRALBARRIER] )
+ if( sc->data[SC_NEUTRALBARRIER] ) def += def * (10 + 5*sc->data[SC_NEUTRALBARRIER]->val1) / 100; if( sc && sc->data[SC_GENTLETOUCH_REVITALIZE] && sc->data[SC_GENTLETOUCH_REVITALIZE]->val4 ) def += 2 * sc->data[SC_GENTLETOUCH_REVITALIZE]->val4; |