summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 11:41:36 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 11:41:36 +0000
commitd67f75b527fe00188924b5e89a3663002da5e523 (patch)
treed79a4ccee382be4607f76d04d3ad0df150a0dd04
parent91f82a8db342ce5860caff584ba178d7688d1393 (diff)
downloadhercules-d67f75b527fe00188924b5e89a3663002da5e523.tar.gz
hercules-d67f75b527fe00188924b5e89a3663002da5e523.tar.bz2
hercules-d67f75b527fe00188924b5e89a3663002da5e523.tar.xz
hercules-d67f75b527fe00188924b5e89a3663002da5e523.zip
Fixed Pressure from not doing any damage to devoted targets, bugreport:4182
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15184 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 97eaf936f..6ba23ea4f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -222,7 +222,7 @@ int battle_delay_damage (unsigned int tick, int amotion, struct block_list *src,
nullpo_ret(target);
sc = status_get_sc(target);
- if( sc && sc->data[SC_DEVOTION] && damage > 0 )
+ if( sc && sc->data[SC_DEVOTION] && damage > 0 && skill_id != PA_PRESSURE )
damage = 0;
if (!battle_config.delay_battle_damage) {