summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-08 18:24:39 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-08 18:24:39 +0000
commit1324165fd673fc2431a50e0dbe530cce352eb70d (patch)
tree35ba19b7aec86c9e69cb3943b0ba87e49ec34a23 /src/map/status.c
parent2c9c73b3121b9bba577c053ebbf8783e69b73f59 (diff)
downloadhercules-1324165fd673fc2431a50e0dbe530cce352eb70d.tar.gz
hercules-1324165fd673fc2431a50e0dbe530cce352eb70d.tar.bz2
hercules-1324165fd673fc2431a50e0dbe530cce352eb70d.tar.xz
hercules-1324165fd673fc2431a50e0dbe530cce352eb70d.zip
- Fixed the new addeff structure not working well with SC_STONE (because SC_STONE is 0, which was by default not handled as a valid value).
- Added back the TF_MISS walking speed bonus to assassin type classes (how did that got lost?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7583 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1cc6f5f49..daa6a17d4 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2011,6 +2011,8 @@ int status_calc_pc(struct map_session_data* sd,int first)
// ----- WALKING SPEED CALCULATION -----
// Relative modifiers from passive skills
+ if((sd->class_&MAPID_UPPERMASK) == MAPID_ASSASSIN && (skill=pc_checkskill(sd,TF_MISS))>0)
+ status->speed -= status->speed * skill/100;
if(pc_isriding(sd) && pc_checkskill(sd,KN_RIDING)>0)
status->speed -= status->speed * 25/100;
if(pc_iscarton(sd) && (skill=pc_checkskill(sd,MC_PUSHCART))>0)