Commit Graph

2585 Commits

Author SHA1 Message Date
hondacrx 9b6540c91d Misc fixes 2022-05-26 20:08:54 -04:00
hondacrx 558e976a5e Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e0deaefd4e84c8069f6249778774f605fc5e628)
2022-05-26 20:08:35 -04:00
hondacrx 20a4e31167 Core/AreaTriggers: Add missing 9.2 changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f6497f04ed383f10b9dabf7a817428fbe004d7e)
2022-05-26 17:34:04 -04:00
hondacrx 5d72f0e3b2 Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries
Port From (https://github.com/TrinityCore/TrinityCore/commit/209b90cfdd2d483ab90dfb59746c0053511899d7)
2022-05-26 16:58:37 -04:00
hondacrx a5619334ae Core/Map: Added Map::SetZoneOverrideLight TimeSpan overload
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2022-05-26 16:57:15 -04:00
hondacrx aae2b14bc6 Core/Vehicle: Setting home position of creature passenger on AtEngage
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dbacb69852e3324ddd9abb55a44d93b00679e36)
2022-05-26 16:55:32 -04:00
hondacrx 17ae1835d6 Core/SAI: Prevent loading invalid smart_scripts entry
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7956ffd1ea5e329caf79756e75c2016a7306185)
2022-05-26 16:52:22 -04:00
hondacrx b0595fa295 Core/Sounds - added missing victory near sound for Arathi Basin
Port From (https://github.com/TrinityCore/TrinityCore/commit/71287d586156aabaa2017c4224de56fce683ead0)
2022-05-26 16:50:43 -04:00
hondacrx 0368d5c9c3 Core/Quest: Threat From Above
Port From (https://github.com/TrinityCore/TrinityCore/commit/8202dc28c2dae613c14a52ef4e84932d8c1c9e39)
2022-05-26 16:48:38 -04:00
hondacrx 30aaad290f Core/Creature: Create & use CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH
Port From (https://github.com/TrinityCore/TrinityCore/commit/baa374a76bb753e4b7fb904a0febffc099881ed1)
2022-05-26 16:44:21 -04:00
hondacrx a880cd8327 Scripts/Spells: Add script for Salvage Wreckage & update similar scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/2583aee17aa73f182d6867d504c2720a94deb6dc)
2022-05-26 16:39:48 -04:00
hondacrx 7aa1d7aa7a Core/Spells: players shouldn't force their orientation (serverside) on each periodictick when channeling
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d51e52aa608c85517035fb378500be01b0e578e)
2022-05-26 16:32:13 -04:00
hondacrx 80fb973080 Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities in spell_start packet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60119ba8503e1b8e17d7163baf990022b2d25d41)
2022-05-26 16:30:18 -04:00
hondacrx 3cacc1ff68 Core/Misc: Define / rename attributes and flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91)
2022-05-26 16:25:16 -04:00
hondacrx 0b1cde8396 Core/Player: Fix output of .additem command with negative count value
Port From (https://github.com/TrinityCore/TrinityCore/commit/6855c81df1226a4086e2587b3f1800579f078321)
2022-05-26 16:17:49 -04:00
hondacrx 5edc228fa6 Revert "Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e69b64d6711efa5c6c92f02d7b05aae72f08002)
2022-05-26 16:15:22 -04:00
hondacrx 99618142d3 Scripts/Quest: Rework 'Basic Orders' (25199)
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b8bd9e4bc47793b4cc03d8843c87760cc2df6c1)
2022-05-26 16:13:54 -04:00
hondacrx 36bc8e6d31 Scripts/Spells: Feign Death & 'prevent emotes flag' spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/43f63d76315ec251cc04d70ec6ee811aef9d1176)
2022-05-26 16:08:46 -04:00
hondacrx a4c27e574a Core/Spells: Apply UNIT_FLAG_IMMUNE after applying SPELL_AURA_DAMAGE_IMMUNITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/18beee8ba19c8848c868fdb9b9a7bad296e74d53)
2022-05-25 14:04:26 -04:00
hondacrx 746aaab0dd Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc456f7512b3a5f1f5fdc5b17877018892070e4d)
2022-05-25 14:01:08 -04:00
hondacrx dd7ffa89dc Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bcff210f90d57689557b7b8cc20cd336b8ab035)
2022-05-25 13:55:04 -04:00
hondacrx 3bf139e9c7 Scripts/Events: Fix achievement in Love is in the air: "Lonely?"
Port From (https://github.com/TrinityCore/TrinityCore/commit/d57dd854e975afc5413b056aa8c68c410770fa74)
2022-05-25 13:51:51 -04:00
hondacrx a59b3b8075 Core/SmartAI: AI change on charmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4d731d55af63210e660727dc0aea68c8ecce05)
2022-05-25 13:46:41 -04:00
hondacrx f2ebe247ba Core/Unit: Fix crash when exiting a vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/c93d6856c727b5919ae30e04fb17bb425370ebea)
2022-05-25 13:40:49 -04:00
hondacrx b219548745 Core/Unit: Set stand state on damage only to players
Port From (https://github.com/TrinityCore/TrinityCore/commit/730a8da9e99fdb50459e9eb57d79ac995430125e)
2022-05-25 13:39:33 -04:00
hondacrx 78d39e4c19 Core/Creature: Allow to skip Rate.Corpse.Decay.Looted when calling SetCorpseDelay()
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a3e2e75999230d0d2e38886eef4ce0271f4a1d)
2022-05-25 13:36:12 -04:00
hondacrx 1e041a00d8 Core/Scripts: Verify & migrate spell school immunities to DB
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e9e15629fb00c742695325c6ccba2fff8ad4939)
2022-05-25 13:32:29 -04:00
hondacrx 681b62e2d0 Fix build 2022-05-25 13:30:11 -04:00
hondacrx 6297e81009 Core/SAI: Add new action SMART_ACTION_SET_HEALTH_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c30b2a1827b81774136d37cb521dbd5823c3423)
2022-05-25 13:30:00 -04:00
hondacrx b83c96a59e Core/Spells: Fixed spell effect 43 (SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER)
Port From (https://github.com/TrinityCore/TrinityCore/commit/23d77ecb8156fd1682649aa9913bb9cc173b60e9)
2022-05-24 19:16:42 -04:00
hondacrx 820eea5949 Core/Creature: Add new db field InteractionPauseTimer
Port From (https://github.com/TrinityCore/TrinityCore/commit/5180abfb19b9c1c4f2df2fbfa918a62f1c4ae995)
2022-05-24 19:13:45 -04:00
hondacrx 678c657f7d Misc fixes 2022-05-24 19:02:03 -04:00
hondacrx f705cae647 Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a595d55b237038fb2856f4d5fcfa7bf44f12a04)
2022-05-24 18:23:20 -04:00
hondacrx b3eec19d55 Fix build. 2022-05-24 18:21:45 -04:00
hondacrx a89977ad99 Core/Unit: Fix movement hiccups in water
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b242eee130f1ac405187a03cefaf595d857ad99)
2022-05-24 18:20:46 -04:00
hondacrx 5b76bfe10d Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish
Port From (https://github.com/TrinityCore/TrinityCore/commit/f258d2443f335cfdb4fda5b2f657e8a6703ab651)
2022-05-24 14:42:26 -04:00
hondacrx fe78a4651c Core/SAI: Fix SMART_EVENT_FLAG_NOT_REPEATABLE flag being ignored when specifying a chance
Port From (https://github.com/TrinityCore/TrinityCore/commit/da0d9ee28349d1974cdacc0e3ad5b3707af04a36)
2022-05-24 14:31:16 -04:00
hondacrx 271c3fd945 Core/Maps: move pooling hand-off outside of Map::CheckRespawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8d00ddd69f3ff0f197b31d407e8c5112f229b4b)
2022-05-24 14:27:27 -04:00
hondacrx 3e7425030b Core/Maps: Use the same logic to calculate grid coords to avoid mismatches
Port From (https://github.com/TrinityCore/TrinityCore/commit/c14f4dc83502dea7dad8ad4f92270d8d36b01c12)
2022-05-24 13:43:59 -04:00
hondacrx 88d36a9039 Scripts/Commands: Include map min height in ".gps" command
Port From (https://github.com/TrinityCore/TrinityCore/commit/13bf0e71b94907cc72c3907f9cddc501a7bdb563)
2022-05-24 13:41:37 -04:00
hondacrx 871dc5ab5d Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/dde5a3e32645060fbcc4856770dfc6a0c43a3947)
2022-05-24 13:40:19 -04:00
hondacrx f10f1e4000 Core/Visibility: Split BG/Arena visibility settings
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b681ebc8aaaf79c1865c8c01f78c736a72e6e7d)
2022-05-24 13:35:17 -04:00
hondacrx bae70ca8ab Core/Movement: Add a debug log when a player falls below the map
Port From (https://github.com/TrinityCore/TrinityCore/commit/362a1c32c2cb61c972bb0a1163302e81b465dd4b)
2022-05-24 13:25:44 -04:00
hondacrx 025392b50a DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAIN
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a4ce889eacb0d58842eeb45c9421510e4cd0cba)
2022-05-24 13:24:12 -04:00
hondacrx 8bee5cf3f6 Core/Player: Adjust fall damage log
Port From (https://github.com/TrinityCore/TrinityCore/commit/20e96eead469639af43c47c892bfe75027a7399e)
2022-05-24 13:22:27 -04:00
hondacrx c3e8791aac Misc fixes 2022-05-24 13:20:05 -04:00
hondacrx 3c8c31ecd7 Core/Maps: add new FLAG_ALLIANCE_ONLY and FLAG_HORDE_ONLY for instance spawn groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/203dfec2a1d1d628469ed0d68fefac33c15e65d6)
2022-05-24 13:19:48 -04:00
hondacrx a309a28164 Core/AI: Fix CorpseRemoved() and SMART_EVENT_CORPSE_REMOVED not being called for creatures without m_respawnCompatibilityMode
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ba5e17c950deea4e5eb2962b9769261de089c2c)
2022-05-24 13:08:11 -04:00
hondacrx c5f84e953f AI/CreatureAI: Properly update Victim even while spell focusing
Port From (https://github.com/TrinityCore/TrinityCore/commit/1bbf61ef02061bfbc80e5293b4d4de0ad4560d36)
2022-05-24 13:06:13 -04:00
hondacrx e775c710db Core/Spells: Aura refresh improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6cd16b0ca9ff43b025e286f336b6af03c49b37db)
2022-05-24 13:02:26 -04:00