i want make learn spell to 2 vocations i have that script
i put 2 vocations knight can learn but palladin no;/ i have that in more spells;/ what i should do;/
Code:
local node5 = keywordHandler:addKeyword({'haste'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Would you like to learn haste for 500 gp?'})
node5:addChildKeyword({'yes'}, StdModule.learnSpell, {npcHandler = npcHandler, premium = true, spellName = 'Haste', [COLOR="Red"]vocation = 3, vocation = 4, [/COLOR]price = 500, level = 13})
node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Cant you handle the power of the spell?', reset = true})
i put 2 vocations knight can learn but palladin no;/ i have that in more spells;/ what i should do;/