summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index f3d80ba0b..36a83ee14 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4241,8 +4241,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
}
if(status_isimmune(bl) || !tsc)
break;
- if (dstmd)
- mob_target(dstmd,src,skill_get_range2(src,skillid,skilllv));
if (tsc->data[SC_STONE]) {
status_change_end(bl,SC_STONE,-1);
diff --git a/src/map/status.c b/src/map/status.c
index 7479b726c..1d77afacd 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4627,7 +4627,8 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
}
//When no tick def, reduction is the same for both.
- if (!tick_def) tick_def = sc_def;
+ if( !tick_def && type != SC_STONE ) //Recent tests show duration of petrify isn't reduced by MDEF. [Inkfish]
+ tick_def = sc_def;
//Natural resistance
if (!(flag&8)) {
@@ -4732,7 +4733,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
return 0;
break;
case SC_AETERNA:
- if (sc->data[SC_STONE] || sc->data[SC_FREEZE])
+ if( (sc->data[SC_STONE] && sc->opt1 == OPT1_STONE) || sc->data[SC_FREEZE] )
return 0;
break;
case SC_KYRIE: