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

New vocation can't use armor

DedicatedOT

New Member
Joined
Jun 13, 2009
Messages
977
Reaction score
4
Location
USA
Hello,


How come new vocations can't use Magic Plate Armor and other swords and things?

I looked in weapons.xml, but couldn't find Magic Plate Armor...

REP ++ if you help. Thanks!
 
Some weapons can you edit in weapons.xml
Just add
Code:
		<vocation name="New Vocation"/>

But Armors, i dont think you can change it..

If your potions dosnt work do this:
You have a file called Potions.lua
(Data -> Acton -> Scripts -> Others -> Potions.lua)

If we say your New Vocation shall use Strong Mana potion right?

Code:
end
doAddCondition(cid, exhaust)
doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
doTransformItem(item.uid, strongEmptyPot)
elseif(item.itemid == strongManaPot) then
if(not(isSorcerer(cid) or isDruid(cid) or isPaladin(cid)) or (getPlayerLevel(cid) < 50)) and not(getPlayerGroupId(cid) >= 2) then
doCreatureSay(cid, "This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.", TALKTYPE_ORANGE_1)
return TRUE
end

Thats the original one, edit to this:

Code:
end
doAddCondition(cid, exhaust)
doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
doTransformItem(item.uid, strongEmptyPot)
elseif(item.itemid == strongManaPot) then
if(not(isSorcerer(cid) or isDruid(cid) or isPaladin(cid) or isAncient Druid(cid)) or (getPlayerLevel(cid) < 50)) and not(getPlayerGroupId(cid) >= 2) then
doCreatureSay(cid, "This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.", TALKTYPE_ORANGE_1)
return TRUE
end

I'll check out the armor~ thing...

Yours, RunarM.
 
Back
Top