From 01476c09aec449f89f52761b98da61e6c541e563 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 24 Nov 2006 16:50:23 +0000 Subject: - Fixed EDP's damage being 100% more than it should (should be 5x, not 6x on normal attacks) - Self Destruction will only hit everyone and not just enemies when used by mobs (non marine spheres) unless the map is a versus map. - Spider Web's duration is now halved on players (before it was halved in pvp maps only) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9314 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 8cb9a35c5..26f9a8f41 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4067,7 +4067,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_SELFDESTRUCTION: //Self Destruction hits everyone in range (allies+enemies) //Except for Summoned Marine spheres on non-versus maps, where it's just enemy. - i = ((hd || (md && md->special_state.ai == 2)) && !map_flag_vs(src->m))? + i = ((!md || md->special_state.ai == 2) && !map_flag_vs(src->m))? BCT_ENEMY:BCT_ALL; clif_skill_nodamage(src, src, skillid, -1, 1); map_foreachinrange(skill_area_sub, bl, -- cgit v1.2.3-60-g2f50