spell scribe limiter
Was curious as to how I would go about limiting the spell scriber to not scribe rank 2 or 3 spells... if that part isnt possible how about just restricting the scribes to lvl 70 and below?
Code:
#NPC: Spell_Scribe (Tomes and Quests NPC) |
For 70 and below is easy, test $ulevel, and if it's higher than 70, only scribe to 70, or display a separate message for that. I'd go with the former, just in case they leveled too many times.
As far as Rk. II and III's, not entirely sure there would be an easy solution to bypass them on the spell scriber, but I could easily be wrong. |
You could use the spell_globals table to require them to have a certain flag to scribe Rank 2 and Rank 3 spells.
Example: Code:
mysql> select * from spell_globals; |
In the more recent server revisions there is a rule for UseCHAScribeHack, which works quite a bit like it sounds.
Since CHA is often used as some kind of placeholder in spells, this lets you set the last effect slot in a spell to CHA with a base of 0 and be skipped by scribespells and traindiscs. |
All times are GMT -4. The time now is 09:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.