Oops didn't see the post about "droppable if not equipped". In that case don't use cursed flag, use a local variable on the item and change the line
if (GetItemCursedFlag(oItem) == TRUE)
to
if (GetLocalInt(oItem, "FLAG_CURSED") == 1)
The variable will be named "FLAG_CURSED" and set to "1" if you want the item to be cursed.
Modifié par Pstemarie, 10 juillet 2012 - 05:11 .