- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Meikis
Hello, I want to make skill - seal of ruler (246) can be used on my NPC, not in siege time. I removed all check in
@Override public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) { if (activeChar == null || !(activeChar instanceof L2PcInstance)) return; if (targets.length == 0) return; final L2PcInstance player = (L2PcInstance) activeChar; //if (!player.isClanLeader()) //return; //final Castle castle = CastleManager.getInstance().getCastle(player); //if (castle == null || !player.checkIfOkToCastSealOfRule(castle, true, skill, targets[0])) //return; player.sendMessage("engraved"); }But when I try to cast it on ArtefactInstance NPC (e.g. 35279) it says - Seal of ruler cannot be used due to unsuitable terms, why?
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now