I am currently learning C++ and I know sql... though I imagine it needs to be done with C++ in the source...
Anyway, does anyone have any information/resources or ideas on how to disable spell casting or to specifically disable certian spells in a zone?
For example to disable the use of teleports and gates in plane of justice...or to just simply disable spell casting.
This would definitely need custom code. The method that handles cast spell requests would just need to check the zone id before it processed anything for the spell.
I'm not too good with C++, I'll use the weekend to try and figure out the syntax, but basically it would need to be an "if" line of if zone=soandso... in proper syntax ofcourse?
Or does it need to be an if line with specification if "if" is met... I was looking at the syntax of other lines near it and assumed it would automatically end the cast spell if the "if" was met, unless "break" was to end the cast if "if" was met.
actualy i believer that info is handled by the spell themselves.
Actually, you can precise in what type of zone the spell can be casted (Town, Plane, ...), but you cant precise in what zone it can be casted (gfay, ec, wc, ...).
This particular example will not let complete heal (spell id 13) to be cast in nexus (zone id 152) and will display in yellow text Can't cast spell here.
Funny thing is if I recall correctly at one point in time certain spells could only be cast in certain zones... Like the druid port to EJ could only be cast in KC.
Funny thing is if I recall correctly at one point in time certain spells could only be cast in certain zones... Like the druid port to EJ could only be cast in KC.
It was indoor-only.
Thus you had people going from Dreadlands to KC to have it cast, since KC was indoors and DL was outdoors.
Oh, didn't know that at the time I was a newbie and had only played a warrior. Thought it only worked in KC since I started a druid after the patch that changed it.
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.