summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 11:13:27 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 11:13:27 +0000
commit3b580431e8bd0adec1c8fa87abbc2e3c75f3faca (patch)
tree51a141bdf214ba7c7e1ba96ee391c9d69d33e5ac /src/map/status.c
parentc60a65af0a205559f378c287b9f4fd12698fb0f1 (diff)
downloadhercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.gz
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.bz2
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.tar.xz
hercules-3b580431e8bd0adec1c8fa87abbc2e3c75f3faca.zip
Follow up r15267, changed to standard
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 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 738a62c45..7662d2770 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3926,7 +3926,8 @@ static signed short status_calc_critical(struct block_list *bl, struct status_ch
critical += critical;
if(sc->data[SC_CAMOUFLAGE])
critical += 100;
-
+ if( bl->type == BL_PC && ((TBL_PC*)bl)->status.weapon == W_KATAR )
+ critical <<= 1;
return (short)cap_value(critical,10,SHRT_MAX);
}