From 23cf2b5996cc6a8fa3590e31b8c819f9d98933cc Mon Sep 17 00:00:00 2001 From: MELERIX <MELERIX@users.noreply.github.com> Date: Thu, 10 May 2012 17:25:44 +0000 Subject: [PATCH] BETA: Remove old Fear hardcoded restrictions (used due patchnotes before IL/CT1), thanks Copyleft. --- .../scripts/handlers/effecthandlers/Fear.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Fear.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Fear.java index bc031b92a7..3e21316002 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Fear.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Fear.java @@ -57,28 +57,6 @@ public class Fear extends L2Effect @Override public boolean onStart() { - // Fear skills cannot be used l2pcinstance to l2pcinstance. Heroic - // Dread, Curse: Fear, Fear, Horror, Sword Symphony, Word of Fear, Hell Scream and - // Mass Curse Fear are the exceptions. - if (getEffected() instanceof L2PcInstance - && getEffector() instanceof L2PcInstance) - { - switch (getSkill().getId()) - { - case 1376: - case 1169: - case 65: - case 1092: - case 98: - case 1272: - case 1381: - case 763: - break; - default: - return false; - } - } - if (getEffected() instanceof L2NpcInstance || getEffected() instanceof L2DefenderInstance || getEffected() instanceof L2FortCommanderInstance -- GitLab