How to edit /unstick and set your coordinates.

In order to set the coordinates or change the cast time and generally configure unstuck, you need to change the skill в data/skills
ID - 2099
XML:
  <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>

To set the coordinates, it is necessary to modify the skill as follows, in our case, return to the Giran:
XML:
  <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>
Where - townId region number, all region id:
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
 
for some reason skill stopped working maybe from some updates, it works but it goes to the nearest city.
Code:
<skill id="2099" level="1" name="Escape: Town of Giran">
    <set name="magicType" val="MAGIC"/>
    <set name="icon" val="icon.skill0000"/>
    <set name="magicLevel" val="1"/>
    <set name="hitTime" val="20000"/>
    <set name="townId" val="9"/>
    <set name="hitCancelTime" val="500"/>
    <set name="reuseDelay" val="10000"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="RECALL"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <set name="isSharedClassReuse" val="true"/>
    <set name="isSkillTimePermanent" val="true"/>
    <set name="isReuseDelayPermanent" val="true"/>  
    <cond msgId="1509">
      <όχι>
        <player olympiad="true"/>
      </not>
    </cond>
  </skill>
 
Last edited:
Back
Top