Commit Graph

239 Commits

Author SHA1 Message Date
hondacrx 2c1cc804c3 Core/Spells: cleaned up and improved spell focusing behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/c295cb9814f4c2a1878aa047cefe0cfbc7958f93)
2022-05-04 10:02:53 -04:00
hondacrx 42046011e7 Core/Movement: Corrected Animation Tier handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee620856ad2918ae7ce91a37a980d9f2129a074a)
2022-05-03 13:29:52 -04:00
hondacrx 510a1a0208 Core/Objects: Add overridable function UpdateObjectVisibilityOnDestroy
Port From (https://github.com/TrinityCore/TrinityCore/commit/472384e75781ce362af9721fc16928da9eea82dd)
2022-03-09 12:26:16 -05:00
hondacrx 6b0fb6766e Misc fixes 2022-03-04 17:23:44 -05:00
hondacrx 0b38096d10 Core/Units: add new functionality for units to block or enable combat interactions
Port From (https://github.com/TrinityCore/TrinityCore/commit/2819951dce545438724719836e3a13d3039b8690)
2022-03-03 13:26:46 -05:00
hondacrx e839f2234c Misc cleanups 2022-03-02 17:34:33 -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 64b23b9de9 Core/Units: Named unit flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4952db4640ee3ec6a7df8545b5c582202f36405)
2022-02-28 13:16:41 -05:00
hondacrx b538ed9a24 Core/Creature: Add null check for charmed creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ff778a7581b47458d257e867931de0f3b46589e4)
2022-02-28 13:10:02 -05:00
hondacrx 5bf68e4370 Core/Quests: Remove RewardMoney from quest_template as it is not a static value and depends on receiving player
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c5f57d7129bb1e2adfd2d20779c984473421238)
2022-02-27 14:57:19 -05:00
hondacrx 99b4a7ea8b Misc fixes 2022-02-23 16:28:45 -05:00
hondacrx bc52ff717a Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
Port From (https://github.com/TrinityCore/TrinityCore/commit/294657f7dd4d2db1ca6dcf66f0b0895c6ba92949)
2022-02-22 19:59:03 -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 a911dd50f6 Core/Movement: followup
Port From (https://github.com/TrinityCore/TrinityCore/commit/875da437806b8956324078bc9abd0a495345d2e5)
2022-02-22 13:26:27 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx da1405d365 Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4f56c105fabf33398d332c09c8e331bc4025192)
2022-02-18 13:40:02 -05:00
hondacrx 266284247c Core/Movement: Formation Rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/924116f0461f5e1e03a026129b81dfe23faa20e4)
2022-02-17 16:18:54 -05:00
hondacrx 7531735669 Core/Phasing: Implemented db spawns in personal phases
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fabe5a3aacf7797f03d074ab8434f445be64955)
2022-01-27 14:01:49 -05:00
hondacrx 63fa8636f4 [WIP] Core/AI: Pets musn't attack civilian NPC in aggressive mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e932109996a0ce2117f3d5268064ee882267e84)
2022-01-07 09:36:23 -05:00
hondacrx c6186f17bd Core/Creature: Use proper name for wander distance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/72093e98e1bdbd3b83d8030d1cb50306bb04b028)
2022-01-07 09:33:54 -05:00
hondacrx d2ba807c20 Core/Misc: Some refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/94a79bac7a06aa0f931e9d651928de7eea0a8b5c)
2022-01-06 20:07:26 -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 32375df62e Misc fixes 2022-01-06 00:19:12 -05:00
hondacrx 72fa0cd450 Core/Creature: Clear creature focus after an evade
Port From (https://github.com/TrinityCore/TrinityCore/commit/a7cf209428fae5b025a0dcdc6b00bcef12175ed6)
2022-01-05 23:55:47 -05:00
hondacrx 654c9743e3 Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d095d4afe95125bba64312025528a2c4aab157e0)
2022-01-05 23:51:18 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 1a35b4c6f7 Core/Pet: Fix guardians low damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e1ed95a63b12d7eb94bfb06b9e2569c4f15e5d2)
2022-01-04 20:51:40 -05:00
hondacrx 5f25f86b81 Core/Creature: Fix another pet assert
Port From (https://github.com/TrinityCore/TrinityCore/commit/18d1f0c964a17cc79732eb20958b9c594ebd3628)
2022-01-04 19:58:28 -05:00
hondacrx 673d2fff40 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f3904f8fd4e7536d1e7ba8e701f4774519fd867)
2022-01-04 18:46:40 -05:00
hondacrx 021f342502 Entities/Creature: Fix an edge case assertion failure with pets dying in specific situations while casting spells.
Port From (https://github.com/TrinityCore/TrinityCore/commit/97bf9278a8d347badc85d7bcefdba0c1afb275e3)
2022-01-04 17:56:58 -05:00
hondacrx 8c8e78bcbf Core/Creature: Fix an issue that sometimes prevented spellcast focus targets from being reacquired.
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b588694caed2ccab36241abb61e2c93ce8b5bb1)
2022-01-04 17:55:02 -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 92c90bf777 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c38a1c529e634b068a67b3e7475ddcf599086b)
2022-01-02 19:49:21 -05:00
hondacrx 45fba1e81a Core/Creature: add a spell-focus-check method.
Port From (https://github.com/TrinityCore/TrinityCore/commit/44e9572a77061a8ddf04940f8e76f6585ad4ca05)
2022-01-02 19:31:22 -05:00
hondacrx 6a42e70544 Core/Unit: rename more things
Port From (https://github.com/TrinityCore/TrinityCore/commit/4db13853f7707c168c1297e662f9e6085d2f01be)
2022-01-02 19:28:27 -05:00
hondacrx a2a2eb3581 Core/Unit: rename more methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/a58881d6dac1975b77abf361c5dc5ffcd755d2be)
2022-01-02 19:26:31 -05:00
hondacrx 6ad0b6f159 Core/Unit: rename IsFocusing method
Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
2022-01-02 19:25:23 -05:00
hondacrx e70e2d0088 Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3db58c4d96c446b736b84d4954f8fd9c9e309e33)
2022-01-02 19:15:03 -05:00
hondacrx 4c0eb3f2e2 Scripts/FollowerAI: Some cleanup:
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3eb07889f72955879c8a0e0881b51befb60067)
2022-01-02 13:06:01 -05:00
hondacrx f954046c4c Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
2022-01-02 12:32:11 -05:00
hondacrx 2842cc9c91 Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d83796f7b2111c5dcf8546bdd84eccd232ae3)
2022-01-01 17:05:29 -05:00
hondacrx acda66329b Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
Port From (https://github.com/TrinityCore/TrinityCore/commit/537b425377c065e5a99486387247349bde0a37ea)
2022-01-01 15:50:59 -05:00
hondacrx 55c298be9f Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
Port From (https://github.com/TrinityCore/TrinityCore/commit/eee950cdd7bcbe9443a53ea5c4cce35444a503f7)
2021-12-27 18:09:58 -05:00
hondacrx 9b2d1e67b6 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5e58cef694d3db65f0a27b93099ae4e517685a4)
2021-12-27 17:39:42 -05:00
hondacrx 828fafbcc8 Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2532de6acb7d73957a8fca44e7fc26160f47cc47)
2021-12-27 16:29:29 -05:00
hondacrx a693bed211 Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2225cb120100da741814dec7515b191cc68f07be)
2021-12-27 15:51:24 -05:00
hondacrx c154984847 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Port From (https://github.com/TrinityCore/TrinityCore/commit/004602f3e4ece8ee601c09d869f1531518313c94)
2021-12-27 15:37:55 -05:00
hondacrx 6396bbca38 Core/Creature: Reworked creature aggro radius calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fc20584bc14ca0edb007b3d0b6861d19d6d33d4)
2021-12-27 15:25:53 -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