EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Custom (https://www.eqemulator.org/forums/forumdisplay.php?f=671)
-   -   Completely lost, can i get some input? (https://www.eqemulator.org/forums/showthread.php?t=39485)

Songsinger 03-21-2015 11:18 PM

Wonder if there is any way to put a flag or status requirement on the spell, and make the quest give that flag? Maybe that would bypass the autoscribe on it.

Kingly_Krab 03-22-2015 03:11 AM

To block a spell from being scribed you have to create a spell global in the spell globals table. It's very undocumented, you must also enable spell globals in the rule_values table under the Spell:EnableSpellGlobals rule.

Songsinger 03-22-2015 03:28 PM

So i take it the Spellid and spell_name are obvious, the spell id and name of one i want to block. what do i need to do for qglobal and value? Tha main spell I want to block is 1944 the mage epic spell summon orb. It is unfair for mages to get a free epic :)

Kingly_Krab 03-22-2015 04:15 PM

For qglobal you put the name of the qglobal you'd want to set for them to be able to scribe that spell. The value is the value of the qglobal necessary to scribe the spell. For example, you want qglobal UberSpells to have a value of 1 and block spell 1944. This is how you would do it:
Code:

INSERT INTO `spell_globals` ('1944', 'Summon Orb', 'UberSpells', '1');

Songsinger 03-22-2015 09:23 PM

Thank you very much!

Kingly_Krab 03-22-2015 10:34 PM

You're welcome.


All times are GMT -4. The time now is 10:05 AM.

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