summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-20 20:08:00 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-20 20:08:00 +0000
commit95a7f7d5ac462e982a427445108c0a1bda12692e (patch)
treec8d2b61666e1268653444246e63771abbd7c6343 /src/map/status.c
parent290e1d4e87da4b197d004f6855e26a9b634f4b3b (diff)
downloadhercules-95a7f7d5ac462e982a427445108c0a1bda12692e.tar.gz
hercules-95a7f7d5ac462e982a427445108c0a1bda12692e.tar.bz2
hercules-95a7f7d5ac462e982a427445108c0a1bda12692e.tar.xz
hercules-95a7f7d5ac462e982a427445108c0a1bda12692e.zip
- More cleanup of Barricades (final i think)
- Fixed a bug, missing sizeof(add_steal_rate). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1ff562eff..55b5918ce 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1768,6 +1768,7 @@ int status_calc_pc(struct map_session_data* sd,int first)
// shorts
+ sizeof(sd->splash_range)
+ sizeof(sd->splash_add_range)
+ + sizeof(sd->add_steal_rate)
+ sizeof(sd->hp_gain_value)
+ sizeof(sd->sp_gain_value)
+ sizeof(sd->sp_vanish_rate)
@@ -4614,7 +4615,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
if( bl->type == BL_MOB )
{
struct mob_data *md = BL_CAST(BL_MOB,bl);
- if( (md->class_ == MOBID_EMPERIUM && type != SC_SAFETYWALL && type != SC_PNEUMA) || md->barricade )
+ if( md->class_ == MOBID_EMPERIUM && type != SC_SAFETYWALL && type != SC_PNEUMA )
return 0; //Emperium can't be afflicted by status changes
}