summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 19:41:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 19:41:04 +0000
commit6de48b6df0789f9625e8604215fe856dc43776e1 (patch)
treef62625cefa74613cf7aebf41c91f596d933e194b /src/map/skill.c
parenta5a5d08082d272690f89389db6029edf94fe551d (diff)
downloadhercules-6de48b6df0789f9625e8604215fe856dc43776e1.tar.gz
hercules-6de48b6df0789f9625e8604215fe856dc43776e1.tar.bz2
hercules-6de48b6df0789f9625e8604215fe856dc43776e1.tar.xz
hercules-6de48b6df0789f9625e8604215fe856dc43776e1.zip
- Self destruction will now hit all characters in range, not just enemies.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7950 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
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;