aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootMgr.cpp
AgeCommit message (Collapse)Author
2009-12-22* Correction for 6706.XTZGZoReX
- If a GO template (type 3 and 25) has at least one spawn and a data1 set to a lootid, then error. If no spawns, silently ignore. --HG-- branch : trunk
2009-12-22* More DB tweaks:XTZGZoReX
- Load GO even if it has no displayid - while it's wrong, it's not something that'll kill the client anyway. - Don't warn about non-existing loot templates for GOs - this is to allow some WDB data to be filled in (GOs that have no spawns and thus no gameobject_loot_template entries). --HG-- branch : trunk
2009-12-21* Add support for RewSpellCast=-1. If -1 remove all auras applied to player atBrian
* quest start. * Patch by Kudlaty -- THANK YOU! --HG-- branch : trunk
2009-12-17Update Map for 322a and new instance systemn0n4m3
--HG-- branch : trunk
2009-12-16MaNGOS merge: Mail System.win32
* Store loot in mail_loot_template indexed by mail template ids. * Implement proper creating mail text copy item from mail template based mail. * Move send functions to new MailDraft class from WorldSession. * Implement mails sending at player levelup. * Autor VladimirMangos, converted by me. --HG-- branch : trunk
2009-12-06Better way to fix 6416, with help from Maximius.Machiavelli
--HG-- branch : trunk
2009-12-05Fix iterator related crash for some windows debug builds in ↵Machiavelli
LootTemplate::LooutGroup::Process. --HG-- branch : trunk
2009-11-23*Fix a crash due to an invalidated iterator. Closes #420maximius
--HG-- branch : trunk
2009-11-23*Items are now only ever rolled for once in a loot group, as it should be. ↵maximius
Closes #398 --HG-- branch : trunk
2009-11-21*Cleanup, more consistant HandleDummyAuraProc code (added basepoints1 and ↵maximius
basepoints2 and edited some spell cases to use these instead of more hacky custom methods..) --HG-- branch : trunk
2009-11-17*Heart of the Crusader now works, thanks lobuzmaximius
*Little bit of cleanup --HG-- branch : trunk
2009-11-17*Fix the issue where two items are supposed to drop from a group, but only ↵maximius
one item drops, as a second roll is never performed. Based on code by elegos. --HG-- branch : trunk
2009-11-11*Destroy quest items on quest failure, and some cleanup.maximius
--HG-- branch : trunk
2009-11-10*Limit non-equippable items to 3 drops, instead of only 1.maximius
--HG-- branch : trunk
2009-11-04*Typomaximius
--HG-- branch : trunk
2009-11-04*Also include grouped items in the check added in 3e8840284b77.maximius
--HG-- branch : trunk
2009-11-04*Never add the same loot item twice.maximius
--HG-- branch : trunk
2009-10-28*Should fix the reversed groupid-lootmode issue.maximius
*Cleanup, and convert npc_innkeeper.cpp back to ANSI from UTF-8 (was causing *nix compile issues apparently) --HG-- branch : trunk
2009-10-28*Minor cleanup.maximius
--HG-- branch : trunk
2009-10-28*Implement new LootMode system, and add some basic support in ↵maximius
boss_sartharion.cpp. Requires database support. --HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-08-27[8424] Added support for strict chatmessage validation Author: arraimegamage
--HG-- branch : trunk
2009-07-16 [8183] Some gameobject despanw related fixes Author: VladimirMangosmegamage
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use. * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers. * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped) --HG-- branch : trunk
2009-06-27 [8072] First step to get rid of data blob.megamage
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table. The update will not work if your database contains characters with an old data field (not fitting to the actual client version). It's recommended to backup your character database before applying this patch. --HG-- branch : trunk
2009-06-23[8069] Fixed copy/paste mistake in achievement error output. Author: SaebaQAston
[8070] Restore spell casting loot items and recipes. * SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3 * It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells) Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0 Note: required DB support in `spell_loot_termplate` Author: VladimirMangos --HG-- branch : trunk
2009-06-02[7939] Fixed check in LoadLootTemplates_Spell. Author: XTZGZoReXmegamage
--HG-- branch : trunk
2009-05-26[7892] Update spell_loot_template entry description in error output for ↵megamage
better fit to current table use. Author: VladimirMangos --HG-- branch : trunk
2009-05-21[7864] Use x.0f float constant format. Author: NoFantasymegamage
--HG-- branch : trunk
2009-04-29[7732] Fixed compile warnings. Author: AlexDerekamegamage
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-03 [7607] Improvements in support some generic achievement classes Author: ↵megamage
VladimirMangos * Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement. * Implement support achievement complete req. with specific count of completed critirias. * Avoid full achievement list scan at search achievement associated with criteria. --HG-- branch : trunk
2009-03-24[7532] Avoid warnings at use size_t with printf fromat strings. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-19* Implementing database logging:XTZGZoReX
** LogTime and LogColors config options removed due to incompatibility. ** Old file logging still available. ** Totally redone the Log class. ** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file. ** SQL updates attached. --HG-- branch : trunk
2009-03-07[7398] Now really really fix error message Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-03-06[7394] Check loot_template.maxcount for max allowed value (255) and make ↵megamage
better report for this case. Author: VladimirMangos Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes. But limit group id to 127 max value. Check this at loading. --HG-- branch : trunk
2009-03-06[7387] Check maxcount >= min count for item (not reference) record in loot ↵megamage
templates DB tables.. Author: VladimirMangos --HG-- branch : trunk
2009-02-27[7344] Ignore drop rate multipliers in loot groups. Author: Velorienmegamage
For grouped loot use rates create problems with impossibility loot some items including quest items. --HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-08 [7239] Support multiply items loot and not normal loot items in ↵megamage
Player::AutoStoreLoot. Author: VladimirMangos Use this function in more cases and simplify and fix some related code. --HG-- branch : trunk
2009-02-08 Fixes and cleanups in loot code. Author: VladimirMangosmegamage
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case. * Simplify LootView code. --HG-- branch : trunk
2009-02-06Now correct patch version: Use spell_loot_table for item creating in case ↵Muhaha
SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos --HG-- branch : trunk
2009-02-05Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 ↵megamage
(157) and itemType==0. Author: VladimirMangos --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2009-02-01[7212] Fixed check possibility quest drop present in loot template for ↵megamage
player in case groupped loot. By VladimirMangos. --HG-- branch : trunk
2009-01-21*Update to Mangos 7136.megamage
--HG-- branch : trunk
2009-01-02*Update to Trinity 759.megamage
--HG-- branch : trunk