Adding to Lootpack.cs
Trying to add some more loot to the loot definitions.
Loot.cs
LootPack.cs
Errror in console.
Errors:
+ Misc/LootPack.cs:
CS0103: Line 320: The name 'MiscLoot1' does not exist in the current context
What would be the Right Context?
Trying to add some more loot to the loot definitions.
Loot.cs
Code:
public static Type[] MiscLoot1{ get{ return m_MiscLoot1; } }
private static Type[] m_MiscLoot1 = new Type[]
{
typeof ( lootrewarddeed )
};
LootPack.cs
Code:
public static readonly LootPack AosPoor = new LootPack( new LootPackEntry[]
{
new LootPackEntry( true, Gold, 100.00, "1d10+10" ),
new LootPackEntry( false, AosMagicItemsPoor, 0.02, 1, 5, 0, 90 ),
new LootPackEntry( false, Instruments, 0.02, 1 ),
[COLOR="Red"]new LootPackEntry( false, MiscLoot1, .50, 1 )[/COLOR]
} );
Errror in console.
Errors:
+ Misc/LootPack.cs:
CS0103: Line 320: The name 'MiscLoot1' does not exist in the current context
What would be the Right Context?