Jump to content
  • 0

[Help] No HIDE Skill zone


Question

6 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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
Posted

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?

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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..