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 ); }
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); } }
public static void Register( Type type, LootCollection collection ) { Register( type, null, collection ); }
public static void Register(Type type, LootCollection collection) { Register(type, null, collection); }
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; }