… | |
… | |
820 | |
820 | |
821 | /* Need to know what the movetype of the object we are about |
821 | /* Need to know what the movetype of the object we are about |
822 | * to create is, so we can know if the space we are about to |
822 | * to create is, so we can know if the space we are about to |
823 | * insert it into is blocked. |
823 | * insert it into is blocked. |
824 | */ |
824 | */ |
825 | movetype = spell->other_arch->clone.move_type; |
825 | movetype = spell->other_arch->move_type; |
826 | |
826 | |
827 | for (i = range_min; i <= range_max; i++) |
827 | for (i = range_min; i <= range_max; i++) |
828 | { |
828 | { |
829 | sint16 x, y, d; |
829 | sint16 x, y, d; |
830 | |
830 | |
… | |
… | |
2099 | if (infect_object (walk, disease, 1)) |
2099 | if (infect_object (walk, disease, 1)) |
2100 | { |
2100 | { |
2101 | new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name); |
2101 | new_draw_info_format (NDI_UNIQUE, 0, op, "You inflict %s on %s!", &disease->name, &walk->name); |
2102 | |
2102 | |
2103 | disease->destroy (); /* don't need this one anymore */ |
2103 | disease->destroy (); /* don't need this one anymore */ |
2104 | walk->map->insert (get_archetype (ARCH_DETECT_MAGIC), x, y, op); |
2104 | walk->map->insert (get_archetype ("detect_magic"), x, y, op); |
2105 | return 1; |
2105 | return 1; |
2106 | } |
2106 | } |
2107 | |
2107 | |
2108 | disease->destroy (); |
2108 | disease->destroy (); |
2109 | } |
2109 | } |