Opened 5 years ago

Closed 5 years ago

#11046 closed defect (fixed)

XEEN: Enchant Item spell sometimes leaves the item unenchanted

Reported by: darkstar Owned by: dreammaster
Priority: normal Component: Engine: MM: Xeen
Version: Keywords:
Cc: Game:

Description

The Enchant Item spell (e.g. from items that you find a lot in the early Clouds areas) sometimes leaves the item to be enchanted as-is. I had it happen a few times with simple gauntlets. No failure message, the item is gone, but the gauntlets stay unenchanted.

I'm pretty sure this was not how it worked in the original game (though I'd need to check to be 100% sure)

There should at least be a failure message ("Enchantment failed" or something, similar to the "Item cannot be enchanted" message if you choose a wrong item) in that case

Change History (1)

comment:1 by dreammaster, 5 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

I double-checked, and that's the way the original works.. the random enchanting result is based on how many multiples of 5 the caster's level is, and if the result is no enchantment (which is guaranteed if a level 1 character casts the spell), then the enchanting simply does nothing. But I agree it's not optimal, so I changed the code to show an explicit failure message if that happens.

Note: See TracTickets for help on using tickets.