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
  #4  
Old 09-20-2007, 03:47 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

In spells_us.txt there is a field (around #72) that indicates the type of spell as defined in spdat.h. The PoH spell (666) is to be flagged as 83, which is SE_Teleport. The Abscond spell is type 88 which is SE_Succor.

Also, the 4th field specifies the target zone. Succor type spells all have "same" as the zone. Teleport spells have the actual target zone name.

I believe the coords and heading are around fields 18-21, although I am not clear on that.

spell_effects.cpp checks if the target zone field is set to "same", if so, the client is sent to the zone's safe coords. If it's a zone, it moves the client to the target zone.

It seems like you could change the succor type spells to teleport type and put in the coords and zone name and it should zone you, although I haven't tried it.
Reply With Quote
 


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:57 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