… | |
… | |
1944 | LOG (llevError, "apply_spellbook: Book %s has no spell in it!\n", &tmp->name); |
1944 | LOG (llevError, "apply_spellbook: Book %s has no spell in it!\n", &tmp->name); |
1945 | new_draw_info (NDI_UNIQUE, 0, op, "The spellbook symbols make no sense."); |
1945 | new_draw_info (NDI_UNIQUE, 0, op, "The spellbook symbols make no sense."); |
1946 | return; |
1946 | return; |
1947 | } |
1947 | } |
1948 | |
1948 | |
1949 | if (floorf (sqrtf (spell->level) * 1.5f) > skop->level + 1) |
1949 | if (kop->level < floorf (sqrtf (spell->level) * 1.5f)) |
1950 | { |
1950 | { |
1951 | new_draw_info (NDI_UNIQUE, 0, op, "It is too hard to read at your level: You are unable to decipher the strange symbols."); |
1951 | new_draw_info (NDI_UNIQUE, 0, op, "It is too hard to read at your level: You are unable to decipher the strange symbols."); |
1952 | return; |
1952 | return; |
1953 | } |
1953 | } |
1954 | |
1954 | |