* Hack -- note special "pval boost" code for ring of speed\n
* Hack -- note that some items must be cursed (or blessed)\n
*/
-static void apply_magic_equipment(player_type *owner_ptr, object_type *o_ptr, DEPTH level, int power)
+void apply_magic_accessary(player_type *owner_ptr, object_type *o_ptr, DEPTH level, int power)
{
switch (o_ptr->tval)
{
case TV_AMULET:
{
if (!power && (randint0(100) < 50)) power = -1;
- apply_magic_equipment(owner_ptr, o_ptr, lev, power);
+ apply_magic_accessary(owner_ptr, o_ptr, lev, power);
break;
}
default: