summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 23:12:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 23:12:43 +0000
commitb8884e019eec9f319502c7f35d9a35002c83ba91 (patch)
treef55c794118b10a799a5cdc8c1e24f94cc11cf83f
parentfb5093127c9fcedff387b41578b38f401de6503a (diff)
downloadhercules-b8884e019eec9f319502c7f35d9a35002c83ba91.tar.gz
hercules-b8884e019eec9f319502c7f35d9a35002c83ba91.tar.bz2
hercules-b8884e019eec9f319502c7f35d9a35002c83ba91.tar.xz
hercules-b8884e019eec9f319502c7f35d9a35002c83ba91.zip
- Fixed NPC_SELFDESTRUCTION not showing nor dealing damage.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6919 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/skill.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3c4fdec04..599af6649 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ 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/06/01
+ * Fixed NPC_SELFDESTRUCTION not showing nor dealing damage. [Skotlex]
* NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob
without removing it when the skill level is greater than one. [Skotlex]
* Added SC_DANCING declaration in the Status Change tables to signal it
diff --git a/src/map/skill.c b/src/map/skill.c
index 0f849d5ea..05b3579f9 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1942,7 +1942,7 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds
case NPC_SELFDESTRUCTION:
if(src->type==BL_PC)
dmg.blewcount = 10;
- break;
+ dmg.amotion = 0; //Disable delay or attack will do no damage since source is dead by the time it takes effect. [Skotlex]
case KN_AUTOCOUNTER: //Skills that need be passed as a normal attack for the client to display correctly.
case TF_DOUBLE:
case GS_CHAINACTION: