summaryrefslogtreecommitdiff
path: root/src/map/skill.c
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 /src/map/skill.c
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
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 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: