… | |
… | |
168 | rune->stats.Cha = rune->level / 2; /* the invisibility parameter */ |
168 | rune->stats.Cha = rune->level / 2; /* the invisibility parameter */ |
169 | rune->x = nx; |
169 | rune->x = nx; |
170 | rune->y = ny; |
170 | rune->y = ny; |
171 | rune->map = m; |
171 | rune->map = m; |
172 | rune->direction = dir; /* where any spell will go upon detonation */ |
172 | rune->direction = dir; /* where any spell will go upon detonation */ |
173 | set_owner (rune, op); /* runes without need no owner */ |
173 | rune->set_owner (op); /* runes without need no owner */ |
174 | set_spell_skill (op, caster, spell, rune); |
174 | set_spell_skill (op, caster, spell, rune); |
175 | insert_ob_in_map (rune, m, op, 0); |
175 | insert_ob_in_map (rune, m, op, 0); |
176 | return 1; |
176 | return 1; |
177 | |
177 | |
178 | } |
178 | } |