summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-10-18 07:54:57 +0200
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-10-18 07:54:57 +0200
commitcc8dfc2f45d0c5405cc628393e846e94e1e7a812 (patch)
tree9ffb073e1001f16df71c8ffa73190c2b4277355e /src
parent80331ce7a65716a3305ab8dff89f735062f6a175 (diff)
downloadhercules-cc8dfc2f45d0c5405cc628393e846e94e1e7a812.tar.gz
hercules-cc8dfc2f45d0c5405cc628393e846e94e1e7a812.tar.bz2
hercules-cc8dfc2f45d0c5405cc628393e846e94e1e7a812.tar.xz
hercules-cc8dfc2f45d0c5405cc628393e846e94e1e7a812.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4eddefbd4..3cd28e322 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3603,7 +3603,7 @@ void status_calc_regen_rate(struct block_list *bl, struct regen_data *regen, str
regen->flag&=~sce->val4; //Remove regen as specified by val4
}
if(sc->data[SC_GENTLETOUCH_REVITALIZE]) {
- regen->hp += regen->hp * ( 30 * sc->data[SC_GENTLETOUCH_REVITALIZE]->val1 + 50 ) / 100;
+ regen->hp += regen->hp * ( 30 * sc->data[SC_GENTLETOUCH_REVITALIZE]->val1 + 50 ) / 100;
}
if ((sc->data[SC_FIRE_INSIGNIA] && sc->data[SC_FIRE_INSIGNIA]->val1 == 1) //if insignia lvl 1
|| (sc->data[SC_WATER_INSIGNIA] && sc->data[SC_WATER_INSIGNIA]->val1 == 1)
@@ -5057,7 +5057,7 @@ signed short status_calc_def2(struct block_list *bl, struct status_change *sc, i
#endif
if( sc && sc->data[SC_CAMOUFLAGE] )
def2 -= def2 * 5 * (10-sc->data[SC_CAMOUFLAGE]->val4) / 100;
- if(sc->data[SC_GENTLETOUCH_REVITALIZE])
+ if(sc->data[SC_GENTLETOUCH_REVITALIZE])
def2 += sc->data[SC_GENTLETOUCH_REVITALIZE]->val2;
if(sc->data[SC_DEFSET])
return sc->data[SC_DEFSET]->val1;
@@ -8788,10 +8788,10 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
}
break;
case SC_GENTLETOUCH_REVITALIZE:
- if(val2 < 0)
- val2 = 0;
- else
- val2 = val2 / 4 * val1; // STAT DEF increase: [(Caster VIT / 4) x Skill Level]
+ if(val2 < 0)
+ val2 = 0;
+ else
+ val2 = val2 / 4 * val1; // STAT DEF increase: [(Caster VIT / 4) x Skill Level]
break;
case SC_PYROTECHNIC_OPTION:
val2 = 60;