View Full Version : Spell scriber..
Nerdgasm
06-04-2013, 06:30 PM
We have custom spells on the server, I looked over this link (http://www.eqemulator.net/wiki/wikka.php?wakka=QuestTutorial), and did a search couldn't find exactly what I was looking for, sadly... So I'll explain it, it's probably something simple. :P...
So, instead of changing all the spells in the database I don't want to use to level 255, I want the NPC to scribe certain spells... Example;
sub EVENT_ITEM
{
if($platinum == 1)
{
quest::scribespell(14);
}
}
Said script, doesn't work. (14 was changed from Burst of Fire(flame?) to Poison Dart, and since you only get two spells at level 1 on the server and there are actually 9 spells you ACTUALLY obtain at level 1 as a Shaman, doing quest::scribespells(1,1) won't work either... Any information//help on this?
Nerdgasm
06-04-2013, 06:36 PM
I guess I could make a scroll, and when you hand him X amount of plat he gives you the scroll for you to memorize, I spose that could be a thing... I just wanted to take the easy way out of things... Lol.
Kingly_Krab
06-04-2013, 07:48 PM
Nerdgasm, take a look in the spell_globals table, you can set a required qglobal for certain spells that you don't want to get scribed, it also requires you to set the value in which is required, the name is also nice to put in there so you can modify it later.
mysql> select * from spell_globals;
+---------+------------+-------------+-------+
| spellid | spell_name | qglobal | value |
+---------+------------+-------------+-------+
| 1 | Test | TestQGlobal | 1 |
+---------+------------+-------------+-------+
1 row in set (0.00 sec)
Nerdgasm
06-05-2013, 03:42 AM
I hate messing with Globals, I feel like I'm going to break the darn things, I'll stay with scrolls. :).
Thanks though! :D
orionsun6
06-05-2013, 01:27 PM
Your server is going to be so epic!! Don't do anything moderately complex because you are scared... if only there was a way to save and restore digital files.
Kingly_Krab
06-05-2013, 03:41 PM
There is! You can use Google Drive, click here (https://drive.google.com/).
lerxst2112
06-05-2013, 05:33 PM
There is! You can use Google Drive, click here (https://drive.google.com/).
Your skill in recognizing sarcasm has been reduced (-1000).
Kingly_Krab
06-05-2013, 06:02 PM
There is! You can use Google Drive, click here (https://drive.google.com/).
Your skill in recognizing sarcasm has been reduced (-1000).
Your skill in recognizing sarcasm has been revoked.
lerxst2112
06-05-2013, 10:02 PM
Your skill in recognizing sarcasm has been revoked.
Luckily I backed it up on Google Drive. ;)
Kingly_Krab
06-05-2013, 10:37 PM
That's great, haha.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.