summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 16:50:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 16:50:23 +0000
commit01476c09aec449f89f52761b98da61e6c541e563 (patch)
treeb256b9cb2f53f834798b267d5356b4b06f3b8142 /src/map/skill.c
parentdb1cd48635235a32a7c0d0db4c81eea517a73361 (diff)
downloadhercules-01476c09aec449f89f52761b98da61e6c541e563.tar.gz
hercules-01476c09aec449f89f52761b98da61e6c541e563.tar.bz2
hercules-01476c09aec449f89f52761b98da61e6c541e563.tar.xz
hercules-01476c09aec449f89f52761b98da61e6c541e563.zip
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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,