[crossfire] Spells consuming items

Mark Wedel mwedel at sonic.net
Wed Jan 27 00:23:13 CST 2010


Nicolas Weeger wrote:

>>   This probably isn't a problem until spells that use this functionality
>> become widespread - my main concern in there may be some confused/upset
>> players if there are spells that end up using valuable items.
> 
> Hopefully, client will warn when selecting such a spell (which is why I added 
> the protocol extension).
> Or we can even have the server send a reminder - "you ready the spell 
> firebolt, which consumes diamonds to be cast".

  That last one is probably a good method - it universally works.

  While the client could do some of the work, it (at least the C client) 
currently doesn't watch commands that much.  It watches it to the extent to know 
if it is a command it should execute or a command that it should pass to the 
server, but beyond that, it just passes the data on to the server.

  Since the server currently says 'you ready abc', putting in a note that it has 
components doesn't really add much in the way of extra messages, and seems like 
a pretty easy solution.




More information about the crossfire mailing list