[CF-Devel] Town portal, party version

DAVID DELBECQ david.delbecq at usa.net
Mon Apr 23 12:09:44 CDT 2001


Hi, everybody, here is the second version of the spell of town portal

Here follow the modifications:
 modified spell_effects.c (function added: cast_create_town_portal)
 modified spell_util.c to cast the town portal 
 spellist.h and spells.h to reference the new spell
 modified apply.c to identify the 2 ways townportal inside apply_manual ()
     the function is_2ways_exit () is used for it.


Now the portal only work for his owner and peoples of the same party.
It is also blocked if the exit of the portal doesn't exist anymore.

It also implements a modified archetype of exit with the tag exp set to 1
when apply_manual find this kind of exit, it check for the presence of a
return exit in the destination map (could be usefull in map??)






David Delbecq
     
     David.delbecq at usa.net
     
     

____________________________________________________________________
Get free email and a permanent address at 
     
     http://www.netaddress.com/?N=1
     
     
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.townportal.crossfire.0.98.0
Type: application/octet-stream
Size: 20430 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20010423/ede9e5e0/patch.townportal.crossfire.0.98.obj
     
     
    


More information about the crossfire mailing list