Commit Graph

1772 Commits

Author SHA1 Message Date
hondacrx 8510f01035 Misc fixes 2021-12-22 20:23:48 -05:00
hondacrx c38509222c Core/Spell: Jump Speed Calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/f15bcebdbe42acb72d2d9165cd8091e9a61f5909)
2021-12-22 20:22:58 -05:00
hondacrx 79e33b6a4a Core/Misc: don't allow FindNearestCreature() and FindNearestGameObject() searches to return the entity that called them.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bcfc6680c899ac4e94d71c7b864379ce69f9654)
2021-12-22 20:16:49 -05:00
hondacrx 6a295f7fe4 Core/SAI: add cooldownMin (event_param2) and cooldownMax (event_param3) to SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7745e3f94389cf22cf9be04b411e94936306a6f6)
2021-12-22 20:13:01 -05:00
hondacrx 2cbed03883 Core/SAI: don't allow to start a new SAI actionlist while the entity is already running one.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e846d4c3ef04d75839325409df109156d8ccced0)
2021-12-22 20:09:35 -05:00
hondacrx 47ddf51999 Core/RDF: fix counting issue with the achievement Looking for More (and similar)
Port From (https://github.com/TrinityCore/TrinityCore/commit/01be9f44af0687f03c34f0221dc285ec22803969)
2021-12-17 19:46:25 -05:00
hondacrx 3bae896803 Core/Loot: fix some other cases where a creature should not be able to set focus.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3278f87789b8357ce888ab61026c0ca6daa8e6cb)
2021-12-17 19:41:25 -05:00
hondacrx fc95164995 Core/Unit: Ignore On Transport spline movements if the Unit isn't on a transport anymore
Port From (https://github.com/TrinityCore/TrinityCore/commit/134fa225108381969b4a7dc22b4a3076a79c21f6)
2021-12-17 19:39:58 -05:00
hondacrx aeb266b090 Core/Misc: Change some logs from INFO to ERROR when loading invalid creature template resistances and spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c1f707ca580fe60134092dba4e690def55762a7)
2021-12-17 19:38:23 -05:00
hondacrx 85f24d047e Core/Player: Fix teleporting FlyPath dismounting the player
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d7ec53330bda17704cf46a88785f40b95ce3bfb)
2021-12-17 19:37:23 -05:00
hondacrx 8f24c82944 Core/Loot: make Loot::AddItem() honor LootItem::AllowedForPlayer() so that items that cannot be looted don't prevent skinning.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef4d4e3d98eeb1edb2e0eb5dc92ba40aea9996f7)
2021-12-17 19:36:36 -05:00
hondacrx 1bd33fce8e Core/Loot: implement automatic pass in group loot for items that cannot be looted.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c8f94a14f51e5ddfd0eb277e2b709da274e654d)
2021-12-17 19:33:22 -05:00
hondacrx b349f922b2 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/59da957165ef7d7529db30f90a30dc401d682052)
2021-12-17 19:26:43 -05:00
hondacrx 112803c149 Core/Creature: prevent dead creatures from setting a focus target, so they won't turn when hit by certain spells.
Port From (https://github.com/TrinityCore/TrinityCore/commit/264373bb656352a0cdf9b18bad4f3929c7376a9c)
2021-12-17 19:17:29 -05:00
hondacrx b367f70d6c Core/CreatureTemplate: Outsourced resistances and spells into creature
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a8d15d63bb1178457df25f37a29e020e5183631)
2021-12-17 19:16:52 -05:00
hondacrx 05e3cfc118 Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc141e9bad5dc06a56179f820670bd6944651804)
2021-12-17 19:04:23 -05:00
hondacrx 1021eadd36 Core/Loot: fix some issues with master loot and don't allow players to see soulbound recipes that they already learned in the loot window.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b346bcf8d4c4b39685a46ef09f389c8a317b566)
2021-12-17 18:44:59 -05:00
hondacrx 853b589348 game event respawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e7727d575f2c22dddc6327d89e0cfecb9b9748e)
2021-12-17 17:55:34 -05:00
hondacrx d5aa3ed8ab Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b7bc82641e0cb7cf8add1089d8dde0aad93edbe)
2021-12-17 17:52:44 -05:00
hondacrx 613fa25096 Core/Player: allow AutoStoreLoot to specify if the looted item should be shown as if created by the player.
Port From (https://github.com/TrinityCore/TrinityCore/commit/81a8366ce5659f3556a0b910a0437256d95b62f9)
2021-12-17 17:47:14 -05:00
hondacrx b84f88d98f Core/Player: Remove all Motion Masters when teleporting
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab3edebb5d824f7cb0d030daba168e2bb7900511)
2021-12-17 17:44:45 -05:00
hondacrx f1bfc12b9d Core/Logs: Allow to log startup logs into Database appender
Port From (https://github.com/TrinityCore/TrinityCore/commit/6303c7bcb1f1078fb036f10c97cab268f8261a4e)
2021-12-17 17:42:36 -05:00
hondacrx 5caa50ad4b Core/Logging: Split logs for unknown and zero triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd4da6ce5bc3caf3d176e40303782fd20a98ec1e)
2021-12-17 17:39:33 -05:00
hondacrx 8858e58f46 Core/SAI: add action_param3 to SMART_ACTION_REMOVEAURASFROMSPELL to allow it to remove only auras from spells that were cast by the entity itself.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d037c6b08634c5d0d4cc0462ae28e15baf8498bb)
2021-12-17 17:15:30 -05:00
hondacrx da41af6279 Core/BattlePets: Improvements when enabling battle pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a8f79ad5ad5afbf6a6aedc9ad46c3b774877b31)
2021-12-16 13:10:24 -05:00
hondacrx f7023cb290 Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/747da1f804a05462fb0d542a9570f27a549688dc)
2021-12-16 13:00:53 -05:00
hondacrx 599eb14a16 Core/Map: Don't log errors about Area ID 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/efbb6f5b7d66c31671aed47881825b6baa6f5019)
2021-12-16 12:59:09 -05:00
hondacrx 4bda3c1b78 Core/Groups: do not allow lfg groups to change the loot mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/0feebcdf5bafd57068d448d244e65e6cb95f6a6f)
2021-12-16 12:58:24 -05:00
hondacrx 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d865f7536ae6feda6fba77785e4548f95ca5d03)
2021-12-16 12:56:20 -05:00
hondacrx 40f6c9a9fd Core/Script: add script hook to allow overriding of a vehicle passenger's exit position
Port From (https://github.com/TrinityCore/TrinityCore/commit/1edd93bc0c443cdabc104af9f440e07b6d473a08)
2021-12-16 12:47:54 -05:00
hondacrx 589d845093 Core/Movement: Fix assertion triggered in SplineChainMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e28ecd22ea5ba8a7a2d0b08217aa68010b1cfc4)
2021-12-16 12:43:45 -05:00
hondacrx a39fdef7c3 Core/Players: out of range group updates will now get sent every 5 seconds instead of as soon as they are available to reflect retail behaivior.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d433b1bc89bf26585688d8041da500ff8dae364)
2021-12-16 12:42:19 -05:00
hondacrx 85359b129f Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified
Port From (https://github.com/TrinityCore/TrinityCore/commit/09fe78dd59095fa31b83a846d5fcbb53dd3afb1b)
2021-12-16 12:38:00 -05:00
hondacrx cf3bc71a74 Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9aed3e442374db74ebc98edc39ba4ee46acf123)
2021-12-16 12:36:53 -05:00
hondacrx 24b0f058a9 Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces
Port From (https://github.com/TrinityCore/TrinityCore/commit/df2d0f3670dcaa06ec0289631fbf2a582a8b69b1)
2021-12-16 12:33:53 -05:00
hondacrx f77b631422 Core/Movement: Defined movement force type enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/e2de5000acba888e2ae3177893f6063340902ffd)
2021-12-10 17:33:33 -05:00
hondacrx eef0e8e875 Misc fixes 2021-12-07 20:57:02 -05:00
hondacrx 2a086b6d3c Core/Misc: Add helper table phase_name and improve .npc info and .gps
Port From (https://github.com/TrinityCore/TrinityCore/commit/833e17998571a57ada61f5ca92341dc242114458)
2021-12-07 20:56:05 -05:00
hondacrx 753faaeee1 Core/Spells: Fix spells with Health Leech effect, now check damage absorb when calculate Heal
Port From (https://github.com/TrinityCore/TrinityCore/commit/9752ef4d6ea311acb6a60317c270cb5c053f951d)
2021-12-07 20:46:01 -05:00
hondacrx 5081e1aa69 Core/SmartAI: Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVENT_SUMMON_DESPAWNED for GameObject owners
Port From (https://github.com/TrinityCore/TrinityCore/commit/6034992dffbbd511f59e77c13285da282d9c737d)
2021-12-07 20:44:30 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx b7e4c2fd76 Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/54044bda8219e712eaec6148af4db6523386cc0f)
2021-12-07 20:21:31 -05:00
hondacrx e1d1157f87 Core/GameObjects: Validate rotation quaternion at startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/9005bdc684eb37718371f921bd570692375a6c7a)
2021-12-07 20:20:39 -05:00
hondacrx 73b84ca811 Core/PetAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/14712653dd813789bb47165621416e56eac47c8e)
2021-12-07 20:15:06 -05:00
hondacrx d5735d68d3 Core/Handlers: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/476566871879abe51a48833a01cec427dd7c6b8e)
2021-12-07 20:14:31 -05:00
hondacrx 6d332243c4 Core/Movement: implement MotionMasterDelayedAction validator
Port From (https://github.com/TrinityCore/TrinityCore/commit/36a1d00444b35d6f8fbfaabebf835f4ad9c01108)
2021-12-07 18:32:20 -05:00
hondacrx 2fdc3665a4 Core/AI: PetAI method reordering
Port From (https://github.com/TrinityCore/TrinityCore/commit/86b4aa01bb31067e788b6ccffccd04a9901d779b)
2021-12-07 18:28:52 -05:00
hondacrx 1f0896fb20 Core/PetAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/97dddac75adab46d55d3d698e36c4403a93b4372)
2021-12-07 18:26:50 -05:00
hondacrx c3dc452024 Core/PlayerAI: apply some movement related corrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/6814b4d32b283c3a1b676d2f13953894a9f1ff7a)
2021-12-07 18:23:50 -05:00
hondacrx 96a207b00e Core/Misc: remove incorrect ClearUnitState calls related to movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c511fa28037094a591d2ecc34b68c7e361f0d454)
2021-12-07 17:56:38 -05:00