Hello.

I just committed a small patch enabling spells to require and consume items 
when cast.

The patch uses a 'casting_requirements' key (in the spell object itself) to 
enforce restrictions.
The value should be a list of items, like the alchemy uses.
Currently it is restricted to 10 items (hardcoded value) - putting more will 
make the spell impossible to cast.


Check the 'test/spell_requirements' maps for an example.



Now let your imagination take over and invent fun spells with weird items! :)



Nicolas
-- 
http://nicolas.weeger.org [Mon p'tit coin du web]

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
crossfire mailing list
[email protected]
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to