Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
+{ + _player =(L2PcInstance)character; +finalint[] supporters ={15,16,29,30,42,43,97,105,112,115,136,116};// support classes ID's +for(int act : supporters) +if(_player.getActiveClass()== act) +{ + _player.sendMessage("You can't enter in flag zone with a support class."); + _player.teleToLocation(83417+Rnd.get(101)-50,149028+Rnd.get(101)-50,-3408); +} +}
Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
Question
nortim
Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
Can anyone help?
My Codes PvP Area:
<zone type="FlagZone" shape="Cylinder" minZ="-11000" maxZ="-8000" rad="10000"><!-- Pagan Temple Pvp -->
Link Post Block Healers: http://www.maxcheaters.com/topic/213502-block-bs-in-flagzone/
Code:
+if (character instanceof L2PcInstance)
+{
+ _player = (L2PcInstance)character;
+ final int[] supporters = {15,16,29,30,42,43,97,105,112,115,136,116}; // support classes ID's
+ for (int act : supporters)
+ if (_player.getActiveClass() == act)
+ {
+ _player.sendMessage("You can't enter in flag zone with a support class.");
+ _player.teleToLocation(83417 + Rnd.get(101) - 50, 149028 + Rnd.get(101) - 50, -3408);
+ }
+}
Video: https://youtu.be/d3vxJpvZT1g
54 answers to this question
Recommended Posts