• 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!

Third promotion. Movement equipment problem

bury

Active Member
Joined
Jul 27, 2008
Messages
421
Solutions
7
Reaction score
25
Hello.

I started doing the third promotion in my server and I realized that with the epic elder druid (or epic ms) vocation you cant wear the items that I could wear with elder/master mages before.

I thought that I had to add the vocation number in the movement.xml file, but in the xml file its only the vocation name:

XML:
<movevent type="Equip" itemid="8983" slot="shield" event="function" value="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Druid"/>

And I added it in lib/xxx-vocations.lua yet:

LUA:
function isSorcerer(cid)
	return isInArray({1, 5, 9}, getPlayerVocation(cid))
end

function isDruid(cid)
	return isInArray({2, 6, 10}, getPlayerVocation(cid))
end

function isPaladin(cid)
	return isInArray({3, 7, 11}, getPlayerVocation(cid))
end

function isKnight(cid)
	return isInArray({4, 8, 12}, getPlayerVocation(cid))
end

function isRookie(cid)
	return isInArray({0}, getPlayerVocation(cid))
end

So it just doesnt regconize me as a sorcerer in the game, however in functions, yes. So I think I have to add something else in any other folder. Maybe in the sources?

PS: and in the vocations.xml file I have everything properly:
XML:
fromvoc="6"

Thanks for help!
 
Back
Top