Commit Graph
1031 Commits
Author SHA1 Message Date
Ovahlord 832e763d36 Core/Packets: implement and enable SMSG_MOUNT_RESULT and use it for transformed cases 2020-04-07 17:25:15 +02:00
Ovahlord 77cf10ee5f Core/Misc: fixed gcc warnings 2020-04-04 20:20:41 +02:00
Ovahlord 98b075cb4b Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting 2020-03-26 22:03:58 +01:00
Ovahlord df193945d9 Core/Spells: implement corpse target type support and properly fix resurrections 2020-03-26 19:54:54 +01:00
jackpoz 359eb2bc67 Core/Spells: Fix missing "Inventory is full" with spells that create more than 1 item 2020-03-19 23:31:35 +01:00
Ovahlord fc12e97cfe Core/Spells: implement SPELL_EFFECT_APPLY_AURA_2 and TARGET_DEST_CASTER_FLOOR 2020-03-14 21:14:07 +01:00
Ovahlord d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Giacomo Pozzoni cad41332ba Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24036)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon

Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards)

* Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long
2020-02-20 21:29:46 +01:00
Giacomo Pozzoni fbe4abf3be Core/MMaps: Fix charge underwater/falling (#24010)
* Core/MMaps: Fix charge underwater

Fix charge sometimes returning "no path available" when swimming/underwater.
Fix charge selecting a destination point 4 yards above swimming/underwater targets

* Allow falling units to charge targets that are below (lower Z coordinate)

* Disable "raycast" pathfinding as it's not blizzlike.

This might show some strange paths when charging with a target in front.
It also fixes some falling undermap issues.

This Reverts 272009ebee

* Remove Z offset when charging a target as it never made sense
2020-02-20 21:27:00 +01:00
jackpoz 183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
Ovahlord 6bd0412f73 Core/Spells: do not set a beacon guid for channeled spells to match sniff behaivior 2020-01-27 12:48:35 +01:00
Ovahlord 2dd295a603 Core/Spells: updated MSG_CHANNEL_START to packet class and fixed its heal prediction 2020-01-27 11:22:30 +01:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Ovahlord 266e2f1895 Core/Spells: defined unknown field in spell start and spell go packet struct 2020-01-21 22:26:46 +01:00
Ovahlord 2374163cbb Core/Spells: make Travis happy 2020-01-21 06:54:43 +01:00
Ovahlord 744ac00469 Core/Spells: converted SMSG_SPELL_START and SMSG_SPELL_GO to packet class 2020-01-21 06:03:02 +01:00
Ovahlord 05fcab82d8 Core/Spells: corrected implementation of SPELL_AURA_BLOCK_SPELL_FAMILY and implement trigger cast flag to ignore blocked spells 2020-01-18 16:21:17 +01:00
Ovahlord b210320df0 Core/Spells: unify successful spell cast and interrupt AI hooks into one helper with different cast results to reduce duplicate code
* fixed position update logic that was responsible for interrupting channeled spells because of a missing movement generator update call that was kicking in after the interrupt already happened
* improved Baron Ashburys timer layout
2020-01-16 05:01:39 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord ffeb6002b5 Core/Spells: corrected another case of sending the too close spell error message when trying to cast a destination based spell 2019-12-13 23:22:49 +01:00
Ovahlord 0cdddca210 Core/Spells: corrected haste rune cooldown reduction behaivior
* the haste regeneration modifier will now act multiplicative on the base regeneration rate rather than modifying it directly
* renamed some functions for clarification
2019-12-10 15:23:43 +01:00
Ovahlord abb62cc76f Core/Spells: reverted proc behaivior for pets and fixed applying spell mods for hunter pets and minions 2019-12-09 16:10:54 +01:00
Ovahlord 0c2cdee7a0 Core/Spells: allow more proc hooks to trigger when a owned unit casts a spell 2019-12-08 23:24:36 +01:00
Ovahlord 7ec720ef22 Core/Spells: spells of controlled units will now trigger their owner's proc auras as well and benefit from their proc chance modifiers 2019-12-08 23:05:41 +01:00
Warpten cbb5f9132f Core/Spells: Death Strike will now always consume its runes even when not hitting the target 2019-12-08 11:34:45 +01:00
Ovahlord 398a42c917 Core/Spells: Totems will now get their hit result from their owner instead of doing it on their own 2019-12-08 11:29:29 +01:00
Warpten 2047d4c4b2 Core/Spells: define and implement UNIT_FLAG2_IGNORE_SPELL_MIN_RANGE_RESTRICTIONS and corrected sending the correct spell failed message when being too close to a spell cast target 2019-12-08 01:55:23 +01:00
Ovahlord 76b032b24a Core/Spells: do not allow players to cast spells when they have a channeled spell that cannot be canceled 2019-09-07 04:54:39 +02:00
Ovahlord 2605c93a85 Core/Spells: reverted a change that was causing Death Knight abilities with no Rune Cost to generate Runic Power 2019-08-30 13:14:48 +02:00
Ovahlord c3518933ba Core/Spells: Chill of the Grave will now grant Runic Power in all cases and will now again grant Runic Power for each target hit by Howling Blast 2019-08-30 13:09:08 +02:00
Ovahlord 4ba820d5dc Core/Spells:
* fixed releasing spell focus when a creature enters evade mode while focusing a target
* allow the focus handling to accept self cast spells
* fixed an issue that was prevent channeled spells without a cast time being rejected for focusing
* channeled spells will now always have a focus target
* target less casts will now trigger focusing as well
2019-08-11 13:57:55 +02:00
Ovahlord 148291729f Core/Spells: ported focusing rework and fixed an additional issue that was causing channeled spells getting interrupted when being cast within the focus delay release time 2019-08-10 23:43:15 +02:00
Ovahlord 2e1e966980 Core/Spells: added a missing case handling that was responsible for general aoe spell focusing 2019-08-04 11:15:45 +02:00
Ovahlord 4c06f48121 Core/Spells: Fix an infinite loop caused by a mix of item 25498 and liquid damage (ported commit: 9b292f436903e436bfdfdc61d40d2efffad35bca) 2019-07-29 10:50:42 +02:00
Ovahlord 7cbd370c7d Core: fixed another warning and fixed build 2019-07-25 01:17:52 +02:00
Ovahlord 69907a6d6d * Core/Object: Range check vol. 2 (#23226) (ported commit: 78070163dc6b9bb34ab2d006e9cc218548e861b7)
* Core/Object: Fix all missing parts for #23062
2019-05-05 00:34:40 +02:00
Ovahlord eefa94a5fe Core/Creatures: refactored sparring handling and added all data for 85% health sparring 2019-04-28 23:18:48 +02:00
Ovahlord e5d59d5f98 Core/Object: Range check (#23179) (ported commit: 32e1de39a26628dcb64bc21ad415afb2ad938925) 2019-04-26 18:41:31 +02:00
jackpoz 738aa92782 Core/Spells: Adjust range checks to GameObject targets 2019-04-26 18:01:19 +02:00
jackpoz 85bf4daf45 Core/Spells: Adjust range checks to GameObject targets 2019-04-26 18:01:12 +02:00
jackpoz d99de4db33 Core/Spells: Add range checks to GameObject targets
Close #23062
Patch by robinsch
2019-04-26 18:01:05 +02:00
Ovahlord ab0d17d437 Core/Spells: improved logic for adding additional ticks to haste affected auras 2019-03-05 06:22:35 +01:00
Ovahlord cab6c04d6f Core/Spells: fixed calculating additional ticks from haste 2019-03-04 20:41:31 +01:00
Ovahlord fda1f556af Core/DataStores: use generated member names for AreaTable.dbc
*load all fields of AreaTable.dbc
2019-02-24 00:51:54 +01:00
Ovahlord b0c37b25cc Core/Movement: ported some undermap fixups from a TC pull request 2019-02-23 22:37:17 +01:00
Ovahlord 911f8636c9 Core/Objects: fixed remaining differences for collision height code and fixed an issue that was causing units getting summoned in the air 2019-02-19 17:56:35 +01:00
Ovahlord 50a91bd590 Core/Movement: merged Collision height handling from 335 branch to reduce the probability that creatures are falling under the map 2019-02-17 23:40:24 +01:00
Ovahlord 2e551a052e Core/Spells: implement OnSpellStart spellscript hook that is getting called when the cast check has been successfully passed and the spell starts casting with a cast time 2019-02-14 09:07:29 +01:00
Ovahlord 7edabcbd88 Core/Movement: ported and merged Follow and Chase movement generator rewrite 2019-02-07 23:51:45 +01:00