… | |
… | |
483 | |
483 | |
484 | /* Prevent recursion */ |
484 | /* Prevent recursion */ |
485 | op->move_on = 0; |
485 | op->move_on = 0; |
486 | |
486 | |
487 | tmp->insert_at (op, op); |
487 | tmp->insert_at (op, op); |
|
|
488 | tmp->play_sound (tmp->sound); |
|
|
489 | |
488 | /* remove the firebullet */ |
490 | /* remove the firebullet */ |
489 | op->destroy (); |
491 | op->destroy (); |
490 | } |
492 | } |
491 | |
493 | |
492 | /* checks to see what op should do, given the space it is on |
494 | /* checks to see what op should do, given the space it is on |
… | |
… | |
1085 | * op = player |
1087 | * op = player |
1086 | * caster = object casting the spell. |
1088 | * caster = object casting the spell. |
1087 | * dir = direction being cast |
1089 | * dir = direction being cast |
1088 | * spell = spell object |
1090 | * spell = spell object |
1089 | */ |
1091 | */ |
1090 | |
|
|
1091 | int |
1092 | int |
1092 | cast_smite_spell (object *op, object *caster, int dir, object *spell) |
1093 | cast_smite_spell (object *op, object *caster, int dir, object *spell) |
1093 | { |
1094 | { |
1094 | object *effect, *target; |
1095 | object *effect, *target; |
1095 | object *god = find_god (determine_god (op)); |
1096 | object *god = find_god (determine_god (op)); |