Ejemplo n.º 1
0
		public static void Register( Type type, string regionName, LootCollection collection )
		{
			BaseRegion reg = Find( regionName );
			if ( reg != null )
				reg.LootTable.Add( type, collection );
			else
				m_Table.Add( type, collection );
		}
Ejemplo n.º 2
0
        public static void Register(Type type, string regionName, LootCollection collection)
        {
            BaseRegion reg = Find(regionName);

            if (reg != null)
            {
                reg.LootTable.Add(type, collection);
            }
            else
            {
                m_Table.Add(type, collection);
            }
        }
Ejemplo n.º 3
0
		public static void Register( Type type, LootCollection collection )
		{
			Register( type, null, collection );
		}
Ejemplo n.º 4
0
 public static void Register(Type type, LootCollection collection)
 {
     Register(type, null, collection);
 }
Ejemplo n.º 5
0
		public override LootCollection GenerateLootCollection()
		{
			LootCollection coll = new LootCollection("5d10+50");

			coll.AddLoot( new HighMagicAWSTemplate() );

			coll.AddLoot( new MedScrollLootSet( 1 ), 25 );
			coll.AddLoot( new LesserOrRegularPotionLootSet( 0, 3 ), 25 );
			coll.AddLoot( new GemLootSet( 1, 4 ), 0.4, 100 );

			return coll;
		}