Jump to content

Editando comando /unstuck e scapes


Kelvin

Recommended Posts

  • L2JBr ADM

Caminho: \gameserver\data\stats\skills\

Você pode incluir parâmetro com o ID da cidade de retorno ao usar unstuck ou escape via skill. Veja o exemplo:

 <skill id="2099" levels="1" name="Escape: 5 minutes">
    <set name="magicType" val="SPECIAL"/>
    <set name="icon" val="icon.skill0000"/>
    <set name="magicLevel" val="1"/>
    <set name="hitTime" val="300000"/>
    <set name="hitCancelTime" val="500"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="RECALL"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <cond msgId="1509">
      <not>
        <player olympiad="true"/>
      </not>
    </cond>
 </skill>

Para incluir uma coordenada precisamos incluir um parâmetro no código da skill veja:

  <skill id="2099" levels="1" name="Escape: 5 minutes">
    <set name="magicType" val="SPECIAL"/>
    <set name="icon" val="icon.skill0000"/>
    <set name="magicLevel" val="1"/>
    <set name="hitTime" val="300000"/>
    <set name="hitCancelTime" val="500"/>
    <set name="townId" val="9"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="RECALL"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <cond msgId="1509">
      <not>
        <player olympiad="true"/>
      </not>
    </cond>
  </skill>

 <set name="townId" val="9"/>

Incluímos Town ID e o numero respectivo da cidade.

ID de outras cidades:

1: // Talking Island
2: // Elven Village
3: // Dark Elven Village
4: // Orc Village
5: // Dwarven Village
6: // Town of Gludio
7: // Gludin Village
8: // Town of Dion
9: // Town of Giran
10: // Town of Oren
11: // Town of Aden
12: // Hunters Village
13: // Heine
14: // Rune Township
15: // Town of Goddard
16: // Town of Schuttgart
17: // Primeval Isle
18: // Floran Village

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...



×
×
  • Create New...

Important Information

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.