aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-04-11Core/Random: Remove no longer needed hack for VS 2013Shauren
(cherry picked from commit 59fe9087447dc58c3f41fb6f647bc2b50a95b9b5)
2017-04-11Core/Movement: correct no point recalculation on speed change in ↵ccrs
TargetedMovementGenerator
2017-04-10Core/Unit: fix crash on magic school autoattacksariel-
Closes #19436
2017-04-10Core/Unit: cleanup and minor fixes of miss and resist calculationsariel-
- Removed Unit::GetUnitMeleeSkill as it was basically a copy of GetMaxSkillValueForLevel - Removed static from GetEffectiveResistChance, as this was passed anyways, changed name to CalculateAverageResistReduction, which better reflects what it does - Fix melee miss chances calculated from attacker maxskill instead of victim maxskill - Do actual checks if spell can be resisted/missed in MagicSpellHitResult (ie chances > 0) - Fixed SPELLMOD_RESIST_MISS_CHANCE calculation in MeleeSpellMissChance - Minor codestyle and cleanup of diminishing returns calcs
2017-04-09Core/Misc: fix static analysis issuesariel-
CID 1373466 CID 1373481 CID 1373482
2017-04-09Core/Quest: fix RewardNextQuest being used to condition previous quests in chainariel-
2017-04-09Core/Scripts: Baltharus the Warborn preincrement _cloneCountKeader
2017-04-09Core/Movement: FormationMovementGeneratorccrs
Use own movement generator for creatures following on a formation. First step of implementation, huge room for improvement. Closes #19422
2017-04-08Core/Achievement: fix bad lookup of ↵ariel-
ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPPED_ITEM item Closes #19064
2017-04-08Core/Misc: Fix static analysis issuesjackpoz
2017-04-07Core/Spells: Fixed Chilled to the BoneKeader
Closes #19417 thanks ariel-
2017-04-07[3.3.5] Core/Movement: MotionMaster & MovementGenerators cleaning (#19361)ccrs
2017-04-06Core/Player: fix weapon dependent aura talents not applied on talent learnariel-
Closes #19408
2017-04-04Core/GameObject: fix unitialized member on GameObjectDataariel-
2017-04-04Core/Creature: fix uninitialized member on CreatureDataariel-
Closes #19405
2017-04-03Core/Auction: wrap item deletions from AHBot auction on a transactionariel-
This speeds up the query execution time tremendously Refs #19182
2017-04-03Core/Scripts: Baltharus the Warborn make clone count more readableKeader
*Also fixed issue that make Baltharus summons alot of clones when he is casting
2017-04-03Core/AHBot: fix price calcariel-
- priceRatio is already a factor
2017-04-03Core/AHBot: fixed assert checkariel-
2017-04-03Core/Spell: don't set scaleAura for some special spellsariel-
Closes #14541
2017-04-03Core/AHBot: fix a typoariel-
2017-04-03Core/AHBot: Refactor of AuctionHouseBotSeller:ariel-
- Use AuctionHouseBot.Class.* for what they really are, priorities, factor them when calculating item amount per class, changed enums to CONFIG_AHBOT_CLASS_*_PRIORITY to reflect this change - Don't factor in the priority calc empty item lists: * Let's say you had AuctionHouseBot.Class.Glyph set to 10, sum of AuctionHouseBot.Class.* is 20, and AuctionHouseBot.Items.Amount.White is 5000 * If there were no glyphs on the item list, you automatically lost 50% of the total item amount, meaning only 2500 of original 5000 were alloted to fill - Fixed AuctionHouseBot.AH.Price.Ratio to be an actual percentage factor - Separated containers in SellerConfiguration, each one better reflects what kind of data is stored there, now we won't use magic index 0 from _ItemInfo :P - General cleanup, removal of bad voodoo and magical numbers - Use unordered_sets for loading item lists, as they were only used to check for item presence
2017-04-03Core/Scripts: fix Judgement of Wisdom mana returnariel-
Closes #19400
2017-04-02Core/Scripts: Fixing Carbonion/TravisKeader
2017-04-02Core/Scripts: Fixed Baltharus the Warborn clonesKeader
*Clones not working after wipe *Changed Clone Action for a event (to check casting)
2017-04-01Core/Scripts: Typo in last commitKeader
2017-04-01Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor PutricideKeader
Closes #18925
2017-03-31Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X (#19365)S.V
2017-03-31Revert "Core/Battlegrounds: disable health regen for battleground vehicles ↵ariel-
(#19183)" This reverts commit 85af0a06305e6f771482da973244737e47bcf34c.
2017-03-31Core/Scripts: Fix a logic fail that overriden the script of an entity that ↵ariel-
changed entry Closes #19389
2017-03-29Core/Battlegrounds: disable health regen for battleground vehicles (#19183)Gustavo
Updates issue #950
2017-03-29Scripts: minimize duplicated enum names in header files (#19377)tkrokli
* Scripts: Minimize duplicated enum names in header files This reduces the number of cache resets with the Zapcc compiler - Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc - Partial cherry-pick of master commit 7eb4512eee5fc04994e2aa55126ccc97a8393506 - Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)
2017-03-28Core/AI: Build fixariel-
- Stop exposing DoublePosition constructor versions, they're only used for internal representation - Moved IsInBounds function to public scope
2017-03-28Core/AI: AreaBoundary refactorariel-
- Added an auxiliary function IsInBounds to base CreatureAI - Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-03-27Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db ↵ariel-
flags_extra mask - Cleaned up the mask to be a much nicer enum definition
2017-03-27Core/Global: reserve storage for script names vectorariel-
2017-03-27Added new creature extra flag which makes npc visible only to dead unitsxinef1
closes #19333 * Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql - file affects creature removed in patch 4.0.3a * Update Creature.cpp
2017-03-26Core/Scripts: implemented enchant Blade Wardingariel-
2017-03-26Core/Gameobject: remove virtual from GetScriptId, it's not overridenariel-
2017-03-26Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump ↵tkrokli
location (#19029) SmartAI NPCs using SMART_ACTION_JUMP_TO_POS should resume their path when they have reached the jump location. The changes in this PR makes the action work as intended. Closes #18760
2017-03-26Typo fixAokromes
2017-03-26Core/Scripts: Add support for spawn specific C++ scriptsAokromes
By Krudor
2017-03-26Core/SmartAI: Missing parts on previous commitAokromes
By Malcrom
2017-03-25Core/Auras: fix a deleted memory access crashariel-
Closes #19319
2017-03-25Fix warningccrs
field '_top' will be initialized after field '_owner'
2017-03-25Core/Movement: 96f4c7c followupccrs
2017-03-25Core/MotionMaster: cleanup use of _expireListccrs
And restore broken _cleanFlag check/use on update (eca3645d8bb655b88e39f05e36b435171f738f70)
2017-03-25Core/Unit: cleanup UnitState enumccrs
2017-03-25Core/Movement: cleanup MovementGeneratorTypeccrs
2017-03-24Core/Scripts: minor fixes in boss_the_lich_king (#19311)Gustavo
Closes #4427 Closes #7091