Log in

View Full Version : spell scribe for spells already scribed


Darkheat
05-10-2010, 03:53 AM
I have done some searching and couldn't find an answer so sorry if this has already been answered.

Hello I have made a basic spell scribe to scribe spells when people hail him. up to their level using the ulevel variable, but I was wondering how to make it so if someone hails him and they don't have any spells for that level the npc will say "Sorry there are no spells available for your level at this moment" also if the person has all their spells for their level he would say "Why are you wasting my time? you already have all the spells for your current level"

any help would be appreciated thanks! :)

trevius
05-10-2010, 04:59 AM
I may be wrong, but I don't think we have any quest commands that can support either of those yet. Though, if you knew all levels that all classes get spells, you could probably write a hash or array or a formula for the levels that each class doesn't get spells for. I don't know of a way to see if they already have all of their spells for said level.

Darkheat
05-10-2010, 04:41 PM
I may be wrong, but I don't think we have any quest commands that can support either of those yet. Though, if you knew all levels that all classes get spells, you could probably write a hash or array or a formula for the levels that each class doesn't get spells for. I don't know of a way to see if they already have all of their spells for said level.

ok, thanks for the suggestion I Tre I will try that