summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 04:05:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 04:05:48 +0000
commit73662d19496bdc70665f2320197c5f44badf216c (patch)
tree3875e0d6394c8a9c0f48c1e0d6c441b701fcbf27 /src/map/status.c
parent24529c54335507120027e9bee13c374dd4f0cd69 (diff)
downloadhercules-73662d19496bdc70665f2320197c5f44badf216c.tar.gz
hercules-73662d19496bdc70665f2320197c5f44badf216c.tar.bz2
hercules-73662d19496bdc70665f2320197c5f44badf216c.tar.xz
hercules-73662d19496bdc70665f2320197c5f44badf216c.zip
- Fixed a bug that was making the no_spawn_on_player setting useless.
- Added Deadly Poison and Bleeding to status_get_sc_def, meaning that now vit does increases defense against being inflicted from it. - Fixed a crash and an infinite loop in @whodrops @.@ - Expanded the item_db column sizes for the names to 50. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5526 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 20f0efcbf..6aff9bb4e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1596,9 +1596,8 @@ int status_calc_pc(struct map_session_data* sd,int first)
clif_changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->status.clothes_color);
}
- if( memcmp(b_skill,sd->status.skill,sizeof(sd->status.skill)) || b_attackrange != sd->attackrange)
+ if(memcmp(b_skill,sd->status.skill,sizeof(sd->status.skill)))
clif_skillinfoblock(sd);
-
if(b_speed != sd->speed)
clif_updatestatus(sd,SP_SPEED);
if(b_weight != sd->weight)
@@ -3317,7 +3316,9 @@ int status_get_sc_def(struct block_list *bl, int type)
// break;
case SC_STUN:
case SC_POISON:
+ case SC_DPOISON:
case SC_SILENCE:
+ case SC_BLEEDING:
case SC_STOP:
sc_def = 300 +100*status_get_vit(bl) +33*status_get_luk(bl);
break;