EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   spell scribe for spells already scribed (https://www.eqemulator.org/forums/showthread.php?t=31269)

Darkheat 05-10-2010 03:53 AM

spell scribe for spells already scribed
 
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

Quote:

Originally Posted by trevius (Post 187688)
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


All times are GMT -4. The time now is 07:00 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.