Beispiel #1
0
		public static void SetTaken( Item target, bool value )
		{
			if( target != null )
			{
				target.SetSavedFlag( TakenFlag, value );
			}
		}
Beispiel #2
0
		public static Item MakeAmazonArmor( Item item )
		{
			item.Hue = 2126;
			if ( Utility.Random( 300 ) != 0 )
				item.SetSavedFlag( 0x1, true );

			if ( item is BaseArmor )
				((BaseArmor)item).Identified = true;
			else if ( item is BaseWeapon )
				((BaseWeapon)item).Identified = true;

			return item;
		}
Beispiel #3
0
		public static void SetStealable( Item target, bool value )
		{
			if( target != null )
				target.SetSavedFlag( StealableFlag, value );
		}
 public static Item NotCorpseCont( Item item )
 {
     item.SetSavedFlag( 0x01, true );
     return item;
 }
Beispiel #5
0
		public static Item MakeWitch( Item item )
		{
			if ( 0.99 > Utility.RandomDouble() )
				item.SetSavedFlag( 0x01, true );

			return item;
		}