Commit Graph

632 Commits

Author SHA1 Message Date
hondacrx 15fe47e0cb Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN
Port From (https://github.com/TrinityCore/TrinityCore/commit/53f9abec14613c0823b1ee5363b3f873cc23ece9)
2023-09-04 07:22:22 -04:00
hondacrx b6b558f03a Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbe7cba7f411977d756f6f697056aafb920a5b0a)
2023-08-28 11:30:37 -04:00
hondacrx 8bef51cf6e Core/Players: Fixed base hit chance initialization for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8eddc4f0cf443c45a930bc919007541210984a)
2023-08-28 11:19:01 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 7de6a839fa Core/Auras: Removed triggering aura effect from SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL handling (paladin Crusading Strikes combines this with a proc aura on another effect on the same spell)
Port From (https://github.com/TrinityCore/TrinityCore/commit/36ecc2d8cb8d913a6ac0936031de47b18c69a90d)
2023-07-18 07:37:11 -04:00
hondacrx 445733704e Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/29eac37a16df2ec14cba89f4d6e28f54ca1a4e25)
2023-07-01 09:24:55 -04:00
hondacrx 219b1e2b36 Core/Auras: Fixed accessing invalid iterators in Unit::CalcHealAbsorb
Port From (https://github.com/TrinityCore/TrinityCore/commit/63b2188e75704ef4220d1e169d07179d07e898c7)
2023-07-01 08:48:01 -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 cf5f53e33f Core/Spells: Implement SPELL_ATTR10_RESET_COOLDOWN_UPON_ENDING_AN_ENCOUNTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4aa4d4b5371af440b9fce2bb0866b90a50750f6)
2023-05-30 08:18:38 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx d55f4f836f Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1325e0c4b279d590acbcbb05d6abdf5fdb66a882)
2023-05-23 05:44:42 -04:00
hondacrx 35961a0121 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697)
2023-05-21 18:38:55 -04:00
hondacrx 53623d94dc Core/Auras: Implement SpellAuraInterruptFlags2::Falling
Port From (https://github.com/TrinityCore/TrinityCore/commit/145bb98ecbc4bb265d5c33cc2bb8358a639d5e98)
2023-05-21 17:22:54 -04:00
hondacrx 0cfe1dc508 Core/Auras: Implement SpellAuraInterruptFlags2::WarModeLeave
Port From (https://github.com/TrinityCore/TrinityCore/commit/2b231c9866db62eaab2a5806f671c7dcf22073a5)
2023-05-21 17:21:22 -04:00
hondacrx f670656393 Core/Auras: Implement SpellAuraInterruptFlags2::EndOfEncounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/998ee363c5e41141da158ea39c0dae0814967fba)
2023-05-21 17:19:33 -04:00
hondacrx fd377ebc0d Core/Auras: Implement SpellAuraInterruptFlags2::StartOfEncounter
Port From (https://github.com/TrinityCore/TrinityCore/commit/15135ce16f76d1635fa5606c99822b60bced94bf)
2023-05-21 17:17:00 -04:00
hondacrx 1ce3844697 Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/513788e884f15ca0d9dd3c0897e6fea87f0a1fff)
2023-05-21 17:11:13 -04:00
hondacrx 12c53d6182 Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
Port From (https://github.com/TrinityCore/TrinityCore/commit/920b9a99bdd2d7eb9b7a787c4872a38b862f75c8)
2023-05-21 17:09:28 -04:00
hondacrx 1ba4f55eec Core/Units: Calculate HoverHeight from model data
Port From (https://github.com/TrinityCore/TrinityCore/commit/d6133c78de9e2272765c2cfda82c440663acd254)
2023-04-25 17:23:24 -04:00
hondacrx bd2eb5baab Core/Creature: Implemented sparring with max health percent thresholds
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048)
2023-04-25 08:38:55 -04:00
hondacrx b7a8a88a76 Core/Auras: Fixed iterator invalidation crash with procs using SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/15451ce699540c7d175f4a24d257778dedb0e3d7)
2023-04-21 18:32:54 -04:00
hondacrx 19c484dc5a Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2)
2023-04-21 18:21:08 -04:00
hondacrx d3297b96a2 Core/Skinning: Update correct skinning skill according to creature expansion
Port From (https://github.com/TrinityCore/TrinityCore/commit/229a7ac79d38b9db76387f92e846c04c151ad3aa)
2023-04-05 08:22:24 -04:00
hondacrx 1cf184978e Core/Creatures: Improved movement interruption while casting spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc57c9dad59a2eded2f7ea0471aa79c89b390559)
2023-04-05 08:03:07 -04:00
hondacrx fe6135ed71 Core/Units: Added functions to modify WorldEffects updatefield
Port From (https://github.com/TrinityCore/TrinityCore/commit/51569217ad88a4d19d89a6083b56f228554ac90a)
2023-03-23 07:11:56 -04:00
hondacrx 4571d4666b Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/512f5138d44408882cb93ae4cff7cc8d1b627503)
2023-03-23 07:10:08 -04:00
hondacrx d0b7bcb2fe Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032)
2023-03-14 04:34:51 -04:00
hondacrx 40898d4b9f Core/Creatures: Allow toggling creature default root state
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb93afffc08a45354e1b896adf38d1f8e8b352ac)
2023-03-14 04:30:36 -04:00
hondacrx 1d5d0a32e6 Core/Creatures: Allow scripts to change creature loot id (must be done before death)
Port From (https://github.com/TrinityCore/TrinityCore/commit/155cf58236f7adbd169f57e0578c96fd7ce2173f)
2023-03-14 04:27:22 -04:00
hondacrx 40009792c4 Core/Creatures: Allow disabling loot for creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf799c0f696ec88be66795d4ad0a20fa5ce5e92)
2023-03-14 04:17:18 -04:00
hondacrx bc12537c67 Core/Movement: Refactor TimedFleeingMovementGenerator to use TimeSpan
Port From (https://github.com/TrinityCore/TrinityCore/commit/4300c3edd3b2fe4c0f5a01807271e663b6750ebb)
2023-03-14 02:12:21 -04:00
hondacrx 89a3cb971a Core/Creatures: Implemented unkillable flag (prevent health from going below 1)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ea438ebdca93874776e02e9985db1da0a53f2fb)
2023-03-14 02:09:28 -04:00
hondacrx cd42942a7c Core/Units: Added Unit::SetFacingToPoint function
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdc09d29bc8fcb85d97846027ddf589478e21139)
2023-03-13 03:24:45 -04:00
hondacrx 138d0d2ed4 Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8bb1739e99c503fc72b3a4a9ecede214c88396f)
2023-03-13 02:45:19 -04:00
hondacrx 17b7e6837f Core/Misc: Add launchDelay argument to Unit::SendPlaySpellVisual overload accepting Unit* argument
Port From (https://github.com/TrinityCore/TrinityCore/commit/982b60f39c526e217de3a3f24b740af41c4ede50)
2023-03-13 02:39:10 -04:00
hondacrx cd249ac67a Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048)
2023-03-13 02:36:50 -04:00
hondacrx 1e8a62fb26 Partial revert of "Core/Spells: Moved SpellVisual functions from Unit to WorldObject" - client only accepts unit guids in these packets (orphan visuals not reverted)
Port From (https://github.com/TrinityCore/TrinityCore/commit/cbdb25595899aeb3d93e8d468a05bf8ef1f8e124)
2023-03-13 02:29:30 -04:00
hondacrx f51dbf95ec Fixes creatures falling under map when chasing a player though water. 2023-02-21 19:18:28 -05:00
hondacrx a831dff55d Core/Units: Pass real damage taken after level scaling calculations to DamageDone and DamageTaken script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f088c2e04cba1f1870c6d9da1b16e9593430c54)
2023-02-19 02:10:23 -05:00
hondacrx fc2b562b9e Core/Auras: Remove channeled auras when caster and target are not on the same map
Port From (https://github.com/TrinityCore/TrinityCore/commit/b842f2be5509d804363183e0445ed71cb5eb221b)
2023-02-12 02:08:59 -05:00
hondacrx 1ed5fadf4d Core/Objects: Move EventProcessor update to WorldObject::Update
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6965b2c30eb3317228b328a0c1da71235d7c257)
2023-02-12 01:23:08 -05:00
hondacrx c2ab67c6d2 Core/Auras: Fully remove auras that had all of their effect suppressed with immunity
Port From (https://github.com/TrinityCore/TrinityCore/commit/8568b08350b954afb6603bf2c64897493230f2b1)
2023-01-24 23:10:42 -05:00
hondacrx 06c6c8afc7 Core/Auras: Fixed possible iterator invalidation crashes caused by calling UpdateTargetMap inside loops iterating m_appliedAuras
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1b2b86427ce6be2205db0643ad00f546fc076e4)
2023-01-24 23:08:20 -05:00
hondacrx 6b84616957 Core/Objects: Call base class Update function for Unit and GameObject (currently does nothing)
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e85598d9987d674fb4d84728f776ebb85caf6b7)
2023-01-23 00:27:30 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 23ff218f0e Core/Units: Fixed crash happening whenall tappers of a creature are logged out when it dies inside a dungeon
Port From (https://github.com/TrinityCore/TrinityCore/commit/6cac60782f0bc67c0f4b70b41cac36357fbd2531)
2023-01-18 17:01:40 -05:00
hondacrx cf0045b06a Core/Units: Removed duplicate call to WorldObject::UpdatePositionData
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f4a0e8c522ffdc15ee579461d3bcade2792d683)
2023-01-11 16:45:44 -05:00
hondacrx ae33646702 Core/Auras: Fixed iterator invalidation crash in Unit::CalcHealAbsorb
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5bd2ceda4834fdf88351016b66f1e23b7888de3)
2023-01-05 17:30:05 -05:00
hondacrx 7d6b86fb2e Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/dbed48becc30e10b4b17d95f595056d08a987bad)
2023-01-05 17:26:59 -05:00