From 934764dba32c549859c0854ba74008a250be204a Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 30 Jan 2007 18:22:11 +0000 Subject: - 'Long Range Attacked' mob skill conditions will no longer trigger on magic attacks. - Changed the element of Blood Drain from 'take weapon's element' to Dark. And Blood Drain/Energy Drain have a range of 7 now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9747 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index b4ba0be55..b47dfcbb8 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2861,7 +2861,7 @@ int mobskill_event(struct mob_data *md, struct block_list *src, unsigned int tic res = mobskill_use(md, tick, flag); else if (flag&BF_SHORT) res = mobskill_use(md, tick, MSC_CLOSEDATTACKED); - else if (flag&BF_LONG) + else if (flag&BF_LONG && !(flag&BF_MAGIC)) //Long-attacked should not include magic. res = mobskill_use(md, tick, MSC_LONGRANGEATTACKED); if (!res) -- cgit v1.2.3-60-g2f50