Commit Graph
33079 Commits
Author SHA1 Message Date
funjoker 01c8d03e2e DB/Hotfixes: Update hotfixes to build 34769 2020-06-22 18:02:44 +02:00
Shauren c3dcbe04dc Core/Spells: Assign spell effect handles for new apply aura effects 2020-06-22 11:04:57 +02:00
ForesterDev 01d098830a DB/Account: update account_access table (#24788)
* DB/Account: update account_access table:

- rename fields id -> AccountID, gmlevel -> SecurityLevel
- add Comment field
- rename command .acc set gmlevel to .acc set seclevel

* Update auth database

* Fix primary key

* Temporary restore old command account set gmlevel with same handler as account set seclevel

Use Optional  for realmID - if not set, use -1 (for all realms)

* Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql

* Update auth_database.sql

* Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 8e0365d8a6ca5628ad17e6684743d9ab2138c068)
2020-06-22 11:03:31 +02:00
Shauren fce9fca900 Core/Spells: Implemented new target types
* TARGET_UNIT_TARGET_ALLY_OR_RAID
* TARGET_UNIT_CASTER_AND_SUMMONS
* TARGET_UNIT_AREA_THREAT_LIST
* TARGET_UNIT_AREA_TAP_LIST
* TARGET_DEST_CASTER_GROUND
* TARGET_DEST_SUMMONER
* TARGET_DEST_TARGET_ALLY

Closes #18558
Closes #18867
Closes #24295
2020-06-21 15:59:43 +02:00
Shauren 8c4e6c5e14 Build: Fix gcc pch builds 2020-06-20 13:03:13 +02:00
Shauren 7d9880252c Tools/mmaps_generator: Print readme with --help 2020-06-19 17:49:56 +02:00
Shauren 22a3cb4432 Core/Auction House: Fixed sorting in non-equipment categories 2020-06-18 10:57:26 +02:00
TDB Release 6e62bf5a1e TDB 830.20061 - 2020/06/17 2020-06-17 17:09:48 +00:00
Shauren 574ee17d6d Core: Updated allowed build to 8.3.0.34769 2020-06-17 10:01:19 +02:00
Carbenium f387673aa3 CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0 2020-06-16 09:29:31 +02:00
Carbenium 18ad767226 CMake: Remove guards around CMP0043 and CMP0054
We require CMake >= 3.8 which includes the policies.
CMP0043 OLD behaviour is still required by cotire.
2020-06-16 09:29:31 +02:00
jackpoz c3a7a604f4 Build/CMake: Increase minimum version to 3.8
(cherry picked from commit 965ac6fb08623b13c2486f9d09967dd00f3d396f)
2020-06-16 09:29:31 +02:00
Giacomo Pozzoni 0f390606a1 Build/CMake: Set some policies to NEW (#23779)
* Build/CMake: Set CMP0005 to NEW

See https://cmake.org/cmake/help/v3.2/policy/CMP0005.html

* Build/CMake: Set CMP0043 to NEW

See https://cmake.org/cmake/help/v3.2/policy/CMP0043.html

* Build/CMake: Set CMP0074 to NEW

See https://cmake.org/cmake/help/v3.12/policy/CMP0074.html

(cherry picked from commit 18cc36bc67023dc9ca58e77733c2b8c74655cf86)
2020-06-16 09:29:31 +02:00
Shauren c715e635cf Merge pull request #24554 from funjoker/cherry-picks 2020-06-15 00:26:08 +02:00
Carbenium abff505a6e common: Add a missing include guard 2020-06-15 00:22:12 +02:00
Aokromes cf88f0a973 DB/Misc: Remove one startup error
(cherry picked from commit d6fbe994325ea6b23d144562245e749115700996)
2020-06-14 23:49:05 +02:00
Killyana 43f771a4f0 DB/Creature: Add some Ziggurat Defender spawns
(cherry picked from commit a87bc7826a2a8598ca16ece93d3a3267f45721a9)
2020-06-14 23:49:05 +02:00
ariel- 7c2e83604c Core/Scripts: moved Wild Growth calculation to script and fixed formula
Thanks ccrs for the formula

(cherry picked from commit 96ee23487fe2a5fc2cf79e5d2ec4ec38b965e70d)
2020-06-14 23:49:05 +02:00
ariel- 8e44a6a381 Core/AI: restore old check forcing PetAI on Pets using SmartAI
includes more template love

Closes #19837

(cherry picked from commit 9c24ec5c966da1a78ddd3df6023c6cab43111ebc)
2020-06-14 23:49:05 +02:00
Aokromes 8cddf0d2c7 DB/Misc: Fix some startup errors
(cherry picked from commit 67115eda7ea428fd6f23b84b1662a2a6166189b2)
2020-06-14 23:49:05 +02:00
ForesterDev 15609a197e Scripts/Gossip: fix go_ahune_ice_stone (#19835)
(cherry picked from commit f9a01c4b691c5d179acd55bfe8db36f21a327dfb)
2020-06-14 23:49:05 +02:00
ariel- 3cf5db1831 Core/Globals: add more AIName and MovementType checks to ObjectMgr
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO)

Closes #19831

(cherry picked from commit d56a28afee19741c582ed8e16dbf8e30311f68ea)
2020-06-14 23:49:05 +02:00
Keader e50a95839c Core/Scripts: Fixed some events that not should triggered by non-players on Illidan encounter
(cherry picked from commit 0c6829f7f22f32e602ea6ed440d50f2f596ba998)
2020-06-14 23:49:05 +02:00
Aokromes cdf591f6f0 DB/Creature: Fix 2 incorrect MovementType
Updates #19831

(cherry picked from commit 877749cf3ffd479a87f7b3a7ac1b3703389c6cb3)
2020-06-14 23:49:05 +02:00
Shauren 1fd59700d7 Core/Groups: Fixed calculating canReset attribute
Broken in d6df19cd99.

(cherry picked from commit 0222d9fc1a5ff4267a907c6b0cc4a1977f519baf)
2020-06-14 23:49:05 +02:00
Shauren 042418cf26 Revert "Core/Groups: fix wrong query for loading group instance data. canReset attribute was calculated in the wrong way"
This reverts commit 0c1dd398bd.

Closes #19745

(cherry picked from commit 023d25215574df5463dfe7f11bc996941a5acc2d)
2020-06-14 23:49:05 +02:00
Keader c9c178db19 Core/Spells: Removed duplicated check again followup 3a0417f7128292995a4085a0114ed59fbfa64325
to send some info to client

(cherry picked from commit ed43883160f2bb33f7be64362f32e52ea05e3dd6)
2020-06-14 23:49:05 +02:00
Keader 19602c2e83 Core/Spells: Removed duplicated check
unitTarget was checked twice in Spell::EffectTaunt

(cherry picked from commit 3a0417f7128292995a4085a0114ed59fbfa64325)
2020-06-14 23:49:05 +02:00
ariel- 1881088744 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code

(cherry picked from commit ce3787f190d28c1e981598eef2cd24c622a2cbae)
2020-06-14 23:49:05 +02:00
ariel- 43339e6840 Core/Players: fix null dereference crash
(cherry picked from commit c3176a814306db20a6f0ff7cdf1baad6bf9c877c)
2020-06-14 23:49:04 +02:00
treeston 57e3a67c94 Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
(cherry picked from commit aeaa8ecfabc2885aa24a86ce22034718cb4f62d8)
2020-06-14 23:49:04 +02:00
treeston 803012cc40 Add another helper to ScriptedGossip.h for resolving listId -> action.
(cherry picked from commit 302a039b7c1034ad0be67b1895565caf95853c2b)
2020-06-14 23:49:04 +02:00
sirikfoll c99963b023 Core/Scripts Properly set Freya's BossState do DONE and avoid some loot exploits
Closes #19823

(cherry picked from commit 1cc0458b114490238ff9cfed78b1932df67def29)
2020-06-14 23:49:04 +02:00
Treeston aa811d57b6 Partial revert of 15a207f, which was causing issues (ref #4943 and #19768). Instead, fix the underlying issue from 15a207f one level further down - Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat). (#19814)
Fixes the following issues:
- Player pets would aggro neutral mobs as soon as they start autocasting (Imp's Firebolt) if they're in react range (due to victim != null, autocast counts as autoattack and sets victim)
- Neutral mobs would randomly evade when aggro switched between targets.

Closes #19768, #19485 and #10921.

(from PR #19814)

(cherry picked from commit 69fd6245dc41dca658cadb4e99c1ee6593fe000b)
2020-06-14 23:49:04 +02:00
Dr-J e782799c30 DB/Conditions: Charles Worth
Correct conditions for gossip

closes #19516

(cherry picked from commit 607686a91267587a05ab6fadc0fce7bc4c93a27b)
2020-06-14 23:49:04 +02:00
Killyana c8901a52ee DB/Creature: Remove double spawns from Death Knights area
(cherry picked from commit 7f1315f77d804987691e614583efee52e544b584)
2020-06-14 23:49:04 +02:00
Dr-J 800d664502 DB/SAI: Add some missing charmed flags
DB/SAI: Add missing charmed flags to blight geists which is required for when they are charmed as part of it roll's downhill.

(cherry picked from commit f2c351158b527b3dc8493cf1edd841ddad2de579)
2020-06-14 23:49:04 +02:00
ForesterDev 7211c6e51d Scripts/Command: implement .debug play music command
Closes #19809

(cherry picked from commit dd4ff1fe5458c89fc1d988fcc6ba5792ee482dcf)
2020-06-14 23:49:04 +02:00
Killyana 3f83c9dd1d DB: Add some missing Broadcast Text
(cherry picked from commit 60a69bcd3d6ae5fe55d6a18e67938a3a61bbbe6a)
2020-06-14 23:49:04 +02:00
Treeston 496263fccb Fix evade issues when a spell hits the target just before evading. (#19815)
- Creatures should no longer get stuck in evade mode following a target if a spell hits the creature just as it's entering evade mode.
- Fixes and closes #4943. Finally.

(cherry picked from commit 1945874f965a2aef951bc3dfae1144bd42365dcb)
2020-06-14 23:49:04 +02:00
ariel- b1f1cc4514 Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
(cherry picked from commit 63e502a67dfdfb4edb8a84af630244ac13600b24)
2020-06-14 23:49:04 +02:00
treeston 6f73960480 Instances/Ulduar: Fix a super edge case bug where Algalon would evade if his tank successfully tanked a Cosmic Smash and got knocked up. Shadow priests everywhere rejoiced.
(cherry picked from commit b6a4e9f3f9aca8e82e4b8cc1868e4b24dd2bba6f)
2020-06-14 23:49:04 +02:00
ariel- 444754e65a Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Closes #19769

(cherry picked from commit f2b0819e5368b2b8e8865b13555c140e4f9a59a7)
2020-06-14 23:49:04 +02:00
treeston 250aef5186 Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
(cherry picked from commit 1c528c30f8ca5717c5d9a88dbceb14c31d825036)
2020-06-14 23:49:04 +02:00
ariel- f1eb73001c Core/Spell: fixed some problems with per caster aura states
- Update clients whenever target has more than one application of an aura that applies such aurastate
- Update again when one application gets removed
- Fixed Fire and Brimstone computing damage if any warlock applied the Immolate (should only count for own)

Closes #19790

(cherry picked from commit e27c385b48fce359a168d602dabae8c55fa85563)
2020-06-14 23:49:04 +02:00
ariel- 6fa8b8e1d5 Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Closes #19557

(cherry picked from commit 47d387d6b0d123334e4721c55426c1d236297112)
2020-06-14 23:49:04 +02:00
ariel- 25f47e4680 Core/Spell: abort channeling if no valid targets are found after searching
Closes #17624

(cherry picked from commit 2f19d97d210c70eade4fb87c1d86642d77bbcd69)
2020-06-14 23:49:03 +02:00
ariel- b161447b47 Scripts/VioletHold: fix stack overflow when reflecting 'Splash'
Closes #19514

(cherry picked from commit d9a1c82ab44254c280083e6297b8aec6350ab363)
2020-06-14 23:49:03 +02:00
Keader a3439b6555 DB/Spells: Fixed Paladin T8 Holy 2P Bonus proc
Close #19796

(cherry picked from commit 4fcea41519d5cf9bc63dcfff67eb2be6e6ea8105)
2020-06-14 23:49:03 +02:00
Killyana 8c6d28f72d DB/GamObject: Sons of Hodir Gameobject quest givers Visibility
Closes #19787

(cherry picked from commit 66bd3459e4bdcdec8bcd86631e585b5614061666)
2020-06-14 23:49:03 +02:00