Advertisement
elasticpwnz

Untitled

Nov 18th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1.     @Override
  2.     public boolean checkCondition()
  3.     {
  4.         if(_effected.isInvul())
  5.             return false;
  6.         Skill skill = _effected.getCastingSkill();
  7.         if(skill != null && (skill.getSkillType() == SkillType.TAKECASTLE || skill.getSkillType() == SkillType.TAKEFORTRESS || skill.getSkillType() == SkillType.TAKEFLAG))
  8.             return false;
  9.         return super.checkCondition();
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement