Commit Graph

677 Commits

Author SHA1 Message Date
hondacrx 258c3c489f Core/Arena: Fix Arena.ArenaStartPersonalRating setting not having effect if the player didn't do any arena match before next server restart
Port From (https://github.com/TrinityCore/TrinityCore/commit/341ef2c0dd5a15ecfe95450febdd41272f1e48d1)
2022-04-28 10:23:25 -04:00
hondacrx b9caad7455 Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6bc8a50acaf153849f58c8b408e236bb2b70c35)
2022-03-10 13:40:20 -05:00
hondacrx c486b2a846 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
2022-03-10 12:02:05 -05:00
hondacrx a77e6865b2 Core/Pets: Adjust pet slot saving logic after constant changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/fd9eb28322fd75e94fcf5093aaf54bee145edfe8)
2022-03-10 10:40:32 -05:00
hondacrx cd29996170 Core/Pets: Save last summoned pet number in characters table
Port From (https://github.com/TrinityCore/TrinityCore/commit/8349444749227b3fd95196c7d74d9a3dde22dd6b)
2022-03-10 10:35:54 -05:00
hondacrx 5322ae75dd Core/Pets: Removed storing stable slot count in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/e458144442c1063daf3f47c58349293f90e9da80)
2022-03-10 10:29:07 -05:00
hondacrx 718302fa18 Core/Pets: Pet management refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca92686b44cc8c53a8991bf02d6e8534797fc115)
2022-03-10 09:39:55 -05:00
hondacrx bfd3cd9731 Core/Unit: Make HandleEmoteCommand typesafe
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3c612c808bca7601b32ce5dca28b204e652773)
2022-03-03 13:44:00 -05:00
hondacrx 712dd7b9de Core/Common: Merge TimeTrackerSmall with TimeTracker
Port From (https://github.com/TrinityCore/TrinityCore/commit/8809d54ca2daa230b1439f012c8b10ee88d6beae)
2022-03-02 14:06:04 -05:00
hondacrx 7631b1c387 Core/Common: Add a TimeSpan interface to TimeTrackerSmall
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e0002df3073cf4c3e1dae9fbff73d75ddb5e98)
2022-03-02 13:48:14 -05:00
hondacrx 0576cc0a07 Core/DBLayer: Add nicer api for SQLQueryHolders
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5dcf02196e30c932c7a25c3975a91a0fe1ccd50)
2022-03-02 13:27:52 -05:00
hondacrx 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -05:00
hondacrx 150b09205b Core/Mail: Load mails at login instead of on demand when queried by packets (logging in always sends one of the packets that cause mail loading anyway)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9b4f9aca0d0b90e59e0ed26e9bb4cce7d0ceeab)
2022-03-02 09:52:35 -05:00
hondacrx 6e6ee2d694 Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode with async version
Port From (https://github.com/TrinityCore/TrinityCore/commit/54a6e603ffc8b4913669cf0f189a966d25b620d8)
2022-03-02 09:35:51 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 6f1b2f5cd5 Core/Combat: Disable triggers entering combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dfcb7086e17902f0904ee6c09bc55a229b65cc1)
2022-03-01 17:38:12 -05:00
hondacrx 62cb6ffd33 EventMap: Remove GetNextEventTime and GetTimer methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/3499f518b52552a411e2b1cbdc3d922e64347f02)
2022-03-01 17:34:41 -05:00
hondacrx 556334221b TaskScheduler: use randtime instead of custom implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8a4cc806824d93f63cc7e0299428d7b524edddd)
2022-03-01 17:32:51 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx cc08afe269 Core/Util: Remove EventMap's non TimeSpan based interface
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd86a015c46f8da581f86857e313d9c596dba7fa)
2022-02-28 14:31:01 -05:00
hondacrx ce4851a33a Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9cf3828bad44cf193d6c9717b392de7346157a5)
2022-02-28 14:04:49 -05:00
hondacrx 1b37eb0525 Core/Auras: Named new proc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2dd07aa32f5071b7f48819b44344060eae1be06)
2022-02-28 13:17:54 -05:00
hondacrx 64b23b9de9 Core/Units: Named unit flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4952db4640ee3ec6a7df8545b5c582202f36405)
2022-02-28 13:16:41 -05:00
hondacrx 08aae42fe0 Scripts/Spells: Implement OnPrecast scripting hook for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/12d00e2e5f7e2cc7efe1ea8d126f9408055c05f8)
2022-02-27 14:33:22 -05:00
hondacrx 6df3ca3a3b Core/SAI: Add SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER
Port From (https://github.com/TrinityCore/TrinityCore/commit/f383c0ea214cc4da2d02b81e26297d77ff59c7ed)
2022-02-27 14:29:40 -05:00
hondacrx 1b28a8260c Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/d4a1a7a040be0ca0d6428669135bcc64d92be1c2)
2022-02-27 13:57:18 -05:00
hondacrx dfe2303d6f Core/Conditions: Implemented many more UnitCondition types
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf357312e0c4d0a68a95379ecdcbed817b136c31)
2022-02-26 18:33:10 -05:00
hondacrx 26deeb7a1e Core/Conditions: Initial support for UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/72286dc5e4fa5db2aff012d9cd496a8a6fc514c3)
2022-02-26 17:32:19 -05:00
hondacrx 3aad3e7e97 Core/DataStores: Load UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2bde40922bf59b95bba74c77390d9d51c750065)
2022-02-25 19:47:39 -05:00
hondacrx 5720b89b7e Core/Player: Added PlayerCreateMode field to playercreateinfo_cast_spell to only cast spells based on related mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a61024cfad05279791badf33fcdb5a608ad6e94)
2022-02-25 19:43:04 -05:00
hondacrx 06df87c79a Core/Conditions: Added conditions for object visibility
Port From (https://github.com/TrinityCore/TrinityCore/commit/b987a8968b45b8d5c86ab7e66d3910d2ecfe0963)
2022-02-25 17:23:55 -05:00
hondacrx 6f0b8760e2 Scripts/Spells: Fix shaman Mastery: Elemental Overload + Stormkeeper and Unlimited Power talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd19e225137377a0d6925960b715f58ea18652bc)
2022-02-25 14:18:39 -05:00
hondacrx b7cd5b11f2 Core/Spells: Validate spell_proc.AttributesMask on startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/415aaae7f2fa3a5e09a51b0355120bf4138cde41)
2022-02-25 13:02:48 -05:00
hondacrx 28175c47b1 Core/SAI: Remove SMART_ACTION_ADD_AURA & actions to change object flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ba93a95de911277908596d805e7fa7f38a18c3a)
2022-02-25 12:58:50 -05:00
hondacrx 91c2fedb6e Core/Guilds: Separate guild rank id from guild rank order
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d3235f56969a6e414071edbb669ac63b4398958)
2022-02-25 10:40:47 -05:00
hondacrx 4679bc9980 Core/Items: Implemented many new enchantment flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/241193cd0287c3d7a2cbaf7f2c5775d414b4d0b3)
2022-02-24 16:16:46 -05:00
hondacrx 57bded1def Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR (465)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a7c0c25cd84a99fc9cd70463859b2211865310f)
2022-02-24 15:39:44 -05:00
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 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 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 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 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 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 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 a911dd50f6 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/875da437806b8956324078bc9abd0a495345d2e5)
2022-02-22 13:26:27 -05:00