[crossfire] Spellcasting Swords & Python Troubles

Mark Wedel mwedel at sonic.net
Sat May 28 00:43:34 CDT 2005


Alex Schultz wrote:
>
     
      Hi again,
     
     >
     
     
     >
     
      With the script I've been making (see other posts in this topic), I'm 
     
     >
     
      having trouble getting it to work with arrows. The problem is that when 
     
     >
     
      one shoots an arrow, the inventory of the arrow is not duplicated 
     
     >
     
      properly. One possible solution would be modifying the server code to 
     
     >
     
      duplicate the inventory of arrow when shooting. Does anyone think this 
     
     >
     
      might break anything? If not, I'll attempt to make a patch for that.
     
     
  It depends what the inventory is.

  You have to make sure that the inventory is properly handled when the arrow 
hits something or is otherwise stopped, eg, you don't want that inventory to end 
up on the map (or you probably don't).

  I don't know right now if the stop arrow code will already handle all of that 
properly, but that is a consideration.


    
    


More information about the crossfire mailing list