summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index bb895c68d..b3a5d432b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5739,10 +5739,7 @@ int skill_castend_id (int tid, unsigned int tick, int id, int data)
break;
if(md) {
- if(tid != -1) //Set afterskill delay.
- md->last_thinktime=tick +md->status.amotion;
- else
- md->last_thinktime=tick +md->status.adelay;
+ md->last_thinktime=tick +MIN_MOBTHINKTIME;
if(md->skillidx >= 0 && md->db->skill[md->skillidx].emotion >= 0)
clif_emotion(src, md->db->skill[md->skillidx].emotion);
}
@@ -5927,10 +5924,7 @@ int skill_castend_pos (int tid, unsigned int tick, int id, int data)
break;
if(md) {
- if (tid != -1)
- md->last_thinktime=tick +md->status.amotion;
- else
- md->last_thinktime=tick +md->status.adelay;
+ md->last_thinktime=tick +MIN_MOBTHINKTIME;
if(md->skillidx >= 0 && md->db->skill[md->skillidx].emotion >= 0)
clif_emotion(src, md->db->skill[md->skillidx].emotion);
}