From e4ba57b46ec61fa95cb55e85f3bc6edeb51af1aa Mon Sep 17 00:00:00 2001
From: Adry85 <adrya85@hotmail.it>
Date: Sun, 1 Oct 2017 12:59:01 +0200
Subject: [PATCH] Removing suicide attack where is not used anymore.

---
 .../game/data/scripts/handlers/effecthandlers/DeathLink.java | 5 -----
 .../data/scripts/handlers/effecthandlers/PhysicalAttack.java | 5 -----
 .../scripts/handlers/effecthandlers/PhysicalSoulAttack.java  | 5 -----
 dist/game/data/stats/skills/05000-05099.xml                  | 2 --
 dist/game/data/stats/skills/06300-06399.xml                  | 1 -
 5 files changed, 18 deletions(-)

diff --git a/dist/game/data/scripts/handlers/effecthandlers/DeathLink.java b/dist/game/data/scripts/handlers/effecthandlers/DeathLink.java
index 53e5633aec..8520bd8fcc 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/DeathLink.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/DeathLink.java
@@ -105,10 +105,5 @@ public final class DeathLink extends AbstractEffect
 				activeChar.sendDamageMessage(target, (int) damage, mcrit, false, false);
 			}
 		}
-		
-		if (skill.isSuicideAttack())
-		{
-			activeChar.doDie(activeChar);
-		}
 	}
 }
\ No newline at end of file
diff --git a/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java b/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
index 399ddc0971..e89fb47da2 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/PhysicalAttack.java
@@ -128,10 +128,5 @@ public final class PhysicalAttack extends AbstractEffect
 		{
 			activeChar.sendPacket(SystemMessageId.ATTACK_FAILED);
 		}
-		
-		if (skill.isSuicideAttack())
-		{
-			activeChar.doDie(activeChar);
-		}
 	}
 }
\ No newline at end of file
diff --git a/dist/game/data/scripts/handlers/effecthandlers/PhysicalSoulAttack.java b/dist/game/data/scripts/handlers/effecthandlers/PhysicalSoulAttack.java
index c0fbd1f401..5660acbf1a 100644
--- a/dist/game/data/scripts/handlers/effecthandlers/PhysicalSoulAttack.java
+++ b/dist/game/data/scripts/handlers/effecthandlers/PhysicalSoulAttack.java
@@ -133,10 +133,5 @@ public final class PhysicalSoulAttack extends AbstractEffect
 		{
 			activeChar.sendPacket(SystemMessageId.ATTACK_FAILED);
 		}
-		
-		if (skill.isSuicideAttack())
-		{
-			activeChar.doDie(activeChar);
-		}
 	}
 }
\ No newline at end of file
diff --git a/dist/game/data/stats/skills/05000-05099.xml b/dist/game/data/stats/skills/05000-05099.xml
index 8be2b9db5e..55efb8f693 100644
--- a/dist/game/data/stats/skills/05000-05099.xml
+++ b/dist/game/data/stats/skills/05000-05099.xml
@@ -1554,7 +1554,6 @@
 		<set name="element" val="0" /> <!-- Fire -->
 		<set name="elementPower" val="180" />
 		<set name="hitTime" val="100" />
-		<set name="isSuicideAttack" val="true" />
 		<set name="magicLvl" val="85" />
 		<set name="operateType" val="A1" />
 		<set name="rideState" val="NONE" />
@@ -1606,7 +1605,6 @@
 		<set name="element" val="0" /> <!-- Fire -->
 		<set name="elementPower" val="20" />
 		<set name="hitTime" val="100" />
-		<set name="isSuicideAttack" val="true" />
 		<set name="magicLvl" val="85" />
 		<set name="operateType" val="A1" />
 		<set name="rideState" val="NONE" />
diff --git a/dist/game/data/stats/skills/06300-06399.xml b/dist/game/data/stats/skills/06300-06399.xml
index 3f3bc41a4d..01c0cdd40e 100644
--- a/dist/game/data/stats/skills/06300-06399.xml
+++ b/dist/game/data/stats/skills/06300-06399.xml
@@ -8,7 +8,6 @@
 		<set name="element" val="1" /> <!-- Water -->
 		<set name="elementPower" val="20" />
 		<set name="hitTime" val="5000" />
-		<set name="isSuicideAttack" val="true" />
 		<set name="magicLvl" val="85" />
 		<set name="mpConsume" val="123" />
 		<set name="operateType" val="A1" />
-- 
GitLab