From b8884e019eec9f319502c7f35d9a35002c83ba91 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 1 Jun 2006 23:12:43 +0000 Subject: - 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 --- Changelog-Trunk.txt | 1 + src/map/skill.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-70-g09d2