Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-30-2015, 01:29 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by Bandor View Post
So from what I understand I can make spells global and pretty much make them quest rewards in a way. I have set my globals and all that good stuff and modified my db to enable global checks. However I can't seem to find any info on how to make a spell scriber not scribe the spells that are global. Anyone know any way of making this happen? Hope that makes sense.
Spell globals is a system that I believe Kingly made (forget who), requiring a quest global to have a certain value before it can be scribed.

Perhaps its a misunderstanding on my part or on yours explaining or maybe even understanding what they spell globals "do"?

The following example will scribe all level 1 to 9 spells for all classes:

Code:
quest::scribespells (9,1);
Going by PEQ stock DB now. If you didn't want, say, Minor Healing (ID 200) to be scribed unless the player had the quest global with a key name of say "ungimped" (ex. $qglobal{"ungimped"} ) with a value of 4 (it -may- be >= 4, I would have to look at the source) declared, you would in your 'spell_globals' table place:

spellid: 200
spell_name: Minor Healing
qglobal: ungimped
value: 4


Code:
quest::setglobal("ungimped",4,5,"F");

Does that help you at all? You were just using the word "global" by itself, not really specifying quest or spell as to what type of global, where as both are involved, so it was a little bit of a confusing read (that is to know whether or not you fully understood how it works).

If that didn't help, let me know, I'll try to provide more information/code examples.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3