DarkCore Posted December 24, 2010 Posted December 24, 2010 I hope that you understand the question. I need to make skill "steal of divinity" usable only in olympiad. Is it possible?
0 Scarface™ Posted December 24, 2010 Posted December 24, 2010 I hope that you understand the question. I need to make skill "steal of divinity" usable only in olympiad. Is it possible? Like l2inception?! OMGF! why? SoulHound is wonderful class and you destroy it! Just increase reuse! Dont Do it usable only at Olympiad!
0 DnR Posted December 26, 2010 Posted December 26, 2010 A possible way is to add this in L2Character CheckDoCastConditions boolean. if (this instanceof L2PcInstance && !((L2PcInstance)this).isInOlympiadMode() && skill.getSkillType() == L2SkillType.STEAL_BUFF)) { SystemMessage sm = new SystemMessage(SystemMessageId.S1_CANNOT_BE_USED); sm.addSkillName(skill); sendPacket(sm); return false; }
Question
DarkCore
I hope that you understand the question.
I need to make skill "steal of divinity" usable only in olympiad. Is it possible?
5 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