Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public boolean checkCondition()
- {
- if(_effected.isInvul())
- return false;
- Skill skill = _effected.getCastingSkill();
- if(skill != null && (skill.getSkillType() == SkillType.TAKECASTLE || skill.getSkillType() == SkillType.TAKEFORTRESS || skill.getSkillType() == SkillType.TAKEFLAG))
- return false;
- return super.checkCondition();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement