2
0
Эх сурвалжийг харах

Reverting [2050] for further thourough testing. Fixed #2494 (not really fixed, but reverted... I just don't feel like finding and closing that ticket)....

Ahmed 17 жил өмнө
parent
commit
a8112a8335

+ 0 - 16
L2_GameServer/java/net/sf/l2j/gameserver/handler/skillhandlers/Disablers.java

@@ -65,7 +65,6 @@ public class Disablers implements ISkillHandler
 		L2Skill.SkillType.CONFUSE_MOB_ONLY,
 		L2Skill.SkillType.NEGATE,
 		L2Skill.SkillType.CANCEL,
-		L2Skill.SkillType.CANCEL_DEBUFF,
 		L2Skill.SkillType.PARALYZE,
 		L2Skill.SkillType.ERASE,
 		L2Skill.SkillType.MAGE_BANE,
@@ -466,21 +465,6 @@ public class Disablers implements ISkillHandler
             		}
                     break;
             	}
-                case CANCEL_DEBUFF:
-                {
-                	L2Effect[] effects = target.getAllEffects();
-                	
-                	if (effects.length == 0 || effects == null) break;
-                	
-                	for (L2Effect e : effects)
-                	{
-                		if (!e.getSkill().getSkillType().equals(L2Skill.SkillType.BUFF))
-                			e.exit();
-                		break;
-                	}
-                	
-                	break;
-                }
                 case CANCEL:
                 case NEGATE:
                 {