summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 11:33:42 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 11:33:42 +0000
commit91f82a8db342ce5860caff584ba178d7688d1393 (patch)
treed2f301734c9ed75b2f9fd151fed8be3a4b3eebd4 /src
parentaf6a52623ecd2cc2e3597ef6bb53210d18d67d40 (diff)
downloadhercules-91f82a8db342ce5860caff584ba178d7688d1393.tar.gz
hercules-91f82a8db342ce5860caff584ba178d7688d1393.tar.bz2
hercules-91f82a8db342ce5860caff584ba178d7688d1393.tar.xz
hercules-91f82a8db342ce5860caff584ba178d7688d1393.zip
removed redundant checks -- pressure doesn't reach that part of the code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15183 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index ced01c77b..97eaf936f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -349,12 +349,12 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damag
if( sc && sc->count )
{
//First, sc_*'s that reduce damage to 0.
- if( sc->data[SC_BASILICA] && !(status_get_mode(src)&MD_BOSS) && skill_num != PA_PRESSURE )
+ if( sc->data[SC_BASILICA] && !(status_get_mode(src)&MD_BOSS) )
{
d->dmg_lv = ATK_BLOCK;
return 0;
}
- if( sc->data[SC_WHITEIMPRISON] && skill_num != HW_GRAVITATION && skill_num != PA_PRESSURE ) { // Gravitation and Pressure do damage without removing the effect
+ if( sc->data[SC_WHITEIMPRISON] && skill_num != HW_GRAVITATION ) { // Gravitation and Pressure do damage without removing the effect
if( skill_num == MG_NAPALMBEAT ||
skill_num == MG_SOULSTRIKE ||
skill_num == WL_SOULEXPANSION ||