DreamStage Posted November 11, 2010 Posted November 11, 2010 Does anyone knows how to make some zone not leting anyone using the HIDE skill from all chars who has it?
0 Matim Posted November 11, 2010 Posted November 11, 2010 1) Simplest way (there mey be other ofc lol) : - modify your zone type (onEnter and onExit functions) - create new boolean for L2PcInstance like _canUseHide with true by default. - onEnter set it to false - onEnter set it to true - When using this skill, check if this boolean is true/false, if false return, if true - allow to use.
0 DreamStage Posted November 12, 2010 Author Posted November 12, 2010 How to make that? =( im still noob about creating booleans etc. I've seen this like: <zone id="115000" type="EffectZone" shape="NPoly" minZ="-2100" maxZ="-100"> <stat name="skillIdLvl" val="23176-1;922-1;" /> <stat name="chance" val="0" /> <stat name="initialDelay" val="1000" /> <stat name="reuse" val="1000" /> <stat name="affectedLvlMin" val="90" /> </zone> But its not working, i think its the fastest way
0 DreamStage Posted November 12, 2010 Author Posted November 12, 2010 create new boolean for L2PcInstance like _canUseHide with true by default. Where is that file? Do i need to create a patch to write the file and insert into my server core?
0 DreamStage Posted November 13, 2010 Author Posted November 13, 2010 public final String onEnterZone(L2Character character, L2ZoneType zone) { if (_player.getAppearance().getInvisible()) { @SuppressWarnings("unused") L2Effect eInvisible = _player.getFirstEffect(L2EffectType.HIDE); } } But im writting in phyton, where can i put this code? and where to say what zone is to not making hide apear?
0 DreamStage Posted November 13, 2010 Author Posted November 13, 2010 Ok i found out how to do it. Thx
Question
DreamStage
Does anyone knows how to make some zone not leting anyone using the HIDE skill from all chars who has it?
6 answers to this question
Recommended Posts