[crossfire] New spells: curse item / bless item ; also change spell name matching for cast

Nicolas Weeger (Laposte) nicolas.weeger at laposte.net
Mon Jan 15 17:05:37 CST 2007


Hello.

I just implemented partially the feature request 
https://sourceforge.net/tracker/index.php?func=detail&aid=656194&group_id=13833&atid=363833 
(it should be possible to bless and curse items).

I added 2 new spells, 'curse item' and 'bless item', that do what you'd 
expect.

Bless will make the item god-given, to avoid abuse.

Spells require much grace, and are level 50.


Note that curse will merely set the cursed flag, but won't change weight / 
stats / whatever.


I closed the request, which still has a suggestion for 2 matching skills, 
because i'm not sure such skills are interesting. I also fear they would be 
abused. Of course one should feel free to implement that :)


As part of that commit, I changed the name matching for 'cast <spell name>': 
if a perfect match is found, return it, else return if only one good match, 
else don't return anything. And if player asks for 'long spell', don't 
match 'long' :)


Nicolas



More information about the crossfire mailing list