summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c2
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b65a5fcde..a1105420a 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -298,7 +298,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damag
sc = status_get_sc(bl);
if( sc && sc->data[SC_INVINCIBLE] && !sc->data[SC_INVINCIBLEOFF] )
- return 0;
+ return 1;
if (skill_num == PA_PRESSURE)
return damage; //This skill bypass everything else.
diff --git a/src/map/status.c b/src/map/status.c
index 71d0f6770..84c396a9a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -668,7 +668,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
{
if( !sp )
return 0;
- hp = 0;
+ hp = 1;
}
if( hp && !(flag&1) ) {