• 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 Promotions Potions.

Antagoreon

New Member
Joined
Jul 13, 2008
Messages
94
Reaction score
0
Location
Inside Inferno
I make a 4 new promotions in my server but this new promos can not use the potions what i have do to work??? Exemple: Great mana potion to work with this aditional vocation Apoclyptic Shaman



Rep++ for the solution
 
Last edited:
You need to edit isSorcerer(), isDruid(), isPaladin() and isKnight() functions.

For example
Code:
function isSorcerer(cid)
	if(isPlayer(cid) == FALSE) then
		debugPrint("isSorcerer: Player not found.")
		return false
	end

	return (isInArray({1,5,[B]id ow new promoted voc[/B]}, getPlayerVocation(cid)) == TRUE)
end

(These functions are included in ./data/lib/function.lua)
 
Back
Top