diff options
author | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 19:21:27 +0000 |
---|---|---|
committer | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 19:21:27 +0000 |
commit | 148161601425b067ec57ab6e035effa6928bb26e (patch) | |
tree | b7aa6d9bd05aab6c78650285d3287b3811e65bb1 /src/map/status.c | |
parent | 32645379b64e7dcad23574c0562c61f7416ebce4 (diff) | |
download | hercules-148161601425b067ec57ab6e035effa6928bb26e.tar.gz hercules-148161601425b067ec57ab6e035effa6928bb26e.tar.bz2 hercules-148161601425b067ec57ab6e035effa6928bb26e.tar.xz hercules-148161601425b067ec57ab6e035effa6928bb26e.zip |
jA's db work
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5775 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 87f24d82a..ba460087e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1708,6 +1708,8 @@ int status_calc_str(struct block_list *bl, int str) str >>= 1;
else str += sc->data[SC_BLESSING].val1;
}
+ if(sc->data[SC_NEN].timer!=-1)
+ str += sc->data[SC_NEN].val1;
}
return str;
@@ -1788,6 +1790,8 @@ int status_calc_int(struct block_list *bl, int int_) }
if(sc->data[SC_STRIPHELM].timer!=-1 && bl->type != BL_PC)
int_ -= int_ * 8*sc->data[SC_STRIPHELM].val1/100;
+ if(sc->data[SC_NEN].timer!=-1)
+ int_ += sc->data[SC_NEN].val1;
}
return int_;
|