version 1.85 | | version 1.86 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.85 2004/03/23 07:52:32 mwedel Exp $"; | | * "$Id: spell_util.c,v 1.86 2004/04/18 07:59:36 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
* take two ticks. Things that cast spells on the players | | * take two ticks. Things that cast spells on the players |
* behalf (eg, altars, and whatever else) shouldn't cost | | * behalf (eg, altars, and whatever else) shouldn't cost |
* the player any time. | | * the player any time. |
* | | * Ignore casting time for firewalls |
*/ | | */ |
if (caster == op) { | | if (caster == op && caster->type != FIREWALL) { |
op->speed_left -= spell_ob->casting_time*PATH_TIME_MULT(op,spell_ob) * FABS(op->speed); | | op->speed_left -= spell_ob->casting_time*PATH_TIME_MULT(op,spell_ob) * FABS(op->speed); |
/* Other portions of the code may also decrement the speed of the player, so | | /* Other portions of the code may also decrement the speed of the player, so |
* put a lower limit so that the player isn't stuck here too long | | * put a lower limit so that the player isn't stuck here too long |