소스 검색

BETA: Remove old Fear hardcoded restrictions (used due patchnotes before IL/CT1), thanks Copyleft.

MELERIX 13 년 전
부모
커밋
23cf2b5996
1개의 변경된 파일0개의 추가작업 그리고 22개의 파일을 삭제
  1. 0 22
      L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/Fear.java

+ 0 - 22
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