Commit Graph
39720 Commits
Author SHA1 Message Date
Shauren d57f020a34 Nopch fix 2019-07-26 18:31:45 +02:00
Shauren 71cbb0ae1c Core: Updated allowed build to 8.2.0.31229 2019-07-26 18:25:25 +02:00
Aokromes c04899c1b9 DB/Misc: Delete a lot of duplicate spawns
By Ovahlord
2019-07-24 21:36:56 +02:00
treeston 6455f1c256 DB/Creature: The instance_encounters extra flag (CREATURE_FLAG_EXTRA_DUNGEON_BOSS) now properly propagates to all difficulty entries (not just difficulty 0).
This lets us simplify IsDungeonBoss() on Creature (and move it to header).

Closes #18824.

(cherrypicked from 1beb2e5fd6e85332173b1f3e414d5b385c3022fb)
2019-07-21 21:06:54 +02:00
r00ty-tc 83e2777249 [Core/AH] Correctly check player can pay deposit
- Deposit amount wasn't correctly checked in the case of multiple items,
   player with insufficient funds could auctin more items than they should

(cherrypicked from 6bd9aa27872cd0d76d785bc38162001c4bacd913)
2019-07-21 21:06:54 +02:00
Aokromes 00454fdd45 DB/Misc: Fix typo on game_tele for Greymane Wal
Closes #19163 by MrSmite

(cherrypicked from 7ed8cf65c935afb7544aeeb71c3b6c528f8a6366)
2019-07-21 21:06:54 +02:00
xinef1 fb5c07ffe8 Fixed setting and unsetting of m_spellModTakingSpell (#19116)
- A problem when a different spell tries to overwrite existing ModTakingSpell should no longer happen

(cherrypicked from e261754c9cd8b14a0555e866b4e193e1fe3c25ae)
2019-07-21 21:06:54 +02:00
Killyana 146e93b563 DB/Creature: Fix wrong map for Rotting Agam'ar
(cherrypicked from 577324cc1c3fdec57ea3790feb922abe0c5ab129)
2019-07-21 21:06:54 +02:00
offl 16d48f811e DB/Loot: Remove some wrong loots
Update #18182

(cherrypicked from 6d127007d679594e889f2ccb781a3a34d7278f61)
2019-07-21 21:06:54 +02:00
xinef1 ecb44f82a4 Core/Creatures: Remove template immunities only for hunter pets (#19100)
(cherrypicked from 949b38b0481a752db124f8a3dbc1251d5b98b7cf)
2019-07-21 21:06:54 +02:00
Killyana 963aa8c1b0 DB/Creature: Add and fix some trash mobs in Ulduar
(cherrypicked from 8fb6a3f411ca4448e22e9adba3a6dd92fe937676)
2019-07-21 21:06:54 +02:00
xinef1 fc9f00d351 Core/Spells: Fixed some item ranged spells dealing wrong damage (#19104)
(cherrypicked from e7a9549422b09da6c88b0a191bae072997cbeddb)
2019-07-21 21:06:54 +02:00
xinef1 cfefd27cb8 Added some missing SetFallInformation calls (#19121)
Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports

(cherrypicked from b3f04ec1570c7fd6ef0d1dacfb7ff9f8ab00a43d)
2019-07-21 21:06:54 +02:00
xinef1 89f728cd5b Core/Misc: Fixed player corpse looting, added player corpse loot and some more (#19122)
* Fixed corpse looting in wintergrasp
Added corpse loot for wintergrasp quests and To the Looter Go the Spoils (1166) achievement
Don't generate money for loot if no loot mode is available
Simplified few things

(cherrypicked from 2412886ef69d305df1bd6e6422ca3134c0ab1449)
2019-07-21 21:06:54 +02:00
Gustavo c860522ecf Core/Scripts Update boss Skadi the Ruthless (#19114)
(cherrypicked from 4536846d7d30508a046f394d1f561a2c3fdcf5f0)
2019-07-21 21:06:54 +02:00
jackpoz 5b78f19879 Core/Misc: Fix static analysis issues
(cherrypicked from 865a3a47eaa518cb9c7827e863d679697e38b03e)
2019-07-21 21:06:54 +02:00
Rushor cfe66ef614 DB/Creature: Katherine Lee
Closes #19095

(cherrypicked from bbc6799cd7c0a83b81496c01d21c110decebae6d)
2019-07-21 21:06:54 +02:00
Rushor 07c1e6ca1d DB/Creature: Mountain Gronns
Closes #19094

(cherrypicked from 4e2a4b7b132be0fc917854cf675aa644429dd05f)
2019-07-21 21:06:54 +02:00
Rushor 75e2dcb701 DB/Creature: Bleeding Hollow Peon
Closes #19069

(cherrypicked from c5db14d449db1e503cf6be0a9e2fb4c86c72da12)
2019-07-21 21:06:54 +02:00
Rushor e3d1def83e DB/Creature: Living Cyclone
Closes #19065

(cherrypicked from 43b09d2b6990f25294a7e828d30cb38a61b15b0c)
2019-07-21 21:06:54 +02:00
ariel- 4ce758a726 Update spell_item.cpp
Small indent and codestyle fixes

(cherrypicked from 149e449506abd75add8f9a73f744860e1e5ad0ae)
2019-07-21 21:06:54 +02:00
Aokromes f0b670212f DB/Misc: Fix one startup error
(cherrypicked from d9c465ed870cd054289384610f4ece4857beb5ed)
2019-07-21 21:06:54 +02:00
xinef1 4f65dc5e20 Core/Misc: Various crash fixes (#19059)
* Replaced some FindPlayer calls with GetPlayer
Fixed some more crashes

* Correction

(cherrypicked from 14dfc377b48bc909894396e65d4e4ce89d9708b6)
2019-07-21 21:06:54 +02:00
xinef1 ad4e63bae1 Core/Misc: Moved CharacterInfo out of world to separate class
Closes #19030

(cherrypicked from 59ce3d6c9bd82d55cbfa505bb945b71cab21a12f)
2019-07-21 21:06:54 +02:00
Killyana 241e79f434 DB/creature: Restore position for two Wrath Masters changed in a previous commit
(cherrypicked from f91ba9c2a8ec2131df865f7490366288cec1bc91)
2019-07-21 21:06:54 +02:00
Keader d400d3d8e9 Core/Scripts: Illidan Stormrage Rewrite (#18963)
Closes #5018

(cherrypicked from 8731975187694d1989af93f9569b591d4ebd767b and 3194d089cbf2dd30bb3fed3a7f6f7e85730ad0cb)
2019-07-21 21:06:54 +02:00
xinef1 36a4e008d0 Corrected immunity checking after recent changes (#19049)
- Shouldn't compare immunity to spells without schoolmask

(cherrypicked from 78a729b6a4f1643eea7120da87a5a10f268dd3c3)
2019-07-21 21:06:54 +02:00
xinef1 fe63cd3dbb Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others (#18998)
* Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn
Unified some creature despawning code, removed some brutal direct calls in scripts
Don't play death anim on forced despawn
Removed some redundant visibility changes on creature despawn
Fixed possible problem with pet initializing template info from difficulty greater than normal
Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call
Moved RegenerateMana function to general Regenerate(Power) function
Fixed increased health regeneration from polymorph for pets
Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also
Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly
Simplified ForcedRespawnTime code in ForcedDespawn
Do not allow to assist unit while evading or when enemy is evading
Do not allow to attack other units when evading or when the unit is evading
Corrected distance checking code before creature is allowed to evade, should fix some common problems
Properly return summon position for summoned creatures as their respawn position
Properly stop all moving units on gossip hello, no matter their npc flags

(cherrypicked from e1f14215d86fc9f0cd041f0e87bf0a689c086329)
2019-07-21 21:06:54 +02:00
Aokromes a68911472e Rename 2017_02_05_16_world.sql to 2017_02_04_16_world.sql
(cherrypicked from d54a06823e1d7fce1879ecc2ed30cd45f3072dc3)
2019-07-21 21:06:54 +02:00
Rushor 98dc0656c6 DB/Creature: Slosh
Closes #19043

(cherrypicked from d54a06823e1d7fce1879ecc2ed30cd45f3072dc3)
2019-07-21 21:06:54 +02:00
Rushor ac2b6c97e5 DB/Creature: Stormforged Saboteur
Closes #19041

(cherrypicked from 9ee8838840339a81427f0f881f02b6d861ef00e7)
2019-07-21 21:06:54 +02:00
xinef1 ca26c33145 Implemented binary resistances and some more (#18933)
- Fixed possible exploit with tamed pets having template immunities
- Implemented binary resistances
- Corrected resistances calculations
- Pets properly inherit players spell penetration
- Fixed doubled block calculation for damaging melee spells
- Auras removing snare effects will only remove the snaring component
- Shapeshifting will properly remove movement impairing auras only and not crowd control (dragon's breath)
- Immunities are properly checked versus all schools appearing in spell, unit is immune only if immune to all schools
- Spells with melee and magic school mask should compare armor reduction with resistances and select smaller reduction
- Demonic Circle: Teleport no longer removes root effects

(cherrypicked from 93746e8c4a79c8256cd4896533315683f143508c)
2019-07-21 21:06:54 +02:00
xinef1 ad008c43b7 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove
* remove some possible references item may have when it is deleted during save.
* Also clear all hostile references when unit is removed from map.

(cherrypicked from 86da1a19bb36edf3242dafac6e45e87434ddff73)
2019-07-21 21:06:54 +02:00
xinef1 92e95ddf55 Core/Spells: Fixed spell effect 93 (SPELL_EFFECT_FORCE_DESELECT) (#19001)
(cherrypicked from 9e1b286984c63b801561a67dd4eae7910ec1af10)
2019-07-21 21:06:54 +02:00
Rushor c050c4f968 DB/Creature: Garm Watcher and Snowblind Devotee
Closes #18991

(cherrypicked from 4187c9f1846fa90f45fd05d1741117862bbe7bea)
2019-07-21 21:06:54 +02:00
Rushor e78d3c8500 DB/Creature: Ancient Sentinel
Closes #18990

(cherrypicked from 6da12318021a6a3a76fa44279bb0af876f7a4773)
2019-07-21 21:06:54 +02:00
Rushor 5d2b1f0efc DB/Creature: Stormforged Loreseeker and Stormforged
Closes #18989

(cherrypicked from 2ab0a8a83579563392072ebfd37a5e17a26a2075)
2019-07-21 21:06:54 +02:00
Rushor 327fc4c143 DB/Creature: Library Guardian and Databank
Closes #18984

(cherrypicked from 3b9d59ffe167f286435ccc4243c4555192bf6dd5)
2019-07-21 21:06:54 +02:00
Rushor fc9201dc53 DB/Creature: Valkyrion Aspirant
Closes #18983

(cherrypicked from f8604061bf33a03beaae509d5c02a818f07dd7ce)
2019-07-21 21:06:54 +02:00
Rushor 8c46688640 DB/Creature: Frostborn Scout and Frostfeather Witch/Frostfeather Screecher
Closes #18982

(cherrypicked from 91e0efc6639ae29ecf760ec5a06da3c20e9353fb)
2019-07-21 21:06:54 +02:00
Rushor 5a0709e442 DB/Creature: Stormrider and Snowdrift Jormungar
Closes #18979

(cherrypicked from 743dc973e88b9124603606f0acb6847e3688bc64)
2019-07-21 21:06:54 +02:00
Rushor 57b1bfe55a DB/Loot: Fix prospecting from titanium and saronite
Closes #12011

(cherrypicked from 03f87e400d60bf3c71dea9300e1b3ff5afd4043f)
2019-07-21 21:06:54 +02:00
Killyana 411b0c32a0 DB/Creature: Greatfather Aldrimus
Closes #7605

(cherrypicked from 9edad9fc1b1a94cc8428194b59e0b960d56f86cc)
2019-07-21 21:06:54 +02:00
ariel- 26fe949619 Core/Server: fix duplicated inserts into tutorials table for newly created characters
(cherrypicked from 60dd803bbe01283b15e2b2c5b02d8f857b96745a)
2019-07-21 21:06:54 +02:00
xinef1 192f088248 Core/Achievements: Mountain o' Mounts and similar achievement will be properly awarded when you have required amount of mounts, not earlier (#19002)
(cherrypicked from 8646e72f18172062e98b449478d3f8e1d554d4b9)
2019-07-21 21:06:54 +02:00
Aokromes d6a6162d6e Rename 9999_99_99_99_world.sql to 2017_01_29_00_world.sql
(cherrypicked from 356f7d59293860bf197b4e040cfaad83a9ff8240)
2019-07-21 21:06:54 +02:00
Gerhood 7e83cce81f Core/Spells: implement Mad/Crazy Alchemist's potions
(cherrypicked frombab59b28faad262dc5d9873ca7c0856477ec4d66)
2019-07-21 21:06:54 +02:00
ariel- 894c667d32 Core/World: readd lines lost in rebase
(cherrypicked from d3d6c55650b83611d3a2a8c7f7b43675ffb3cdf0)
2019-07-21 21:06:54 +02:00
ariel- 7f490819f5 Misc: fixed some headers.
Updated year, bye bye 2016!

(cherrypicked from 6245b0703e92cb096a9a9c4f2411a43011100043)
2019-07-21 21:06:54 +02:00
xinef1 07d02d744f Remade who list processing (#18636)
* Remade who list processing, requests are now processed in maps. Player entries are now copied every 5 seconds to dedicated storage (avoids usage of hashmapholder mutex)

(cherrypicked from 88f746935ff6a9055c5712997254aff63b406352)
2019-07-21 21:06:54 +02:00