Commit Graph

25070 Commits

Author SHA1 Message Date
Ovahlord
37fae4e57a Core/Player: fixed a warning 2020-01-27 11:26:36 +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
a72411241d Core/Players: simplified mount capability update checks and removed a unneeded call uppon changing liquid status 2020-01-27 09:49:26 +01:00
Wyrserth
e410c3498b Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist. 2020-01-27 03:23:38 +01:00
Ovahlord
65145b375a Core/Players: fixed an ancient typo in 34b3617184
thx to Artamedes for noticing
2020-01-26 16:34:56 +01:00
Ovahlord
a1c415c658 Core/Spells: implement power cost level scaling 2020-01-26 16:04:42 +01:00
Ovahlord
28b3ae6946 Core/Items: 603b71d2a7 followup. Simplified checks 2020-01-26 08:49:13 +01:00
Ovahlord
69f74c726d Core/Datastores: load all item enchantment fields instead of only the first three 2020-01-26 07:42:27 +01:00
Ovahlord
603b71d2a7 Core/Items: fixed handling of Heirloom item stat distribution 2020-01-26 07:41:51 +01:00
Ovahlord
ee41e6260d Scripts: dropped unused scripts from Halls of Origination and fixed remaining startup errors 2020-01-26 03:18:03 +01:00
Ovahlord
ede6b8caf0 Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type 2020-01-26 02:07:01 +01:00
Ovahlord
45b69eb3a4 Core/Gossips: fixed a typo that was causing scripted gossip menus to show wrong icon ids 2020-01-25 16:09:04 +01:00
Ghaster
97a727749a Core/PacketIO: convert all authentication related packets to packet class (#26) 2020-01-25 15:44:56 +01:00
Ovahlord
fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Artamedes
4f5e13e01f Remove duplicate include (#27) 2020-01-24 09:52:16 +01:00
Ovahlord
cf430ce61a Core/Movement: merge 335 feedback changes for interrupt handing 2020-01-22 20:42:02 +01:00
Ovahlord
7f3a2084d1 Core/Movement: restore strict aura interrupt behaivior for players 2020-01-22 09:47:39 +01:00
Ovahlord
11f9219c8e Core/Movement: improved random movement to come closer to retail behaivior 2020-01-22 08:48:06 +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
42f2042279 Core/AI: removed a completely useless and braindead enum 2020-01-21 19:46:25 +01:00
Ovahlord
2374163cbb Core/Spells: make Travis happy 2020-01-21 06:54:43 +01:00
Ovahlord
ec3ff7f085 Scripts/SFK: corrected a timer check that was preventing Baron Ashbury from casting Asphyxiate 2020-01-21 06:05:04 +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
Ghaster
2587802100 Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_R… (#24)
* Core/Packets: convert CMSG_ENUM_CHARACTERS and SMSG_ENUM_CHARACTERS_RESULT to packet class

* Cleanup some excessive large spaces

* These entire spaces must be purged

* Order members by type size and alphabetical

* Change TaggedPosition into Position
2020-01-19 23:17:26 +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
221ed21ed2 Core/Units: applied feedback from TC pull request for aura interrupt checkups 2020-01-18 16:13:29 +01:00
Ovahlord
b306111498 Scripts: re-organize Scarlet Enclave and Gilneas script files to reduce build time 2020-01-16 05:30:00 +01:00
Ovahlord
d4c12df4a7 Core/Misc: make travis happy 2020-01-16 05:17:47 +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
xvwyh
527064c8d6 Core/DynamicObjects: Restore the ability of DynamicObjects to be world objects which was accidentally removed in f0f4a620fb breaking Far Sight (#24046)
Fixes #17081
2020-01-14 21:03:53 +01:00
Ovahlord
175282fbb6 Core/Trainer: do not send the level requirement for class trainer spells when the player has fulfilled the level requirement to match sniff behaivior 2020-01-14 01:06:32 +01:00
Ovahlord
09ebb0ed45 Core/Creatures: removed a unused argument from CanResetTalents 2020-01-13 14:50:37 +01:00
Ovahlord
0f73f8aeed Core/Creatures: the required level for resetting talents should be 10 2020-01-13 02:40:32 +01:00
Ovahlord
5ce44296d0 Core/Creature: fixed trainers not sending their gossips 2020-01-13 02:35:13 +01:00
Ovahlord
622ddff704 Core/Players: initialize skill fields uppon character creation as well to prevent creating naked characters 2020-01-13 00:38:53 +01:00
Ovahlord
7760d95962 Core/Creatures: backported trainer update and skill initialization 2020-01-12 23:53:35 +01:00
Ovahlord
0e60ed1682 Core/Events: allow to override holiday durations and correct Lunar Festival duration down to 2 weeks
* the new field must be set for every new holiday date entry to take effect if you want to override the duration of the given
2020-01-11 23:42:08 +01:00
Ovahlord
02c12f7e77 Scripts/BWD: corrected a file name
*thx Keader for noticing
2020-01-11 21:43:07 +01:00
Ovahlord
a592be71f7 Core/Events: avoid looking up for battlegrounds when no battleground has been linked to an active event 2020-01-11 20:16:54 +01:00
Ovahlord
a3377e273a Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead 2020-01-11 20:04:21 +01:00
Ovahlord
c88a6193f6 Scripts/SFK: rewrite Lord Godfrey encounter
* updated scripts to new model
* corrected timer handling
* removed unneeded script for Bloodthirsty Ghouls
* properly handle left / right cast visuals for summoning Bloodthirsty Ghouls and Pistol Barrage
* reset achievement progress on each new attempt
2020-01-11 15:03:37 +01:00
funjoker
590ad14856 Core/Spells: Allow skipping automatic removal of auras from spell_area when condition is no longer met (mostly used for cosmetic cutscenes after quest completion) 2020-01-11 03:38:28 +01:00
jackpoz
131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +01:00
Ovahlord
d60fbb842e Core/Movement: use better checks in GetCurrentSlot to get more reliable slot results 2020-01-10 21:09:13 +01:00
Ovahlord
8d3ce54758 Scripts/SFK: removed unneeded tabs from Lord Walden's script and restrict the clear emote state event to his intro phase only 2020-01-10 13:10:47 +01:00
Ovahlord
029b61761c Scripts/SFK: rewrite Lord Walden encounter
* updated script to new model
* removed hacks
* added out of combat talk events and movement
* scripted missing abilities
2020-01-10 04:20:53 +01:00
Ovahlord
19a1566a68 Scripts/SFK: fixed a typo and do not trigger Lord Godfrey's intro when he has been defeated already 2020-01-10 01:04:58 +01:00
Ovahlord
0aa4b560df Scripts/SFK: scripted Lord Godfrey intro events for both factions and cleaned up header file 2020-01-09 21:39:09 +01:00
Ovahlord
741dba7cdf Scripts/SFK: reworked spawn group handling for boss related spawns and corrected some spawn group spawn id assignments for Horde spawn groups 2020-01-09 17:32:57 +01:00
Ovahlord
559d4a7fd7 Scripts: added Dragon Soul instance script to scriptloader to fix a startup error 2020-01-08 18:22:08 +01:00