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.
|