• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Issue with new vocation and weapons.

FenX

Advanced OT User
Joined
Jul 8, 2019
Messages
360
Solutions
1
Reaction score
159
Hi,

TFS 1.2

I created a new vocation aka promotion for elite knights. Added this new vocation to spells.xml and movements.xml for equip/dequip.
I started to test if new the vocation works fine, if all spells can be used etc as well as items. Equipping/deequipping works fine as well as all spells.

However,

For example when using "blade of destruction" as a knight/elite knight it works fine, I can deal damage with the weapon. But when on the new "mercenary" vocation I no longer deal damage when attacking anything specifically with the "blade of destruction" or other "destruction" weapons. Issue is the same with sorcerer/druid (warlock/priest) and their "destruction" weapons, others work fine. Haven't tested yet which other weapons might also have this issue, for now I've only found out that the "destruction" weapons for all "new" vocations can be worn however, you don't deal any damage with them. EDIT: Just tested that the same issue occurs with some weapons at random for example, wand of voodoo for "warlock" vocation doesn't deal damage but for "sorcerer/master sorcerer" works fine.

movements.xml (blade of destruction)
XML:
    <movevent event="Equip" itemid="30684" slot="hand" level="100" function="onEquipItem"> <!-- Blade of Destruction -->
        <vocation name="Knight" />
        <vocation name="Elite Knight" showInDescription="0" />
        <vocation name="Mercenary" showInDescription="0" />
    </movevent>
    <movevent event="DeEquip" itemid="30684" slot="hand" function="onDeEquipItem" />
movements.xml (stonecutter axe)
XML:
    <movevent event="Equip" itemid="2431" level="90" slot="hand" function="onEquipItem"> <!-- Stonecutter Axe -->
        <vocation name="Knight" />
        <vocation name="Elite Knight" showInDescription="0" />
        <vocation name="Mercenary" showInDescription="0" />
    </movevent>
    <movevent event="DeEquip" itemid="2431" slot="hand" function="onDeEquipItem" />

GIFS:

Knight + blade of destruction: Gyazo (https://gyazo.com/1818decf58eb7859dc56fdbd95f79555)
Elite Knight + blade of destruction: Gyazo (https://gyazo.com/387c6d9f89cd3d7cee90599d4d487d69)
Mercenary + blade of destrctuion: Gyazo (https://gyazo.com/96f7bdd43d30aa65110aba69985d6c2e)
Mercenary + stonecutter axe: Gyazo (https://gyazo.com/0bd0eee9a12df2024aaaf9bb128e8a1a)

Anyone got any ideas? 🤔
 
Last edited:
Back
Top