Quote:
|
Originally Posted by Tru
I actually found a bug...surprised it hasnt surfaced before now
Items stolen and locked down can be restolen
|
The fix is to test for the stolen flag in stealing.cs just as the spawners do.
around line 70, change
Code:
else if ( toSteal.Parent == null || !toSteal.Movable || toSteal.LootType == LootType.Newbied || toSteal.CheckBlessed( root ) )
{
m_Thief.SendLocalizedMessage( 502710 ); // You can't steal that!
}
to this
Code:
//ARTEGORDONMOD
// allow stealing of rares on the ground or in containers, but prevent re-stealing if later locked down
else if ( ((toSteal.Parent == null || !toSteal.Movable) && ( !(toSteal is IRare) || toSteal.GetSavedFlag(0x00100000)) ) || toSteal.LootType == LootType.Newbied || toSteal.CheckBlessed( root ) )
{
m_Thief.SendLocalizedMessage( 502710 ); // You can't steal that!
}
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "
For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum