I was wondering if it was possible to do new vocations, along with the old ones. I added in a rouge vocation to vocations.xml and put this code:
function isRouge(cid)
return isInArray {{13}, getPlayerVocation(cid))
end
in the 031-vocations.lua file.
It didn't work though, any ideas?
and most creature and spell scripts along with a few others wouldn't load due to this
- - - Updated - - -
I realized that array 13 was probably an item array, so i tried to modify the rookie array. No luck though. When i log in and look at myself it says i have no vocation, even though vocation 0 should now be the rouge vocation
- - - Updated - - -
Also running tfs 0.3.7 tibia version 8.6
- - - Updated - - -
Nevermind I fixed it all
function isRouge(cid)
return isInArray {{13}, getPlayerVocation(cid))
end
in the 031-vocations.lua file.
It didn't work though, any ideas?
and most creature and spell scripts along with a few others wouldn't load due to this
- - - Updated - - -
I realized that array 13 was probably an item array, so i tried to modify the rookie array. No luck though. When i log in and look at myself it says i have no vocation, even though vocation 0 should now be the rouge vocation
- - - Updated - - -
Also running tfs 0.3.7 tibia version 8.6
- - - Updated - - -
Nevermind I fixed it all