summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 63776ef8f..7cd1caf30 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/28
+ * Self destruction will now hit all characters in range, not just enemies.
+ [Skotlex]
* Cleaned up the NJ update code: [Skotlex]
- Restored code which was removed (stuff like SC_SKA)
- Fixed possible crashes on some NJ skills if used by non-players.
diff --git a/src/map/skill.c b/src/map/skill.c
index 1c09354d2..78b142d8b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4091,10 +4091,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_SELFDESTRUCTION:
+ //Self Destruction hits everyone in range (allies+enemies)
clif_skill_nodamage(src, src, skillid, -1, 1);
map_foreachinrange(skill_area_sub, bl,
skill_get_splash(skillid, skilllv), BL_CHAR,
- src, skillid, skilllv, tick, flag|BCT_ENEMY,
+ src, skillid, skilllv, tick, flag|BCT_ALL,
skill_castend_damage_id);
status_damage(src, src, sstatus->max_hp,0,0,1);
break;