summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-07 12:15:14 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-07 12:15:14 +0000
commit81a85e322a784f6237b1948c53dca39bffb42f18 (patch)
tree575dbb13c007d1b2e42881993c0cdd2ea86b4dfe /src/map/status.c
parenta609245253626fd1d8112d4b05959471723b7d8f (diff)
downloadhercules-81a85e322a784f6237b1948c53dca39bffb42f18.tar.gz
hercules-81a85e322a784f6237b1948c53dca39bffb42f18.tar.bz2
hercules-81a85e322a784f6237b1948c53dca39bffb42f18.tar.xz
hercules-81a85e322a784f6237b1948c53dca39bffb42f18.zip
* Fixed splash damage from Baphomet Card might miss. [Inkfish]
* Check if group unit is expired before processing it. (bugreport:3054) [Inkfish] * Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish] - use new damage formula - DEF is reduced to 2/3 during cast time - block shields switching within attack duration - monsters don't damage themselves any more - intervals between hits are 300ms git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13736 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 1fe6ec122..c7b7b1567 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4930,6 +4930,8 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
if (tick == 1) return 1; //Minimal duration: Only strip without causing the SC
break;
case SC_STRIPSHIELD:
+ if( val2 == 1 ) val2 = 0; //GX effect. Do not take shield off..
+ else
if (sd) {
int i;
if(sd->unstripable_equip&EQP_SHIELD)