Commit Graph

2591 Commits

Author SHA1 Message Date
hondacrx 569232c3fe Battlefields: Move BF scripts out of game
Port From (https://github.com/TrinityCore/TrinityCore/commit/49523a74a4c28e5ae17f9a8352aa8224b765b7d8)
2022-02-24 10:51:24 -05:00
hondacrx 628a24923c Core/Misc: Move WorldState enum to SharedDefines
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca62d93481f60807679c8632e09fa6f48f29de68)
2022-02-23 17:01:51 -05:00
hondacrx 3c6e9e7795 Core/Misc: Create new enum for AreaIds
Port From (https://github.com/TrinityCore/TrinityCore/commit/60b48ad0467c4578d9944e53d9c55ed4b970a4ec)
2022-02-23 16:45:12 -05:00
hondacrx 43726e7da0 Core/LFG: Sanitize LFG roles sent by clients
Port From (https://github.com/TrinityCore/TrinityCore/commit/4431df1f136372319dd6f73c4d28c4e0ef0dcb2c)
2022-02-23 16:37:25 -05:00
hondacrx 3fb2429495 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/71ce61cc951c5795b02f11212a392987d4ba0af1)
2022-02-23 16:34:44 -05:00
hondacrx eb5d4a4e7d DB/Account: update account_access table cherry-pick take 2 (with refactors)
Port From (https://github.com/TrinityCore/TrinityCore/commit/69cadae38ae7196703ea10908860a6973dbdcddf)
2022-02-23 16:34:06 -05:00
hondacrx bbd45a1886 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc43a95729109286d8ce0e0ecf3a2c3dcdbe2d5b)
2022-02-23 16:30:50 -05:00
hondacrx 87bff09387 Core/Players: do not update position data on character creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab46d25d0cce31c23dac86560b8e97d395d374a7)
2022-02-23 16:29:44 -05:00
hondacrx 99b4a7ea8b Misc fixes 2022-02-23 16:28:45 -05:00
hondacrx bbc0c07697 Core/SmartAI: allow AreaTrigger SAI scripts to use the player triggering it as base object for actions and targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ddde5ca3cac8ac03239882778af3702b59d582d)
2022-02-23 16:28:32 -05:00
hondacrx 475600daa9 Core/SAI: implement SMART_ACTION_ATTACK_STOP
Port From (https://github.com/TrinityCore/TrinityCore/commit/38be5e361e072edec6cfec584db9182ea3ad4450)
2022-02-23 16:13:54 -05:00
hondacrx 4c883cbc47 Scripts/Commands: Add .debug objectcount <optional map id> chat command
Port From (https://github.com/TrinityCore/TrinityCore/commit/5886bf7484f26deb0e26d3a14791041cc14266be)
2022-02-23 16:11:23 -05:00
hondacrx 9fffef0388 Core/Spells: Prevent manual cancelling of channelled spells that have SPELL_ATTR0_CANT_CANCEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fc9e0172da4018ab24422bee51b025d0fb79701)
2022-02-23 16:03:52 -05:00
hondacrx c41acd0bc8 Core/AI: refactor SpellHit and SpellHitTarget.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3171cd3fa9dbcec43f5d70b74ab2f54a2aa44173)
2022-02-23 16:02:13 -05:00
hondacrx 19abbbf0b5 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt
Port From (https://github.com/TrinityCore/TrinityCore/commit/4110a06e8193329c31cb9d59d346294835fd51a5)
2022-02-22 20:11:11 -05:00
hondacrx bc52ff717a Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
Port From (https://github.com/TrinityCore/TrinityCore/commit/294657f7dd4d2db1ca6dcf66f0b0895c6ba92949)
2022-02-22 19:59:03 -05:00
hondacrx 236f1d6999 Scripts/Pet: Fixed Mirror Image trying attacking invalid targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/08d3bc7488da35999afbfc4e093491b388dcd124)
2022-02-22 19:55:57 -05:00
hondacrx 55e9ab5d39 Entities/Player: Restore old checks for UpdatePvPFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4b3e694e822315a635b9ea598d1fab9e2069c3d)
2022-02-22 19:53:53 -05:00
hondacrx 87d3646a83 Core/Creature: Allow to disable HP regen in Raids even if the target is unreachable
Port From (https://github.com/TrinityCore/TrinityCore/commit/07863a7a6817dbb16fbd740130149bf727a6a136)
2022-02-22 19:49:05 -05:00
hondacrx db46b39a93 Core/Quests: Add missing GO_DYNFLAG_LO_ACTIVATE to lootable chests related to quests but not having quest loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e586bb476f5d36df646539f5bb3d47a2101e9fc)
2022-02-22 19:42:56 -05:00
hondacrx 8ba914cb61 Core/Quests: Fixed gameobject sparkle state for lootable quest items by moving ItemAddedQuestCheck/ItemRemovedQuestCheck after item is added/removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a1e552d2acb394ad0d0a2544aeef6ad93ca4fb)
2022-02-22 19:39:43 -05:00
hondacrx 92d3c34752 Vmap: Introduce skipping of antiportals and unreachable mogp
Port From (https://github.com/TrinityCore/TrinityCore/commit/dbb7f65723fd4c46ae7f12801fa12ca2196fcb03)
2022-02-22 19:32:39 -05:00
hondacrx 659dd2faed MapExtraction: Fix water height redundancy algorithm ignoring "no water"
Port From (https://github.com/TrinityCore/TrinityCore/commit/2467f799bb85c30daae0df83810336486f9ed1a5)
2022-02-22 19:31:32 -05:00
hondacrx 0f3c086442 Core/MMAPs: Fix small steps being considered as NAV_AREA_GROUND_STEEP
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddcbc01a65a3c8aff1248354f5c900faf719cc4a)
2022-02-22 19:28:10 -05:00
hondacrx 3292e8d5ab Handle different slopes in mmaps
Port From (https://github.com/TrinityCore/TrinityCore/commit/d58d0e895c6e22bcf40be5c38ff828c98a7600e6)
2022-02-22 19:26:24 -05:00
hondacrx 8fa43cd0bd Core/Objects: fixed destination calculation for destination based spells casted by flying units
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c15b2ac7cd8f57004b009a99ec357ef2eefecb3)
2022-02-22 19:20:18 -05:00
hondacrx f21809a608 Core/Commands: Fixed .npc add overwriting existing spawns when used on transports
Port From (https://github.com/TrinityCore/TrinityCore/commit/98272944eef1d710665223df4e16978876e8f9f3)
2022-02-22 18:38:29 -05:00
hondacrx 98206ec201 Fixes aura infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cb01a79046fce3f76835bb68bf66e4f3079e4bc)
2022-02-22 18:37:01 -05:00
hondacrx 839aad82d9 Removing a duplicate item combat spell handling causing poisons (and others) to proc twice.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e95215e9ae160ef896add877793a9d6aa7dc133b)
2022-02-22 14:27:32 -05:00
hondacrx c27475ae46 Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/89afeed41b4f040e4852b35183f30291588662d7)
2022-02-22 14:24:29 -05:00
hondacrx 0600993129 Further improve ChrRace DBC handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/406c7219ad6454a3f3855c9e0732245dcc34b2dc)
2022-02-22 14:08:30 -05:00
hondacrx 7b0eb70fe7 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fd26c5f09c6c99635a8cd8ac961abe9d0c79e5d)
2022-02-22 14:05:35 -05:00
hondacrx 338a861cd9 Core/Time: Remove artificially high minimal update intervals
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a67e376811743be208da4aab8a9e452e1ae637e)
2022-02-22 13:54:46 -05:00
hondacrx 8ce8408f91 Core/Misc: Define and use ChrRacesFlag and CreatureModelDataFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/d30e4a20e52a5025c59bfc746570ff7ef06af6f4)
2022-02-22 13:49:20 -05:00
hondacrx c9fa7d22fc Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d56d92fbe7436af00e00b00ca5e7640f852d3485)
2022-02-22 13:43:52 -05:00
hondacrx d5281ebe14 Core/Movement: modify MovementInform trigger condition & checks in ChaseMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/b9bb07de03a7b413aef5d0ebc88428cee1577559)
2022-02-22 13:38:35 -05:00
hondacrx 7d66fdbfd3 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/06334ab734f25a31853a78936d534a11e2b56c0f)
2022-02-22 13:33:40 -05:00
hondacrx ccfec6a37f Core/Movement: modify MovementInform trigger condition & checks in FollowMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6c0022a4d814a536800b7834a35db7d4d484f57)
2022-02-22 13:32:22 -05:00
hondacrx 14ec7655ad Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
Port From (https://github.com/TrinityCore/TrinityCore/commit/6413466693e424ee42744a4cdb8b24502631fa49)
2022-02-22 13:28:18 -05:00
hondacrx a911dd50f6 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/875da437806b8956324078bc9abd0a495345d2e5)
2022-02-22 13:26:27 -05:00
hondacrx 9721f6406e Core/Objects: use the static vmap check in MovePositionToFirstCollision for all path results to avoid falling below wmo surfaces when the mmap path returns unreliable data
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8e1de0f929598c2ebb8da2ee3de99f91be43d14)
2022-02-18 17:37:39 -05:00
hondacrx 3dbe7259aa Core/Spells: Fixed refreshing stat buff auras that have been improved by talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d94bc2f4b23c51a69213a46b28a5e97aa99f5d5)
2022-02-18 17:31:31 -05:00
hondacrx e6b9631ed0 Core/Objects: further improvements for MovePositionToFirstCollision
Port From (https://github.com/TrinityCore/TrinityCore/commit/26e7da1622b217f66d28771836014ca9023efd16)
2022-02-18 17:27:32 -05:00
hondacrx cb68969f1d Core/Objects: optimize and improve MovePositionToFirstCollision results
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8805f43897bc5b22a7e7491b055b8dad84a34aa)
2022-02-18 17:15:45 -05:00
hondacrx 67b7d1203c Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d38eeec7e222edfe74740efd8e7af16103b0221)
2022-02-18 17:00:01 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx e7eba5907d Core/Spells Fixed scroll stacking check when not targeting self
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9443f190abdf2467386c64c0b476e2d6ec545f6)
2022-02-18 16:34:20 -05:00
hondacrx ce5b592d8b Core/Spells: Scrolls should not be consumed, when they fail to apply.
Port From (https://github.com/TrinityCore/TrinityCore/commit/88afe180b404324b3c1a5bfc31fa37c8ded48a78)
2022-02-18 13:44:18 -05:00
hondacrx da1405d365 Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4f56c105fabf33398d332c09c8e331bc4025192)
2022-02-18 13:40:02 -05:00
hondacrx 00d04e06a1 Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding it
Port From (https://github.com/TrinityCore/TrinityCore/commit/a20526077d224f9cc63104535fb80b13fc65a4fa)
2022-02-18 13:38:52 -05:00