Commit Graph
100 Commits
Author SHA1 Message Date
Ovahlord 60a2215669 Scripts/HoL: modernized instance script
(cherry picked from commit 7a73b8412a4232eccb1986ec220ec9031b1e0bff)
2022-09-30 20:25:05 +02:00
Ovahlord 2556d6d705 Core/Players: assign forbidden skills to a proper position to no longer interfere with legit skills that have been stored as first element.
* This fixes aura-based skills to no longer invalidate legit skills that have been assigned to position 0, breaking them entirely in the process
2022-09-11 10:03:05 +02:00
Ovahlord 377799fd3c Core/Transports: remove an obsolete check that prevented vehicles from updating their passenger positions
Vehicles now share the TransportBase class with regular transports so they both update positions the same way
2022-07-10 01:19:51 +02:00
Ovahlord 919ada8d94 Core/Criteria: Implemented worldstate requirements for criteria updates 2022-06-25 23:17:10 +02:00
Ovah 8501fb572a Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)
(cherry picked from commit 4747515872775553de35cc3267e1ccd5e0076ca4)
2022-06-10 16:50:17 +02:00
Ovah a5889ba3eb Core/Quests: check PreviousQuestID values as well when trying to make quest groups available to players (#26769)
* Core/Quests: check PreviousQuestID values as well when trying to make a quest available to support quest group requirements for another quest group

* checking for previous quests via NextQuestID only works for single followup quests. However, if we want to make multiple quests available after rewarding all quests of an exclusive group we have to consider PreviousQuestID values as well as every single quest of the next quest group has to check the rewarded exclusive group

* only check for previous quests that must be rewarded instead of being active

(cherry picked from commit a0aa9730e25197f8be2611f3b7800bdb979cad35)
2022-03-13 19:31:14 +01:00
Ovah 21177487ea Core/Spawns: prevent spawn groups from bypassing spawnMask restrictions (#26711)
* spawn groups have been able to spawn for all difficulties even when they should be restricted to a single difficulty only

(cherry picked from commit 48f63eda9029d4fe16b7a350059c8e26ba8484ce)
2022-03-11 19:28:56 +01:00
Ovahlord 209b90cfdd Core/DBLayer: escape MySQL keywords in page_text, page_text_locale, broadcast_text and broadcast_text_locale select queries
(cherry picked from commit d4f71131f032ecc68545acd838de5a3ccfadc331)

(cherry picked from commit edcaac6c959e944dc6d6dc224666b832521412b4)
2022-03-09 15:30:23 +01:00
Ovah 60119ba850 Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities in spell_start packet (#26183)
* Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities when sending SMSG_SPELL_START packets.

According to sniff analysis Blizzard does not send all mechanic immunities of creatures but instead only the ones that are responsible for actual interrupts which are MECHANIC_INTERRUPT  and MECHANIC_SILENCE. Additionally we no longer send immunities for instant cast spells as sniffs confirm that they are not sent for spells without a cast time.

(cherry picked from commit 6215cb4e0014fbe9df35a8c6b013e7801bd8ffec)
2022-03-08 00:31:02 +01:00
Ovah dde5a3e326 Core/SAI: implement new smart actions to change AI Animkits and to enable/disable hover movement (#25623)
SMART_ACTION_SET_HOVER (parameter1: enable/disable)

* added SMART_ACTION_SET_AI_ANIM_KIT as immediately deprecated

(cherry picked from commit b7ba856b63da4fa1b0f916de357ff85624b8b831)
2022-03-05 16:46:42 +01:00
Ovah 203dfec2a1 Core/Maps: add new FLAG_ALLIANCE_ONLY and FLAG_HORDE_ONLY for instance spawn groups (PR #25656)
(cherry picked from commit 4abbeb2a60370157bc9a72e5c566c1112ff904e9)
2022-03-01 21:46:43 +01:00
Ovah d1594c7295 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished (#25522)
* added support for calling the hook when completing a channeled spell as well

(cherry picked from commit 77aa058504e1ee99b560176d70bcf452c7e3d4f7)
2022-02-28 14:21:08 +01:00
Ovah ac6e242bff Core/Movement: fix units falling through the ground when hover mode is disengaged (PR #25518)
(cherry picked from commit e811b9cdc2582cb1504e85b43d80696031fe2634)
2022-02-28 14:08:36 +01:00
Ovah eeac4a12f2 Core/Movement: add optional velocity argument for MoveLand and MoveTakeoff (PR #25516)
(cherry picked from commit 31abdc6ecfd84ef019880ffb531bf0298f921e77)
2022-02-28 14:08:22 +01:00
Ovah cec71e8301 Core/Quests: Do not tell the client to request questgiver details for the next quest in chain on quest reward if the player cannot accept it yet (#27816)
This fixes an issue that was causing the gossip UI to get stuck when the client tried to request questgiver details that it wasnt allowed to retrieve yet
2022-02-26 23:18:34 +01:00
Ovah d7736ef732 Scripts/Antorus: updated Garothi Worldbreaker initialization for dynamic spawn handling (#27817) 2022-02-21 20:03:53 +01:00
Ovah f70161dcc5 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
(cherry picked from commit 0d152e932cdd986f62ae22bd9fc40569892a2453)
2022-02-06 00:36:00 +01:00
Ovah c295cb9814 Core/Spells: cleaned up and improved spell focusing behavior (PR #25440)
(cherry picked from commit 39a436bd658790d39d3cfa64e18f49544475dfe3)
2022-02-06 00:29:15 +01:00
Ovahlord ebdb6d80bb DB/Items: corrected proc flag and cooldown for The Black Heart trinket
(cherry picked from commit 5810699ee0341573cee9323bbf282edf56813959)
2022-02-05 13:44:49 +01:00
Ovahlord 175fb7056b Core/AI: SortByDistance will now sort the referenced list instead of a copy of it. This fixes MinDistance and MaxDistance target selection
(cherry picked from commit c08180d9bc7cb203746650a9b2fc775efbeb2540)
2022-02-04 13:05:36 +01:00
Ovah 2819951dce Core/Units: add new functionality for units to block or enable combat interactions (#25168)
* Core/Units: add new functionality for units to block or enable combat entirely via helper to reflect what CREATURE_DIFFICULTYFLAGS_IGNORE_COMBAT and client AI functions imply

* yeah...

* Nuke Creature::IsCombatDisallowed helper as its unused by now

* no combat extra flag may now be changed on transforms if the transformed entry does not have the flag

(cherry picked from commit 764f22fc9157ad184baa38995ee4e2d821299935)
2022-01-26 18:41:41 +01:00
Ovahlord 785b6f294f Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans
(cherry picked from commit 9bf57958e36721fa301f62c4a5c6bd88c58edc28)
2022-01-26 14:37:31 +01:00
Ovah 9c38dc2367 Core/World: added startup log outputs for query cache initialization for detailed information.
* the console will now throw a log when the feature is disabled
* additionally the console will now print how long it took to initialize

(cherry picked from commit 210f552ac56979430f1349006c1945b29883a2bc)
2022-01-24 13:15:42 +01:00
Ovah c7cf9f8c6c Core/Spells: Expose corpseTarget to spell scripts with SpellScript::GetHitCorpse() (#24981)
Closes #24945

(cherry picked from commit 94a4404e7e0667eab5d79c01444855966c41ad56)
2022-01-22 00:34:38 +01:00
Ovah 508ea9e3c7 Scripts/ICC: fixed a crash in the Lich King encounter caused by invalid corpse targets
(cherry picked from commit 232628f0a63480d07d28dcf12a7f6445ca07ab43)
2022-01-22 00:33:12 +01:00
Ovahlord 7a5529eb58 Core/Events: refactored battleground holiday assignments.
Instead of going with shitty bitmasks we now accept plain battleground ids
 instead

(cherry picked from commit 8a82403400ef49415e14530f4b55d55ef38bc74e)
2022-01-21 22:09:06 +01:00
Ovah 97fe56962a Scripts/Baradin Hold: fixed a crash in Occuthar's Focused Fire target selection and improved target filter scripts (#27604) 2022-01-12 22:23:58 +01:00
Ovahlord ab46d25d0c Core/Players: do not update position data on character creation
Retail does not have a zone id for newly created character until their first login so we do the same as well. This will drastically improve performance on character creations as we no longer unnecessarily load grids and map data.

(cherry picked from commit c50bb00ac7481c1dc09ed0dc7f72ef8e6ea487f5)
2022-01-06 22:32:41 +01:00
Ovahlord 38be5e361e Core/SAI: implement SMART_ACTION_ATTACK_STOP
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction

(cherry picked from commit 152ea6011694518017a47dc23fdbb7175bfa5481)
2022-01-06 21:39:37 +01:00
Ovah 294657f7dd Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
- manually set flight states via auras and scripts will no longer be ignored
- restored movement template consideration when generating pathings
- renamed IsLevitating to IsGravityDisabled to reflect the referenced movement flag's name

(cherry picked from commit 43ef610fe059c3da4cc1ad2036f83cfa67ce0fee)
2022-01-06 19:46:41 +01:00
Ovahlord 0ff1dd577e DB/Creatures: corrected several movement template flight values for creatures all accross Northrend. No more raining Gargoyles, Frost Wyrms, Birds and other flying things
(cherry picked from commit 8a9f80909387615fb7e22a0f8a042c3ad7a10cfc)
2022-01-04 15:33:04 +01:00
Ovahlord 0c15b2ac7c Core/Objects: fixed destination calculation for destination based spells casted by flying units
* Additionally he PathGenerator will now check for realtime movement flags instead of creature based template data only so scripted flying movement and players will now correctly get their path calculated

(cherry picked from commit fdcb7388a64bf61a691535933a9fbae0504b80cc)
2022-01-04 15:33:04 +01:00
Ovahlord b8e1de0f92 Core/Objects: use the static vmap check in MovePositionToFirstCollision for all path results to avoid falling below wmo surfaces when the mmap path returns unreliable data
(cherry picked from commit a548d9f9b021a54cfc9013b7e104ccf524e88358)
2022-01-01 23:49:31 +01:00
Ovah 26e7da1622 Core/Objects: further improvements for MovePositionToFirstCollision (#24523)
* Core/Objects: further improvements for MovePositionToFirstCollision

* the PathGenerator will now normalize incomplete destinations as well
* normalize destination positions before launching detour raycasts to get better direction data
* exclude unwanted pathfinding results from further use to avoid unintended behaivior

* Core/PathFinding: Split PATHFIND_FARFROMPOLY into PATHFIND_FARFROMPOLY_START and PATHFIND_FARFROMPOLY_END for start and end position

Handle PATHFIND_FARFROMPOLY_END as valid in MovePositionToFirstCollision

Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit 6485422c6127262855b3c90183388e29dc251de5)
2022-01-01 23:30:48 +01:00
Ovahlord b8805f4389 Core/Objects: optimize and improve MovePositionToFirstCollision results
* removed redundant static LOS checks as they are covered by the mmap raycast prior to the check
* removed unnecessary VMap height lookups to determine rapid falloffs as they are covered by the mmap raycast as well

(cherry picked from commit cf849df50af0e930b08c0fa3cd1bb4426be9c69a)
2022-01-01 23:19:31 +01:00
Ovahlord f4f56c105f Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them
(cherry picked from commit 1610337e67ed3f2fc8bc2ab7b3e3f2bd1b7b1033)
2022-01-01 21:47:30 +01:00
Ovah a6a6a15973 Core/AI: Implemented OnSpellCastInterrupt and OnSuccessfulSpellCast hooks
Ported from: 020825902c and 1aa42e97a8

(cherry picked from commit f1e4ee21f8da41c71f4cbafaa85e89c6275c1db2)
2022-01-01 20:17:45 +01:00
Ovah a3d28efcfa Core/Movement: various improvements for creature knockbacks
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data
* calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all)

(cherry picked from commit cfd63c350f5b01fd699903b17162b2f5167b1386)
2022-01-01 19:17:05 +01:00
Ovah d18d2b84f2 Core/Objects: cache current liquid status of objects when updating position data and use it to replace unnecessary vmap lookups (#24399)
* dropped unneeded IsUnderwater override for players since the default position data update considers collision height already so we don't have to rely on that tempfix anymore. This actually fixes breathing bars showing up depending on your characters size (gnomes get their breathing bar earlier, taurens later etc)

(cherry picked from commit bea850fb73c6c3b3cc4e51bd3a42d178947882a5)
2022-01-01 12:42:17 +01:00
Ovah fb7a60d49d Core/Spells: fixed a possible client crash when casting pull towards dest spells with misc value 0 (#24365)
* This case is not happening in 335 yet as it barely has any spell with pull towardst dest effects. However, this is very well present in 4.x and beyond so let's add it for future cherrypicks

(cherry picked from commit 61aec37b4ffd5fbd0bdde4de1cf7313d578651a7)
2021-12-31 00:55:12 +01:00
Ovah 8f4c6ebb49 Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates (#24190)
* Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates

* pacified units should only have their melee attacks blocked as counterpart to silence mechanics

* Core/Spells: removed unnecessary attack stop call from pacify aura effect handler

(cherry picked from commit 6cbfda2fcecdda980b60b359018e520f1daeaf3a)
2021-12-22 14:47:20 +01:00
Ovah a91be4995b Core/Vehicles: implement vehicle seat addon table to specify seat ori… (#24112)
* Core/Vehicles: implement vehicle seat addon table to specify seat orientation offsets and exit positions in form of offsets or absolute positions
* converted Traveler's Tundra Mammoth to seat addon table data

* first follow batch

* whoopsie

* Core/Vehicles: go from local copies to pointers

* Update and rename 2020_99_99_99_world.sql to 2020_02_08_01_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 98d6c501d7c1a7a632c6ff8b1d46c7d0d4ae5b37)
2021-12-21 15:32:49 +01:00
Ovah 5c258c1bbd Core/Scripting: fixed build. Re-enable ModifyVehiclePassengerExitPos for CreatureScript to allow scripted creatures that already have an AI to benefit from its functionality as well
(cherry picked from commit f0485cea394a84e93ebacc24f3535d5eb14a4053)
2021-12-20 23:56:45 +01:00
Ovah 64fc549be8 Core/AI: call ModifyVehiclePassengerExitPos for CreatureScripts since the hook is available for that class as well
(cherry picked from commit ebf116e6a3381835fd2af885bd2721233485b684)
2021-12-20 23:56:31 +01:00
Ovah cdeb752941 Core/Movement: improved RandomMovementGenerator wait handling to get closer to retail behaivior (#24093)
* according to observations Blizzard is letting creatures do 2 up to 10 spline movements right after each other before waiting for a couple seconds

(cherry picked from commit 78c1216bcf60b9e376d9afd9484ff478bda641b1)
2021-12-20 23:47:37 +01:00
Ovahlord 606597f4f8 Core/Movement: reset position update interrupt info after the interrupt checks have been executed
* for discussion see: https://github.com/TrinityCore/TrinityCore/commit/02daf1bf3afc570c26e8e9f431866fcb3720174a#r36916229

(cherry picked from commit 01584cb0b9fe623fdf5694b985a53aa45f9f1d30)
2021-12-20 23:47:37 +01:00
Ovah 43a7091e8a Core/Movement: properly fix aura interrupts during movement (#24068)
We want our movement to be fully updated before even thinking about interrupting anything. The old logic was updating positions, interrupting stuff and afterwards updating movement generators. This way we were ending up with false interrupts.

properly fixes #22908

(cherry picked from commit 02daf1bf3afc570c26e8e9f431866fcb3720174a)
2021-12-20 23:47:23 +01:00
Ovah 04ed6e292c Scripts/ScarletEnclave: reworked Eye of Acherus script (#23953)
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks

(cherry picked from commit 60763fc5e2d7bb32150d8e03bfd0fb3e7cb890f3)
2021-12-19 01:05:59 +01:00
Ovah e42aae1895 Fixed pets repositioning themselves after every cast (#23923)
(cherry picked from commit 4ddf7f59761df525e6ab5ef99175258a1d86101d)
2021-12-19 00:37:22 +01:00
Ovah 14c2a7fb92 Core/Taxis: teleport players to the destination taxi node location instead of their current ground position (#23835)
* Core/Taxis: teleport players to the destination taxi node location instead of straight to their current ground position

* fixed a typo

(cherry picked from commit 7fcb77ecd12c42b8a468e8f932948c99c249a458)
2021-12-18 22:45:49 +01:00
Ovah 0910843538 Core/Movement: fixed taxi pathings getting finalized earlier than intended (#23830)
* Core/Movement: fixed taxi pathings getting finalized earlier than intended

Since we handle the intial starting point of a spline properly now the update logic was still expecting the old handling which resulted in incrementing the current node index earlier than intended

* apply a missing change

(cherry picked from commit c1e3d79a4fb5b7b1a9bca36ecd16b9bb902ced92)
2021-12-18 22:27:20 +01:00
Ovah f4ae34c5c9 Core/Movement: provide an extra spline path vertex for taxi pathings … (#23817)
* Core/Movement: provide an extra spline path vertex for taxi pathings so the first path point wont get lost.

* Update FlightPathMovementGenerator.cpp

(cherry picked from commit cf3277c641bd877b9fa1939da5da7cde1778561b)
2021-12-18 22:21:57 +01:00
Ovah d01a22f58e Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed (#23216)
* Core/Spells: do not allow root auras to bypass the root movement template state when getting removed

* yeah....

(cherry picked from commit d629bad7a19c1f4c4cd9fb4382fadd97b320dc38)
2021-12-17 22:55:50 +01:00
Ovah 879e7094b7 Core/Misc: Add new centralized location for generic predicates (PR #23607)
(cherry picked from commit 6e2ca481e5616f0e0c197f051fb8db6f41db4ed6)
2021-12-16 22:05:20 +01:00
Ovah a24a5e7778 Core/Movement: add a velocity argument for the spline chain meta table (PR #23575)
(cherry picked from commit 3f7b2252a1d7d89d3b5e6a43aa10692c2bc8c457)
2021-12-16 22:03:35 +01:00
Ovahlord 3fc20584bc Core/Creature: Reworked creature aggro radius calculation (#20615)
* Core/Creatures: rewrote creature aggro radius calculation
* Formulas are taken from WoW Wiki

(cherry picked from commit 980047763a685217e712f58b8713d48523d90ccb)
2021-12-14 21:09:11 +01:00
Ovah 0feebcdf5b Core/Groups: do not allow lfg groups to change the loot mode (#23336)
While the UI does not allow changing the loot mode you can still trigger the opcode by running interface scripts which we will now block as well so nobody can ninja-loot anymore.

(cherry picked from commit 49a9cbf20a483da006e45f2ff953583c75c689f0)
2021-12-09 00:32:17 +01:00
Ovah 0d433b1bc8 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. (#23323)
* according to sniffs the group update packet for out of range members has a fixed 5 seconds interval instead of spaming packets like crazy for example when updating positions. On 4.x and above this will fix a very nasty and ugly fps drop
* validated with 4.3.4 and 3.3.5 sniffs

(cherry picked from commit 635cefc67e25c4318d67bf557b66958081c02ac4)
2021-12-08 23:22:12 +01:00
Ovah 09fe78dd59 Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified (#23298)
* Core/GameObjects: goober gameobjects may reset only if they have a lock id

Tests have shown that Goobers without a lock id (Data0=0) are not allowed to reset their go state such as the teleporters in Ulduar and Icecrown Citadel. The tests has been expanded by checking 4.x goobers as well and the perfect example that confirms that result is the Ancient Bell for Atramedes' intro which also is not suposed to reset after using it.

* Core/GameObjects: allow to reset goobers without a lock id if a reset time is defined

* fixed a typo

(cherry picked from commit a70845c93de0902c4c6fa55ff10293f7e3679ac5)
2021-12-08 21:54:41 +01:00
Ovah d5daa2ad49 Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results (#23070)
(cherry picked from commit b9e9ccf93c63c3b27d7a6f9eced0beb4e14af40e)
2021-11-26 22:24:07 +01:00
Ovah 2dda5fb477 Scripts/MGT: Kael'thas intro can now be skipped when not killing the trash pack in his room
Scripts/MGT: Kael'thas will now despawn at evade

Cherry picked from
https://github.com/Ovahlord/TrinityCore/commit/f6e9ff5ca4ed1a174052b350db0802e1fca9a1aa
https://github.com/Ovahlord/TrinityCore/commit/ed8c1830f58e0b9db629bbae9ee80f8ad76331e5

(cherry picked from commit c10c8c6bba27625e49016de8c1a1cc9fa7944fa5)
2021-11-23 23:17:08 +01:00
Ovah 3027458338 Scripts/Magister Terrace: Update InstanceScript and more fixes
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4

(cherry picked from commit 1b346485e40ddee958c116579d93bcff063021a5)
2021-11-23 00:39:13 +01:00
Ovah 3847d7b277 Scripts/Magister Terrace: Felblood Kaelthas rewrite
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003

(cherry picked from commit 00958c9178781ac11a9dcabd034ed2e82120fad6)
2021-11-23 00:21:42 +01:00
Ovah 234a680d3a Core/Objects: properly use UPDATETYPE_CREATE_OBJECT2 when creating brand new objects in all cases. Closes #22419 (#22816)
(cherry picked from commit fb1d568fbaedb2198ee6a39aac669533d8924c82)
2021-11-15 23:42:22 +01:00
Ovah b606c22dfd Core/EscortAI: initialize run state before filling waypoints (PR #22416)
(cherry picked from commit 993c392cd7b1baaabf08a6a0aa3a8dcc895ae1c5)
2021-10-26 23:58:36 +02:00
Ovah def2e699b0 Core/Conditions: allow CONDITION_QUEST_COMPLETE to handle spellclick conditions (#22371)
This is a needed change in order to make spellclicks functional that are only available when you have a already completed quest.

(cherry picked from commit cd36606027c5fa2353889902c437fa39bb71dfdf)
2021-10-23 21:59:51 +02:00
Ovah e88536f258 Core/LFG: fixed random dungeon cooldown (#22321)
* Core/LFG: fixed random dungeon cooldown

The issue was that queuing up for random dungeons puts you into a queue for a already selected dungeon from the beginning so the dungeonId that we use here is actually the dungeonId that we will enter when out group is complete. We change that and use our selected dungeons as reference instead which contains the random dungeon at the very beginning (if we queued up for random dungeons so we check that too).

(cherry picked from commit bf8c6f220c07a3316fcf0b04ac6a9a77755b9b1d)
2021-10-23 14:37:37 +02:00
Ovah b2eef8903b Core/Maps: initialize PositionFullTerrainStatus to avoid having issues with those variables (#22315)
(cherry picked from commit bab06993e278f790e9236e874290b403c751e9b5)
2021-10-23 02:14:04 +02:00
Ovah 7084e0c360 Core/Spells: added a helper to reset proc cooldowns (#22137)
(cherry picked from commit c48a596c66c075c876c860a7d5c036d033de0b9d)
2021-10-17 18:41:27 +02:00
Ovah 753d5a5d5f Core/Player: fix periodic eating and drinking emotes (#21280)
Closes: #12567
(cherry picked from commit 0dcc318e377138dcbc116b5703d7dc1bffc0cc0f)
2021-09-29 22:27:11 +02:00
Ovahlord a0a4d23fed Core/Units: No longer send PowerUpdate packets when gaining power via energize spell effects 2021-05-13 00:43:11 +02:00
Ovah 0aa3a0b0b9 fixed build 2021-03-09 17:06:34 +01:00
Ovah e77100c923 Core/PacketIO: corrected setting the NowDead field in SMSG_ATTACK_STOP
This fixes a weird facing behavior for creatures which caused them to face to their spawn position when dying instead of facing their current victim's orientation
2021-03-09 17:02:23 +01:00
Ovah ee2ebfe87d Core/Auras: implemented SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH (#26176) 2021-02-27 20:55:59 +01:00
Ovah b77c9d7a8c Core/Spells: Gathering no longer fails after patch 3.1.0 (#21039)
* Core/Skills: gathering items with orange skill level will no longer fail as it has been removed with patch 3.1.0

Closes #21038

(cherry picked from commit 51bcd1a918f6d0a908deb01051a07f63a7f0e9d6)
2021-02-25 18:50:55 +01:00
Ovah 2a51edc5bc Core/Creatures: Implemented extra flag to use offhand attacks (#21008)
* Fixed initial offhand attack timer so the main and offhand attacks will now act blizzlike instead of getting executed at the same time

Note: since some creature equipment items cannot be identified as weapon since they are only visual items there is no way to detect this automaticly
(cherry picked from commit 869affa89300c24b85896a050b58241714786454)
2021-02-25 18:50:55 +01:00
Ovah 9ff4aea416 Fix build 2021-02-24 23:03:00 +01:00
Ovah c2632999ee Core/PacketIO: Fixed building SMSG_PARTY_MEMBER_FULL_STATE for multiple receivers 2021-02-24 23:00:35 +01:00
Ovah ed79d904e0 Core/GameObjects: trigger npcs that are summoned for gameobject casting will now inherit their gameobject's phase shift as well 2020-09-11 16:30:21 +02:00
Ovah 71db17220a Core/Spells: enable and implement SMSG_MISSILE_CANCEL (#25215) 2020-08-16 12:07:51 +02:00
Ovah 030d942efe Scripts/Antorus: implement Garothi Worldbreaker encounter for normal and heroic difficulty
* added base script support for the encounter for normal and heroic difficulty
* added instance script for Antorus the Burning Throne
* added sniffed template data for involved gameobjects
* added encounter related spawns to Antorus the Burning Throne
* added instance encounter entry for Garothi Worldbreaker
2020-04-25 19:04:31 +02:00
Ovah fb0d2ed2b9 Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases (#24404) 2020-04-24 19:00:19 +02:00
Ovah 5860e128d6 Core/Players: re-organize SetSkill method to handle initialized skills correctly (#24116) 2020-02-21 19:09:05 +01:00
Ovah 9aa5f625a6 Core/Players: Fix reusing skill slots when re-learning a skill (#24052) 2020-01-28 20:54:20 +01:00
Ovah 9bd8d90728 Core/Spells: implement SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL (#23467) 2019-08-17 14:56:22 +02:00
Ovah 867458a424 Core/Spells: define and implement TARGET_UNIT_CONE_ENTRY_129 (#23496) 2019-06-26 15:06:07 +02:00
Ovah 71c673c593 DB: Gilneas waypoints 2019-03-17 17:07:58 +01:00
Ovah 951f130f20 DB/Creature: Fix The Bastion of Twilight trash mobs difficulty 2019-02-21 19:50:36 +01:00
Ovah 5c7cb67ea7 DB/Creature: Add missing spawns on Magisters Terrace 2019-02-20 23:40:01 +01:00
Ovah fe388d789b Core/Player: update player phase before updating area depending auras (#22872) 2018-12-17 21:16:17 +01:00
Ovahlord f6de578a07 DB/TSC: added pathing for most of the Stonecore trash npc's 2018-12-17 07:32:29 +01:00
Ovahlord 56b88bffb3 DB/SFK: added formations and waypoints for Shadowfang Keep 2018-12-17 07:25:43 +01:00
Ovahlord 9f8e9067fe DB/Elwynn: added pathing to Fargodeep Mines Kobolds and Princess 2018-12-17 07:24:03 +01:00
Ovahlord c88ecc9e78 DB/Uldum:
*added pathing for Ramkahen
*corrected emote states for Ramkahen Guardians
*added cosmetic talk events to Ramkahen Citizens
*added cosmetic talk events for Samir and Blacksmith Abasi
2018-12-17 07:23:46 +01:00
Ovah 50ec47048b Core/Vehicles: define and implement VEHICLE_SEAT_FLAG_DISABLE_GRAVITY (#22804) 2018-11-21 18:00:20 +01:00
Ovah 1aa42e97a8 Core/AI: Added CreatureAI hook that is getting triggered when a spell cast has been successfully finished. (#21774) 2018-04-12 21:26:45 +03:00
Ovah a6bdb75d0b Core/Auras: Implemented PROC_HIT_INTERRUPT (#21015) 2017-12-01 23:31:51 +01:00
Ovah ea99801cd6 Core/Creature: Reworked creature aggro radius calculation (#20615)
* Core/Creatures: rewrote creature aggro radius calculation
* Formulas are taken from WoW Wiki
2017-11-15 21:56:15 +01:00
Ovah 020825902c Core/AI: implemented AI hook for interrupting spells (#20610) 2017-10-13 22:17:04 +02:00
Ovah 2bede7bffd Core/Instances: implemented handling for SMSG_BOSS_KILL_CREDIT (#17525) 2016-07-07 13:30:24 +02:00