> recharging it.. Now, I haven't looked at the recharge spell myself (why
> rework something that already does what you want it to, right??), but
> that's my general idea of it. Eventually you just can't recharge the
> item whatsoever.

Actually, I think he means it's checking the index in skill_table of the
item's spell against the level it's being cast at, which makes no real
sense to me.
    if (obj->value[3] >= 3 * level / 2)
    {
      ...
    }
Possibly a vestigal remnant of some older staff/wand format.  Or maybe
just a bug.
Most likely it's supposed to be obj->value[0], to make sure you don't
recharge any spells that are too big for your level.
--Palrich.

Reply via email to