Core/Loot: Fixed getting to much loot sometimes.
This commit is contained in:
@@ -213,7 +213,6 @@ namespace Game.Loots
|
||||
return false;
|
||||
|
||||
LootTemplate tab = store.GetLootFor(lootId);
|
||||
|
||||
if (tab == null)
|
||||
{
|
||||
if (!noEmptyError)
|
||||
|
||||
@@ -764,7 +764,6 @@ namespace Game.Loots
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public bool HasQuestDrop(LootTemplateMap store, byte groupId = 0)
|
||||
{
|
||||
if (groupId != 0) // Group reference
|
||||
@@ -836,7 +835,6 @@ namespace Game.Loots
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public void Verify(LootStore lootstore, uint id)
|
||||
{
|
||||
// Checking group chances
|
||||
@@ -926,7 +924,6 @@ namespace Game.Loots
|
||||
return false;//not found or not reference
|
||||
}
|
||||
|
||||
|
||||
LootStoreItemList Entries = new LootStoreItemList(); // not grouped only
|
||||
Dictionary<int, LootGroup> Groups = new Dictionary<int,LootGroup>(); // groups have own (optimised) processing, grouped entries go there
|
||||
|
||||
|
||||
Reference in New Issue
Block a user