summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-12 11:30:48 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-12 11:30:48 +0000
commit3c22178a361374357075722777b31690119a068e (patch)
tree0a2b8845a8254a1dbd33c449d34022b5296841e7 /src/map/status.c
parent2bf2276c6fbc44473d0d1345b28505801c91c573 (diff)
downloadhercules-3c22178a361374357075722777b31690119a068e.tar.gz
hercules-3c22178a361374357075722777b31690119a068e.tar.bz2
hercules-3c22178a361374357075722777b31690119a068e.tar.xz
hercules-3c22178a361374357075722777b31690119a068e.zip
* Removed DEF reduction display when casting GrandCross.
- This might not be official and led to repeated calculation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13758 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 6e4394751..3199e05f2 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3685,13 +3685,6 @@ static signed short status_calc_flee2(struct block_list *bl, struct status_chang
static signed char status_calc_def(struct block_list *bl, struct status_change *sc, int def)
{
- if( bl->type == BL_PC )
- {
- struct unit_data *ud = unit_bl2ud( bl);
- if( ud && ud->skilltimer != INVALID_TIMER && (ud->skillid == CR_GRANDCROSS || ud->skillid == NPC_GRANDDARKNESS) )
- def = def*2/3;
- }
-
if(!sc || !sc->count)
return (signed char)cap_value(def,CHAR_MIN,CHAR_MAX);