version 1.40 | | version 1.41 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.40 2001/01/26 00:59:09 avogl Exp $"; | | * "$Id: spell_effect.c,v 1.41 2001/01/30 05:06:00 peterm Exp $"; |
*/ | | */ |
| | |
| | |
| | |
* so that we don't kill monsters with this (some monsters attacktype | | * so that we don't kill monsters with this (some monsters attacktype |
* has magic in it). | | * has magic in it). |
*/ | | */ |
| | /* don't attack our own spells */ |
| | if(tmp->owner && tmp->owner == op->owner) continue; |
| | |
if(tmp->material==0 && tmp->attacktype&AT_MAGIC && | | if(tmp->material==0 && tmp->attacktype&AT_MAGIC && |
!(tmp->attacktype&AT_COUNTERSPELL) && | | !(tmp->attacktype&AT_COUNTERSPELL) && |
!QUERY_FLAG(tmp,FLAG_MONSTER)) | | !QUERY_FLAG(tmp,FLAG_MONSTER)) |