aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-03-07Core/Creatures: port power type updates from master branchariel-
Core/Misc: Added helper function Unit::SetFullPower Cherry-picked from 8199eef81cad464bb43f3613ed884a2c8fc3973d Core/Creatures: Updated power type handling (#20981) Cherry-picked from 16a7a414abcc93c4514905b871f53c1049261c12
2018-03-07Scripts/Command: build fix for horrible outdated boost version used by travisariel-
2018-03-06Scripts/Commands: Make Shauren happyariel-
2018-03-06Scripts/Commands: implemented command .server debugariel-
- Shows detailed information about server setup, useful when reporting a bug: * rev. hash * versions of mysql, openssl, boost, cmake * info about autoupdater * info about ports (realmlist and current) * vmap/map/mmap status and folder sizes * available DBC locales * TDB version Closes #19957
2018-03-04Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21533)Warlockbugs
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions. Many Linux distributions are still on 1.0 and will stay on LTS for quite some time. Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
2018-03-03Core/Maps: Fixed outdoors check (#21551)Jeremy
2018-03-02Core/Spells: explicitly disable non proccing auras when generating default procsariel-
Closes #21529
2018-03-02Core/Auras: remove too strict checks in area auras, since a few aren't owned ↵ariel-
by its caster Closes #21528
2018-03-02Core/Misc: fix bad dbc data for lock 'Locked ball and chain'ariel-
Closes #12260
2018-03-01Core/Auras: travis fixariel-
2018-03-01Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all casesariel-
Updates #21367
2018-03-01Core/Auras: added sanity checks for area auras having a different owner unit ↵ariel-
than caster Closes #21517
2018-02-28Core/Movement: Correct distance checkingChaouki Dhib
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not.
2018-02-27Core/Creature: Temporarily let Creatures violate dynspawn assumptions for ↵Treeston
pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix. Tag #21519.
2018-02-27Core/Creature: Add another aggressive compatibility mode assertion to catch ↵Treeston
faulty dynspawn code.
2018-02-26Core/Globals: use proper type for smallintariel-
2018-02-26Core/VMap: Use fuzzy equality and gridmap tolerance for floor-finding. ↵Treeston
Closes #21338. Supersedes #21479.
2018-02-26Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add ↵Treeston
WorldObject::IsOutdoors, basic member access. Ref #21479.
2018-02-26Core/Threat: Fix taunt logic relying on unspecified behavior by unordered ↵Treeston
boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again. Closes #21499.
2018-02-24Core/GameObject: implemented gameobject_overrides table to change faction ↵ariel-
and flags values on a per-spawn basis Updates #20957 Closes #20958
2018-02-24Core/GameObject: kill uninitialized, unused field from ↵ariel-
GameObjectTemplateAddon struct
2018-02-24Core/Entities: kill unused return value from Unit::HandleSpellClickariel-
- AI hook will now receive the result by copy, as modifying it had no effect - Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo>
2018-02-24Core/Log: Clean up some log output to include spawnId instead of lowguid.Treeston
2018-02-24Core/DBUpdater: Code cleanupjackpoz
2018-02-24Core/DBUpdater: Fix error messagejackpoz
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-02-24Core/Auras: check conditions against referer caster, just as spells doariel-
Closes #21492
2018-02-24Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> ↵Treeston
SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
2018-02-23Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy ↵Treeston
hack gameobjects, ref 27e7906.
2018-02-23Core/GameObject: fix stupid ridiculous junk legacy hack code with negative ↵Treeston
gobj respawn time to work again
2018-02-23Core/Scripts: remove hack that caused aura to not be applied and saved twice ↵ariel-
on owned auras, causing an error on save - This is handled by group stack rules actually - Also reset removed aura counter when cleaning removed auras Closes #21486
2018-02-23AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID (hi kilyana)Treeston
2018-02-22Core/Spawning: Actually check spawn group state before processing a respawn. ↵Treeston
It feels like that is something that should've been noticed at some point. Also remove CreatureScript::CanSpawn since nobody uses it, and spawn groups do the same thing.
2018-02-22Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction ↵ariel-
dispel effect - Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount. - This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly Closes #21393
2018-02-22Core/Auras: restrict target map update only to area auras as player requires ↵ariel-
to have auras registered on load Closes #21472
2018-02-21Core/Unit: clear charmed/possessed state before returning client control. ↵ariel-
Works like a charm Closes #21471
2018-02-21DB/Spells: fix proc regression with Missile Barrageariel-
Closes #21466
2018-02-20Core/Vehicles: fix crashariel-
- Aura could be removed in Unit::SetCharmedBy (StopMoving->Relocate->ProcessTerrainStatusUpdate->RemoveAurasWithInterruptFlags) - By not passing AuraApplication parameter execution continued with a removed application leaving vehicle in a invalid state (m_sharedVision not empty) Closes #18281
2018-02-20Core/Entities: unit states cleanupariel-
- Added new UNIT_STATE_FOCUSING for creature focus system, this will stop creatures adding/clearing the UNIT_STATE_CANNOT_TURN mask (eg UNIT_STATE_STUNNED if stunned while focusing a spell) - Added UNIT_STATE_CHARMED that gets set/removed on any charm type (UNIT_STATE_POSSESSED is only for possess as it's name suggests) - The new states are checked against mask to know whenever client needs to regain character control Closes and fixes #21460
2018-02-18Core/DBUpdater: Improve message when base SQL file is missingDDuarte
(cherry picked from commit 844755aa07b4a7f9f2f0c49f351a817198c9a56a) GCC build fix (cherry picked from commit a15985edc620d2ecbd9a44f13f6fec15e13b338d)
2018-02-18Core/Spells: Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknownjackpoz
Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown, too many spells unrelated to items have this attribute and the current handling was causing exploits with "Mote of Water" and other elements. Fix #19547
2018-02-17Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die ↵Wilcalaf
while invisible preventing players from looting. (#21436)
2018-02-17Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option.
2018-02-17Core/Misc: ASSERT() cleanupjackpoz
Move some functions calls out of ASSERT() calls. ASSERT() should only apply checks without modifying any object and without having any side effect.
2018-02-17Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase.sirikfoll
2018-02-17Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent ↵ariel-
but no active pet
2018-02-17Core/Scripts: implement Drain Mana breaking some auras on hitariel-
Updates #20234
2018-02-17Core/Spells: Execute item casts immediately instead (#21396)Cannix
2018-02-17Core/Entities: remove grid-wide visibility from setActive and implement ↵Wyreth
another method for it (#20725)
2018-02-16Core/Misc: Fix static analysis issuesjackpoz
Fix static analysis issues reported by Coverity
2018-02-16Core/Entities: Reduce the probability of units dropping under the map (#21322)Jeremy
Reduce the probabilty of going under the map