L2JMobius

Interlude Scroll of escape, unstuck coords change help??

untex · 2 · 1039

Offline untex

  • Vassal
  • *
    • Posts: 2
Hello. I am trying to change /unstuck  to teleport to coords instead of escape to town. As i understand i can do it in skills XML.


Why it doesnt work when i change it in skill 2099     ???     it still does escape instead of teleport :(
BUT WHY IT WORKS IF I DO THE SAME FOR GM SKILL <skill id="2100"  used with gm char...     ????????????????


   <skill id="2099" levels="1" name="Escape: 5 minutes">
      <set name="blockedInOlympiad" val="true" />
      <set name="hitTime" val="300000" />
      <set name="isMagic" val="2" /> <!-- Static Skill -->
      <set name="magicLevel" val="1" />
      <set name="operateType" val="A1" />
      <set name="targetType" val="SELF" />
      <cond msgId="113" addName="1">
         <and>
            <player canEscape="true" />
            <not>
               <player insideZoneId="10501, 10502, 10503, 10504, 10505, 10506, 10507, 10508" />
            </not>
         </and>
      </cond>
      <for>
         <effect name="Escape">
            <param escapeType="TOWN" />

         </effect>
      </for>
   </skill>


TO THIS:


   <skill id="2099" levels="1" name="Escape: 5 minutes">
      <set name="blockedInOlympiad" val="true" />
      <set name="hitTime" val="300000" />
      <set name="isMagic" val="2" /> <!-- Static Skill -->
      <set name="magicLevel" val="1" />
      <set name="operateType" val="A1" />
      <set name="targetType" val="SELF" />
      <cond msgId="113" addName="1">
         <and>
            <player canEscape="true" />
            <not>
               <player insideZoneId="10501, 10502, 10503, 10504, 10505, 10506, 10507, 10508" />
            </not>
         </and>
      </cond>
      <for>
         <effect name="Teleport">
            <param x="82620" y="148180" z="-3473" />

         </effect>
      </for>
   </skill>


Offline untex

  • Vassal
  • *
    • Posts: 2
OK i just found a workaround for this. changed spawn coords in mapregion xml files. But still interesting, why it doesnt activate like that