Commit Graph

121 Commits

Author SHA1 Message Date
hondacrx 8b746a8996 Core/Quests: Fixed crash in Player::RewardQuest
Port From (https://github.com/TrinityCore/TrinityCore/commit/f93b4d6c438b337d15bf1666f6f0e050beb97ce4)
2023-06-24 08:52:27 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 264647c611 Core/Quests: New FlagsEx implementations
* QUEST_FLAGS_EX_REWARDS_IGNORE_CAPS
* QUEST_FLAGS_EX_NO_CREDIT_FOR_PROXY
* QUEST_FLAGS_EX_RECAST_ACCEPT_SPELL_ON_LOGIN
* QUEST_FLAGS_EX_REMOVE_ON_PERIODIC_RESET
* QUEST_FLAGS_EX_NO_ABANDON_ONCE_BEGUN
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cb8965de22c5da3887b8f8b5c08b9f5034b3cc6)
2023-06-13 09:11:55 -04:00
hondacrx e6432f8c97 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5)
2023-06-13 08:52:22 -04:00
hondacrx 48f8d37ccb Core/Quests: Only launch gossip menu on quest completion when quest has QUEST_FLAGS_LAUNCH_GOSSIP_COMPLETE flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/e746cb2f28a07520b51a7a258958d9da8237fbf1)
2023-06-13 05:18:04 -04:00
hondacrx f5108cbb94 Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver
Port From (https://github.com/TrinityCore/TrinityCore/commit/78b3f6309fa2d20fdd8a45a442cef55054b44ac6)
2023-06-13 05:11:52 -04:00
hondacrx dfdd88a2fc Core/Quests: Implemented new db table quest_objectives_completion_effect
* Turn off automatic phase updates on quest objective completion
* Allow more convenient conversation and spell casts on quest objective completion
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2be8d202823706ad4b29c2dc988c0fe978ae652)
2023-06-13 04:38:50 -04:00
hondacrx 71cc0bb2ec Core/Quests: Fixed typo in raid group requirements check
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e47a3522a03ac193bad819e5ff04e11e6c65645)
2023-04-26 07:08:05 -04:00
hondacrx 6361e60c8b Core/Quests: Fixed crash happening when a quest is marked as rewarded without a questgiver (for example lfg)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5332098e76bf5f1f46b5a7984fc00b4e493cd4c8)
2023-04-05 08:14:11 -04:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 69a413006c Core/Quests: Dont immediately update object visibility at PhaseShift and wait for the AI Hooks to be called in Player::RewardQuest
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5886f6a2d1756357a9240703306e9efc82771d7)
2023-01-30 10:14:03 -05:00
hondacrx 08fcedaf21 Core: Updated to 10.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/4bec7233badf9d3ab71dbdde8b24f66f7c4eedfb)
2023-01-30 10:07:42 -05:00
hondacrx 873a1df596 Core/Reputation: Implemented renown reputation (Dragonflight)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d64d84dfa68da4ff83f0b88ad4e88dccc5ace623)
2023-01-24 23:35:51 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx d644418262 Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ade34a7f484dfcc7e41eddfd1014e7728c8dc2c1)
2023-01-05 17:05:01 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00
hondacrx 25ede0f0e7 Core/Quests: Send Offer Reward Window for non-repeatable autocomplete quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/283837271eb10bf702f3201514546a6dc27ceb38)
2022-10-26 09:15:08 -04:00
hondacrx d457828f3b Core/GameObjects: Implemented AllowMultiInteract for GAMEOBJECT_TYPE_GOOBER
Port From (https://github.com/TrinityCore/TrinityCore/commit/f52f2cc67ad91fa9017f6739e0efdf9677c5d629)
2022-10-22 22:32:25 -04:00
hondacrx f441175665 Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode
Port From (https://github.com/TrinityCore/TrinityCore/commit/4772c4817f1b34553f1c697e2aedc0372af9aea2)
2022-10-11 20:27:05 -04:00
hondacrx 3102a12bfe Core/Players: Prevent sending QuestUpdateAddCredit on QUEST_OBJECTIVE_ITEM
Port From (https://github.com/TrinityCore/TrinityCore/commit/55d0adf15e310e95576fdc4ec406ec154c23ffbb)
2022-08-06 12:22:18 -04:00
hondacrx ce16bc0611 Fixes a crash when loading. 2022-07-19 20:26:39 -04:00
hondacrx 9961b71f17 Core/Players: Cleaned some old updatefield definitions and updated values for completed quests size
Port From (https://github.com/TrinityCore/TrinityCore/commit/26d757946f4e26397930e2d8733c0b1c7f76d0a6)
2022-07-18 22:07:17 -04:00
hondacrx 357b1fed30 Fixed a crash when loading into world. 2022-07-11 15:38:24 -04:00
hondacrx c7123ad860 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time
Port From (https://github.com/TrinityCore/TrinityCore/commit/49ad0d2d495a9f817ad2820f8e616f3a6564b480)
2022-07-04 01:15:52 -04:00
hondacrx dfee7691f7 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
2022-05-31 13:45:46 -04:00
hondacrx 60ab157ba1 Core/Quests: Improve ItemRemovedQuestCheck logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/62df5e860fd3ecfcedbcca14a6d90bf5d8a1bbef)
2022-05-29 16:08:45 -04:00
hondacrx 8f66ab059d Core/Quests: Do not tell the client to request questgiver details for the next quest in chain on quest reward if the player cannot accept it yet
Port From (https://github.com/TrinityCore/TrinityCore/commit/cec71e83017bd22036a80c7747535ac3c9ee60d4)
2022-05-23 17:25:04 -04:00
hondacrx aec91dc2b0 Core/PacketIO: Implemented SMSG_DISPLAY_TOAST for quest money rewards
Port From (https://github.com/TrinityCore/TrinityCore/commit/e5417e9ce747d92822538da77d32cf7d0f26ce8a)
2022-05-04 10:12:29 -04:00
hondacrx 52ce6b2700 Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
2022-05-04 09:26:05 -04:00
hondacrx c82e78d4cb Core/Player: Introduce separate level caps for each expansion
Port From (https://github.com/TrinityCore/TrinityCore/commit/b7353fb92795801c2c2a52035026e9e0059fa83d)
2022-02-28 13:25:22 -05:00
hondacrx b66c37f34e Core/Conditions: Update phases when quest objective is updated
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a80656c51affe44de19940bc519dccbaa3ee3f)
2022-02-25 19:43:56 -05:00
hondacrx 6e0becd106 Core/Items: implement some helper methods for easier readability
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8)
2022-01-06 10:57:06 -05:00
hondacrx 9f5414d894 Fix spell_area not checking for zoneID for quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1598fa1d64b46fc53607182898fae2da172957b)
2022-01-04 18:56:51 -05:00
hondacrx ed761eb400 Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
2022-01-04 17:35:29 -05:00
hondacrx 60808a268d Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0a9d1fe96de7d59659c678814e6371be57774d)
2022-01-01 15:37:01 -05:00
hondacrx 0dda317989 Core/Quest: Do not allow quests to be turned in if the player no longer satisfies level/skill/reputation requirements.
Port From (https://github.com/TrinityCore/TrinityCore/commit/925aaecbc0997a8fa3dea8de25f12258f889ffad)
2021-12-27 16:50:14 -05:00
hondacrx 7a47eaeb24 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/edf12fd6a1b989d7785bc0619002eda1ccc87368)
2021-12-27 15:23:22 -05:00
hondacrx 55189b9395 Core/Quest: Fix repeatable quest mark
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5173aca15fcabba9ffce6393cf17868dc30750f)
2021-12-26 19:59:39 -05:00
hondacrx ce3b99471d Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ecce30a8072fd9352edae378a182f6bf6619d412)
2021-12-26 19:32:56 -05:00
hondacrx 137546769e Core/Quest: improve source item deletion logic for items that give quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/558772a0bc7e0d8b768a5b1778a9d598a2288f6f)
2021-12-07 17:24:31 -05:00
hondacrx ab828b2cb6 Core/Quests: Allow more objects to update their dynamicflags in Player::UpdateForQuestWorldObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e5f35a14ce0b894d95434f27fab8f7d0ba6dedc)
2021-12-07 17:07:38 -05:00
hondacrx c1fd2cef37 Core/Quests: Optimize Player::HasQuestForGO
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb834272cb0c0a1b1bb102bcee1b2a18b27f862d)
2021-12-07 17:03:53 -05:00
hondacrx 8d8479b49e Core support for breadcrumb quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/0bde06c4027d2e60edc30b55fa7b42da8d253d29)
2021-12-01 10:19:39 -05:00
hondacrx cb74ab8075 Core/Players: Load faction change items from db2 instead of db
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b11d17f4928d17637ad8182f9c632d90f873db4)
2021-11-23 22:24:04 -05:00
hondacrx fad2eccc25 Core/Quest: Fix crash in GetQuestDialogStatus()
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1b5a6a591be621e23905a7f320a3db1dc96cf7f)
2021-11-23 21:29:20 -05:00
hondacrx c6dbd790c1 Core/PacketIO: Updated SMSG_QUEST_PUSH_RESPONSE to 9.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/122fe7549db0e499560b748156592862623cb6b4)
2021-11-07 17:02:09 -05:00
hondacrx 6e5159bde3 Core/Conditions: allow CONDITION_QUEST_COMPLETE to handle spellclick conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/def2e699b046d888e43aefe9479176488e545ac0)
2021-11-02 17:01:36 -04:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 7cc0221447 Core/Entities: kill unused return value from Unit::HandleSpellClick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84)
2021-08-09 10:05:13 -04:00