Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)

Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
This commit is contained in:
hondacrx
2019-08-14 11:20:42 -04:00
parent e4d500f4b5
commit 125e3b3ac7
232 changed files with 12268 additions and 14670 deletions
+3 -5
View File
@@ -40,8 +40,7 @@ namespace Game.Loots
needs_quest = li.needs_quest;
randomSuffix = ItemEnchantment.GenerateEnchSuffixFactor(itemid);
randomPropertyId = ItemEnchantment.GenerateItemRandomPropertyId(itemid);
randomBonusListId = ItemEnchantmentManager.GenerateItemRandomBonusListId(itemid);
upgradeId = Global.DB2Mgr.GetRulesetItemUpgrade(itemid);
canSave = true;
}
@@ -88,8 +87,7 @@ namespace Game.Loots
public List<ObjectGuid> GetAllowedLooters() { return allowedGUIDs; }
public uint itemid;
public uint randomSuffix;
public ItemRandomEnchantmentId randomPropertyId;
public uint randomBonusListId;
public uint upgradeId;
public List<uint> BonusListIDs = new List<uint>();
public byte context;
@@ -216,7 +214,7 @@ namespace Game.Loots
return false;
}
_itemContext = lootOwner.GetMap().GetDifficultyLootItemContext();
_itemContext = (byte)lootOwner.GetMap().GetDifficultyLootItemContext();
tab.Process(this, store.IsRatesAllowed(), (byte)lootMode); // Processing is done there, callback via Loot.AddItem()