Commit Graph

3940 Commits

Author SHA1 Message Date
hondacrx 967624c664 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/30f57de184fb96dfb6c548201e7717fa293682e1)
2023-09-14 04:53:47 -04:00
hondacrx 3c28432a49 Core/Quest: Allow quests flagged as QUEST_FLAGS_AUTO_COMPLETE to be valid in CMSG_QUESTGIVER_REQUEST_REWARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9d459962b221fd2033efa02f059b602c5a546f6)
2023-09-14 04:50:51 -04:00
hondacrx 0bb8152623 Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state
Port From (https://github.com/TrinityCore/TrinityCore/commit/6175467c3e66fa09d8ff1e0f091375c26f7529e5)
2023-09-14 04:48:19 -04:00
hondacrx dbd3a16c11 Core/GameObject: Expose several NewFlag fields for future purposes
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e618278141cce1a1fcfc2f1b0e8997367ca9848)
2023-09-14 04:47:43 -04:00
hondacrx 165f2d7f9b Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/28c5d71b284a19657a602590cc6fcc2f1746b124)
2023-09-14 04:43:15 -04:00
hondacrx 7e4c0f3aa3 Core/GameObject: Dropped flag should only spawn when debuff is not removed by default
Port From (https://github.com/TrinityCore/TrinityCore/commit/0367e1afc51916cb38c9ceecf1935fad0ea2d26a)
2023-09-14 04:39:25 -04:00
hondacrx 06eed955de Core/GameObject: Mark some pvp related gameobjects as active
Port From (https://github.com/TrinityCore/TrinityCore/commit/1336370b4583400abb93d6e306814b05f3c7553b)
2023-09-14 04:38:38 -04:00
hondacrx ac8086eda2 Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
Port From (https://github.com/TrinityCore/TrinityCore/commit/b10b97b35bed07742b3989fa99fe932d77bd7fd2)
2023-09-14 04:37:12 -04:00
hondacrx 79cdb32e43 Core/Players: Remove player from group on faction change if two side interaction group is not allowed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f108a50abf82abd0973878ef88fdab47a408238c)
2023-09-14 04:36:13 -04:00
hondacrx af4661330a Core/Mail: Reorder mail attachment checks to be able to report nonempty bag error to client.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b48268e2cfc7fddeba8fe55721aaab4234cc152)
2023-09-14 04:33:14 -04:00
hondacrx a862056cc4 Core/Spells: Prevent rerolling gathering skillups until success when mining or gathering herbs
Port From (https://github.com/TrinityCore/TrinityCore/commit/dce71612efa11bad7f25c65962d455843bd79baf)
2023-09-14 04:30:42 -04:00
hondacrx da4c05aad3 Core/Arena: Correctly update the stats of the members of each team when the week ends and the arena points are distributed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0728d194d9d8fa6c91e6c7dfbc9e06c02963d7fe)
2023-09-14 04:29:23 -04:00
hondacrx 8c2d3496fb Core/Units: Fixed possible use after free in ThreatManager
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e3968b63c4192b766de69c8f4744adba406c94b)
2023-09-14 04:28:04 -04:00
hondacrx 6975212812 Core/Spells: Implement sqrt based aoe damage diminishing
Port From (https://github.com/TrinityCore/TrinityCore/commit/42a6e0eb1afa431fc1efe7d4c5a62758fed42684)
2023-09-14 04:24:19 -04:00
hondacrx 572bab53e4 Core/Spells: Rewrite SelectRandomInjuredTargets to make extending it with additional requirements easier and allow it to prioritize group members
Port From (https://github.com/TrinityCore/TrinityCore/commit/d4d28d27f8322d6c07a6c384de1b4aecd1bb8a92)
2023-09-14 04:03:00 -04:00
hondacrx fde57f7cf0 DB/Pets: Removed invalid spells from creature_template_spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/982feb5082ab3c30cfb2e1278fd7736e5a02466c)
2023-09-14 03:30:55 -04:00
hondacrx c8c75431bf Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3)
2023-09-14 03:29:15 -04:00
hondacrx 45c95d22ed Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
Port From (https://github.com/TrinityCore/TrinityCore/commit/fefc7192631764245396cd2622aa11f649411946)
2023-09-14 03:27:06 -04:00
hondacrx 0449c88951 Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1c0419441a6c0b1a049a3197a35c754e00ea6e)
2023-09-14 02:59:06 -04:00
hondacrx a531a99ff3 Core/Spells: Summons with no special title and duration -1ms should use TEMPSUMMON_MANUAL_DESPAWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c9e46629c5503b8c1a81cb71b2cd06ec1284fbb)
2023-09-14 02:56:28 -04:00
hondacrx dca7931fa2 Scripts/Commands: Implemented .debug play objectsound command
Port From (https://github.com/TrinityCore/TrinityCore/commit/95893cf53cdc9ab2ca3ec26cfd85793e63e97317)
2023-09-14 02:53:58 -04:00
hondacrx 0e2b551b06 Core/Object: Implemented helper method PlayObjectSound
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e5da37bdbbac355e454c5cbabe5991b7966709)
2023-09-14 02:51:26 -04:00
hondacrx ae837fb074 Core/Spells: Validate spellmod array size at startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2d8c64d366899d7f3ab22b5abd79f44640a70e7)
2023-09-14 02:49:50 -04:00
hondacrx c23045a38d Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8f3bb8cba288ee1b5805929355d15606474af34)
2023-09-14 02:46:42 -04:00
hondacrx a7a955823d Core/Spells: Handle summon effect on spell launch instead of hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d8221d558fc81031bd8f66f4bb83629653f2809)
2023-09-13 21:04:09 -04:00
hondacrx 3f8dedfb7a Core/Creatures: Clean up temporary summon duplicate level initialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cae07870b4ff3c33669326756392d9086dac50f)
2023-09-13 21:03:36 -04:00
hondacrx 0482541ac2 Core/Creatures: Allow modifying TempSummon duration after summoning
Port From (https://github.com/TrinityCore/TrinityCore/commit/01a09de3197612acdfd2d3d72548c9ae7288faa5)
2023-09-13 21:00:49 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -04:00
hondacrx 7b2d198832 Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0ab6330c1ef096b650702633a60181b9ecdd351)
2023-09-13 20:46:56 -04:00
hondacrx f7ae161e3d Core/MMaps: Fixed pathing for objects that have terrain swaps active
Port From (https://github.com/TrinityCore/TrinityCore/commit/86725ed9267803506d8a5cab04c2c5641a234dd9)
2023-09-13 20:46:16 -04:00
hondacrx 3052b1dc23 Core/Misc: Turn ChrSpecialization into enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8)
2023-09-13 20:33:47 -04:00
hondacrx a8e62cc07d Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2784d4c65ec987fe587718d96b2feb885905e13)
2023-09-13 19:49:53 -04:00
hondacrx 7cb343e4f9 Core/Misc: Reduce number of player spec hardcoded checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/054723241eaf1abe7d45a96460e84b9ff113ffb2)
2023-09-13 19:47:12 -04:00
hondacrx 070b35d6e8 Core/Spells: Fixed spells with SPELL_ATTR12_START_COOLDOWN_ON_CAST_START failing to cast because of their own cooldown
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3a31a9a6f7d0000b8fc3e1ca2e355664a7ed955)
2023-09-13 19:31:39 -04:00
hondacrx 28a4f85886 Core/Auras: Default procs with PROC_FLAG_2_CAST_SUCCESSFUL to CAST spell phase
Port From (https://github.com/TrinityCore/TrinityCore/commit/5aaaf3f9166fe37fbe26c6643d10cd21d331fc8d)
2023-09-13 18:34:23 -04:00
hondacrx 9f660fa4b0 Core/Realms: Minor refactor to realm address storage
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc6dba1376905456062d1ade8adcbaed4f8f484e)
2023-09-13 18:31:04 -04:00
hondacrx f89df8dca8 Scripts/Spells: Converted some damage calculating scripts to use new hooks as examples
Port From (https://github.com/TrinityCore/TrinityCore/commit/8594fcfe8a0085a087bce510e3b4cb14f632434f)
2023-09-13 18:23:20 -04:00
hondacrx d7c2fa52f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cdf3530f41e18fc815e7b164e40c01a18c3d757)
2023-09-13 18:18:29 -04:00
hondacrx 44e79ec8ea Core/Spells: Removed old combo point code leftovers
Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca)
2023-09-12 18:08:48 -04:00
hondacrx 913cfa0fbd Core/Spells: Fixed spell duration scaling with combo points
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e68fd1458551ab0f007b6044c9220da8f7d4199)
2023-09-12 18:00:30 -04:00
hondacrx 543411beec Battlegrounds/Buffs: Rework using areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/f5461a1161a5a9dfabe7a142ad84f8c900776c92)
2023-09-12 15:52:46 -04:00
hondacrx 6f387e563f Core/GameObjects: Added stringid to gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f)
2023-09-12 15:45:47 -04:00
hondacrx 003942efba Core/Auras: Remove incorrect implementation of SPELL_ATTR8_DONT_RESET_PERIODIC_TIMER (this attribute does something else)
Port From (https://github.com/TrinityCore/TrinityCore/commit/799d63ce2cdf9b8cb7a74f9806178f9fefaba471)
2023-09-12 15:02:20 -04:00
hondacrx 3f18064529 Scripts/Spells: Implemented Flurry
Port From (https://github.com/TrinityCore/TrinityCore/commit/47d4fa09850a778e48036a6d7cc42310e7e5c6a3)
2023-09-12 14:51:03 -04:00
hondacrx b74cdf643f Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfc27f5ca81402ed41973a0206838e7a0352070)
2023-09-04 13:28:15 -04:00
hondacrx 07a2dd9859 Core/AI: Implemented OnHealthDepleted hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea134c0eae83b4cdbb5f0e941ed867a144bb01f6)
2023-09-04 13:07:59 -04:00
hondacrx 66c1b205ef Scripts/Spells: Modernize spell script internals a bit
Port From (https://github.com/TrinityCore/TrinityCore/commit/228c56f3c5e23345cf2b5a391c614e52f61fe7f9)
2023-09-04 13:05:19 -04:00
hondacrx 893ddbb8b7 Scripts/Spells: Implement Shield of Vengeance
Port From (https://github.com/TrinityCore/TrinityCore/commit/3be66cee2642f67c4fbe200cb3b056b8d68735dd)
2023-09-04 12:24:18 -04:00
hondacrx ca60c16fa2 Scripts/Spells: Implement Benediction, Divine Service, and Focused Mending
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2ef93fc7d72fcc0fbecafc896f5a7b032fe8fc3)
2023-09-04 12:19:41 -04:00
hondacrx 35f72ad1a7 Scripts/Spells: Fixed Entangling Roots periodic damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/970a274be131e694b2fdf6f2b4d572dfc7151b56)
2023-09-04 11:47:12 -04:00