Commit Graph

2786 Commits

Author SHA1 Message Date
hondacrx 4fab4cc6cf Core/Commands: Restore instance management commands
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab12e77cf72bcd361a380c8d1ed37d12fe0e1bbb)
2022-10-04 17:40:16 -04:00
hondacrx 8b6a703058 Core/Instances: Add prepared statements for InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ce1c6cdf419b52b889ad9dac7fb69d0059a1fe6)
2022-10-04 17:08:38 -04:00
hondacrx 276d199a6f Core/Instances: Add new config options to control the time when both daily and weekly resets occur (will not be restricted to instances only)
Port From (https://github.com/TrinityCore/TrinityCore/commit/cedf09f93c44be2abf1c2b40e0e4c51f95f2975c)
2022-10-04 17:02:16 -04:00
hondacrx 8d2770081b Core/Instances: Sprinkle some thread safety on InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/0be72f68c33617d78a4139f3e667b03d0a22a435)
2022-10-04 16:57:02 -04:00
hondacrx 2b09e4227b Core/Instances: Save instance entrance based on completed encounters
Port From (https://github.com/TrinityCore/TrinityCore/commit/4cbaaa343543e0fde5d90b87f762804997f1dbac)
2022-10-04 14:53:22 -04:00
hondacrx 7a65cf1434 Core/Scenarios: Attempt to restore scenario state from completed encounter info
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e99011edf5e74ef51a7b6f84ca0529e5dbf2492)
2022-10-04 14:46:27 -04:00
hondacrx 807caef08c Core/Instances: Reimplement resetting instances from UI
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddd0c7b152d65b980db0cc2d00f15ae62a602936)
2022-10-04 14:31:07 -04:00
hondacrx 67d6fa48eb Core/Scripts: Save instance data in JSON format
Port From (https://github.com/TrinityCore/TrinityCore/commit/76be303351ae398b7f9e69e4c472cb5b05fce45e)
2022-10-04 14:04:16 -04:00
hondacrx 66c7047a29 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182)
2022-10-04 10:57:04 -04:00
hondacrx 793cf91a24 Core/Maps: Check group that owns instance (first group to enter a given instance id owns it)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a131542855d23022714a97640be1c8d68a741c31)
2022-10-04 10:12:41 -04:00
hondacrx d3dde761a2 Core/Instances: Instance lock rewrite (WIP)
Port From (https://github.com/TrinityCore/TrinityCore/commit/17665c929c3a9fb7fe75dd680648129bc1c1f874)
2022-10-04 10:00:07 -04:00
hondacrx d21624fd87 Core/Spells: make Spell::CheckMovement respect the current spell state
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad2df01b2c25ca6264096b8b8324dc8136ebd48b)
2022-10-03 20:42:04 -04:00
hondacrx 0c4e5802cd Core/Spawns: Exclude spawn groups with MANUAL_SPAWN flag from automatic spawning/despawning with conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/769591c99ef7bd9c58eacd5c0272387af9a74e4a)
2022-10-03 20:39:18 -04:00
hondacrx e4a18a7d04 Core/Commands: Fixed not being able to use command: .levelup 2022-10-03 17:32:27 -04:00
hondacrx 10302a3ceb Some misc fixes 2022-10-03 10:22:04 -04:00
hondacrx 43ea6fbaa1 Core/Commands: Fixes a few crashes with commands 2022-10-02 21:50:21 -04:00
hondacrx 86e03cee1b Core/Spells: fixed up block mechanics
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f084718277b01936435c66696084fc049f8f8cf)
2022-10-01 17:10:57 -04:00
hondacrx e8ff7bfa67 Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b06b8ec1e3ccc153a44b3eb2e8487641cfae98d)
2022-10-01 17:00:55 -04:00
hondacrx 5b41cb0646 Core/Players: Added error message for death knights attempting to leave their starting zone early
Port From (https://github.com/TrinityCore/TrinityCore/commit/a515443a598e4934bc4493b1858c76cb631d5b8a)
2022-10-01 16:57:44 -04:00
hondacrx 879451f799 Fix build 2022-10-01 16:56:56 -04:00
hondacrx 906e885631 Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ff3d888688fd382d317de0c2dbf26af6a6e7da5)
2022-10-01 16:54:27 -04:00
hondacrx e9ad8c63f8 Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffbde7cccc6b0d697f915345c48e2b70dc110f38)
2022-10-01 16:39:06 -04:00
hondacrx fa4a96769e Core/Players: Fixed pvp talents being removed and immediately readded from players when entering/leaving Orgrimmar and Stormwind
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c90378cec45c94c846bb86d30022e2ded31d9cd)
2022-10-01 16:35:47 -04:00
hondacrx ca55d131ac Core/Spells: Fix glyph of stars (druid)
Port From (https://github.com/TrinityCore/TrinityCore/commit/56ef6c06eb165e9410a1f0af8b54492ad99eeced)
2022-09-24 13:57:38 -04:00
hondacrx 53689df7fa Core/Items: Added correct context and bonus calculation for character loadout items
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4d2166f0c7a61f5a9b159da80e478c5ae7aaa16)
2022-09-24 13:53:55 -04:00
hondacrx 91e844e9dc Core/Player: Extend action button value to uint64 to be able to hold battle pet guids
Port From (https://github.com/TrinityCore/TrinityCore/commit/f67cd38312014b13624dcb5fe1d117dac4892b7d)
2022-09-24 13:50:39 -04:00
hondacrx 1bd88829f2 Core/Player: Allow companion action buttons to be saved
Port From (https://github.com/TrinityCore/TrinityCore/commit/e15898bf560fc8159777a2a29a29d6a91ffdb590)
2022-09-24 13:36:51 -04:00
hondacrx 431a06fe24 Core/Commands: Fixes commands that use boolean as a argument. ex: .gm fly on 2022-09-19 19:12:44 -04:00
hondacrx 40f06a3fb0 Core/Loot: Refactored Player::SendLoot to accept Loot object directly
Port From (https://github.com/TrinityCore/TrinityCore/commit/cbf2064c62137d9f0c0397956592f3ab9700480c)
2022-09-18 22:22:44 -04:00
hondacrx 6c7991c28f Core/Loot: Move loot generation out of Player::SendLoot
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c20f620d7b070b13b40803095e5fa97f9349512)
2022-09-18 22:13:40 -04:00
hondacrx aa88c5bb2f Core/Loot: Simplify loot containers
Port From (https://github.com/TrinityCore/TrinityCore/commit/c00e2e4851498aa04ac1d8ff13a0759b245df72b)
2022-09-18 20:32:52 -04:00
hondacrx b76c9571d2 Core/Loot: Move loot rolls from Group to Loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ef5079feeedfdafc9d3c1d9f865e96dbc77ecc8)
2022-09-18 17:57:08 -04:00
hondacrx 0f77a9b27d Core/Loot: Store method used at loot generation inside Loot object
Port From (https://github.com/TrinityCore/TrinityCore/commit/9700b2a78680452d80025121a031da340af51348)
2022-09-18 15:54:17 -04:00
hondacrx bfdbcd7cbe Core/Loot: Store references to Loot objects directly in players loot view map instead of guids of world objects holding that loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/f19f32f2a49cf0eb235f1aa12106322bf9db2a15)
2022-09-18 15:40:17 -04:00
hondacrx 1f01e15e09 Core/Loot: Corrected loot release logic on leaving world and swapping bags
Port From (https://github.com/TrinityCore/TrinityCore/commit/30ad7e3337f8da32cb567489f4203c7eb35d17a4)
2022-09-18 15:05:23 -04:00
hondacrx 2270e26b0d Core/Loot: Set loot guid and type in Loot constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9d083a2ee59d297271b04f3b7fb63808f7f0c8c)
2022-09-11 14:57:51 -04:00
hondacrx 595ac58013 Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/78698463ff6b20255148fb647e9ad33a487bb09d)
2022-09-11 14:40:24 -04:00
hondacrx f9b7f3fa9f Core/Players: assign forbidden skills to a proper position to no longer interfere with legit skills that have been stored as first element.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2556d6d705c519fd461b9d9f10a4387d9beb199e)
2022-09-11 14:34:55 -04:00
hondacrx 81f3889539 Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cfc74d8c8a8579cd8160b6d7d1fa52b5ed1f068)
2022-09-11 14:32:38 -04:00
hondacrx 7cef6fc018 Core/Unit: Update collision height calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/f75f8d9bb8c0d764b8a7926476e7a16a3cfad713)
2022-09-11 14:31:09 -04:00
hondacrx 503bd57fe0 Core/Gossip: Fixed loading ActionPoiID data
Port From (https://github.com/TrinityCore/TrinityCore/commit/1521a0d1312dff7599348f0d271b8605b034c127)
2022-09-11 14:29:17 -04:00
hondacrx dbf746f9ea Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side
Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0249807f5a8f351e6be6f7350ebace3d2997a)
2022-09-08 18:06:18 -04:00
hondacrx 21b5fe44f5 Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR_PCT and rename HandleModStatBonusArmor
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e9a6700d83f0ad07c7c56becfc3a62434707208)
2022-09-07 15:43:21 -04:00
hondacrx 38b72558ca Core/Creatures: Don't remove hovering from creatures that can fly
Port From (https://github.com/TrinityCore/TrinityCore/commit/8660655de03541e64fd1b2d8290dcb53e6ff4ec8)
2022-09-07 15:40:58 -04:00
hondacrx 04afbd8f33 Core/bnetserver: Add compatibility for classic clients
Port From (https://github.com/TrinityCore/TrinityCore/commit/89652bd78f3e6333e0f7b8ff5fe65ee144a173a8)
2022-09-07 15:38:46 -04:00
hondacrx 716cad0ec3 Core/Players: Properly mark all class/specialization/talent/pvp talent learned spells as dependent
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7f5c19e1a1b969bf34fcf5cb38f54c1472583ea)
2022-09-07 15:26:20 -04:00
hondacrx 7357a98adc Core/Auras: Improve aura interactions with immunities on spell effect level
Port From (https://github.com/TrinityCore/TrinityCore/commit/66b03acc47665cd79646096e13aa8c6b513675aa)
2022-09-07 15:22:28 -04:00
hondacrx 9abe7f8ad6 Core/Spells: Move entering combat for caster and calculating crit chance to separate function called only once for each target instead of doing it once for every effect on every target
Port From (https://github.com/TrinityCore/TrinityCore/commit/b2eeca702cc4868ed578f6755ea6b6bce9ba17b8)
2022-09-07 13:30:27 -04:00
hondacrx 96d427f8fa Core/Spells: Simplify combat flagging code on spell launch and impact
Port From (https://github.com/TrinityCore/TrinityCore/commit/a7b7ad94f8e18a1c4d8bb1d806afec263c6abc7c)
2022-09-07 13:27:44 -04:00
hondacrx a5cfd149b7 Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bfc29f4aff01cd7f366faffcda0a84071970d6a)
2022-09-07 13:23:53 -04:00