Commit Graph

25152 Commits

Author SHA1 Message Date
Ovahlord
87955a487e Core/Packets: corrected packet structure of SMSG_SUSPEND_TOKEN 2020-02-17 19:51:22 +01:00
Ovahlord
22ed3f306d Core/Movement: implement SMSG_SUSPEND_TOKEN and CMSG_SUSPEND_TOKEN_RESPONSE packets and converted SMSG_TRANSFER_PENDING and SMSG_NEW_WORLD to packet class 2020-02-17 18:40:21 +01:00
Ovahlord
a5e56171af Core/Units: added pointer check in SetMinion to protect the core against old/bad coding and improved codestyle in function 2020-02-17 00:18:32 +01:00
Ovahlord
4a4fbee952 Scripts: make Travis happy 2020-02-15 23:22:35 +01:00
Ovahlord
05cbdf56b7 Scripts/Elwynn: updated all existing scripts to new scripting model, cleaned up older scripts and improved handlings accross the board 2020-02-15 22:47:30 +01:00
Ovahlord
d85348576d Scripts: fixed two warnings caused by unused return values 2020-02-15 22:05:09 +01:00
Ovahlord
957850560e Core/Spells: the damage bonus for Mind Spike and Mind Blast will now be applied on the final damage value instead of the base one 2020-02-15 21:30:25 +01:00
Ovahlord
296aa29ce7 Scripts/ZA: make some compilers happy 2020-02-14 15:04:47 +01:00
Ovahlord
b74a3ae035 Scripts/BWD: fixed a warning 2020-02-10 16:00:20 +01:00
Ovahlord
deac78a248 Scripts/BWD: followup for e0d610e79b 2020-02-10 15:01:33 +01:00
Ovahlord
e0d610e79b Scripts/BWD: reworked handlings for riding and damage phase of Magmaw
* cleaned up unneeded members and move initialization to a more fitting place
* minor corrections to timer layouts
* fixed passengers not getting ejected from Magmaw's Pincers when Magmaw is about to impale himself
* handle missing whisper message for players that have been mangled
2020-02-10 14:57:25 +01:00
Ovahlord
4494794c60 Scripts/ZA: implement Akil'zon encounter 2020-02-09 19:49:30 +01:00
Ovahlord
1192d02373 Core/Vehicles: disable passenger gravity also for vehicles that can fly by default 2020-02-09 19:22:13 +01:00
Ovahlord
9a220efa3a Core/Vehicles: apply disable gravity movement flag alongside the packet when entering a vehicle seat with disable gravity flag 2020-02-09 18:42:59 +01:00
Ovahlord
6210564445 Core/Spells: summoned vehicles will no longer automatically inherit their summoner's faction 2020-02-09 17:55:47 +01:00
Ovahlord
48e13b6fdc Core/Movement: movements triggered by MoveCyclicPath will now be placed in the idle motion slot instead of the active one 2020-02-09 16:19:04 +01:00
Ovahlord
e0a1c5fa1a Core/Objects: use detour raycasts for unit based MovePositionToFirstCollision calls 2020-02-08 23:33:02 +01:00
jackpoz
c3d2b2c6d5 Core/PathFinding: Return raycast hitpoint when specifying straightLine 2020-02-08 23:32:09 +01:00
Ovahlord
274877ab67 Core/Player: fixed a typo that was causing area trigger geometric checks to return false positive results 2020-02-08 18:45:28 +01:00
Ovahlord
b7f7e99d63 Core/Packets: converted SMSG_TRIGGER_CINEMATIC, SMSG_TRIGGER_MOVIE, CMSG_COMPLETE_CINEMATIC, CMSG_NEXT_CINEMATIC_CAMERA, CMSG_COMPLETE_MOVIE and SMSG_STREAMING_MOVIES to packet class 2020-02-08 15:11:32 +01:00
Ovahlord
183ac5fd7b Core/Spells: added missing Serrated Blades register and simplified Improved Serpent String handling 2020-02-05 13:41:09 +01:00
Ovahlord
c5bfcb9517 Core/Spells: move Serrated Blades handling into Eviscerate spell script and corrected Rupture duration reset behaivior
* added proc entry to remove Shadowstep damage bonus
2020-02-05 09:54:04 +01:00
Ovahlord
a5adc77f04 Core/Auras: moved SPELL_AURA_MOD_MELEE_DAMAGE_FROM_CASTER handling to MeleeDamageBonusDone 2020-02-05 08:42:29 +01:00
Ovahlord
8ed081b6e7 Core/Spells: make Travis happy 2020-02-04 22:59:53 +01:00
Ovahlord
b95d367f8d Core/Auras: define and implement SPELL_AURA_MOD_MELEE_DAMAGE_FROM_CASTER 2020-02-04 22:34:44 +01:00
Ovahlord
318e58aa42 Core/Spells:
* fixed Combat Potency talent
* fixed Restless Blades talent
* corrected Blade Twisting spell range
* fixed Bandit's Guile
* fixed startup errors
2020-02-04 22:17:55 +01:00
Ovahlord
5501cafca2 Core/Spells: added missing object return for spell_rog_murderous_intent 2020-02-04 19:50:05 +01:00
Ovahlord
a30baa9acd Core/Spells: fixed Improved Expose Armor and Murderous Intent 2020-02-04 19:44:12 +01:00
Ovahlord
c0ef41897d Core/Spells:
* fixed Deadly Momentum talent
* fixed Blackjack talent
* updated Ruthlessness proc entry
* added proc entry to Cold Blood to remove the effect uppon triggering the proc
* fixed Master Poisoner
2020-02-04 18:02:25 +01:00
Ovahlord
bc84e6371e Scripts/Deadmines: handle missing text for Helix Gearbreaker when throwing his first sticky bomb 2020-02-03 20:34:04 +01:00
Ovahlord
2ad22015ad Core/Spells: another followup for the summon number logic 2020-02-03 08:37:38 +01:00
Ovahlord
c0ff73467f Core/Spells: corrected logic in 494404a549 2020-02-02 15:54:40 +01:00
Ovahlord
494404a549 Core/Spells: added another attribute for summon number restrictions 2020-02-02 15:48:58 +01:00
Ovahlord
6c74be5dfa Core/Spells: added another summon number restriction based on spell attribute research 2020-02-02 15:45:12 +01:00
Ovahlord
756dd936be Core/Creature: restored a slot check for summons with a fixed summon slot number 2020-02-02 15:29:30 +01:00
Ovahlord
35bb4770d5 Core/Spells: simplified Shadow Orb bonus amount handling and added missing damage bonus for Mind Spike and Mind Blast
* fixed missing proc part for Harnessed Shadows
2020-02-02 14:11:23 +01:00
Ovahlord
5b8e441b40 Core/Spells: f04a20d717 followup 2020-02-02 12:38:15 +01:00
Ovahlord
f04a20d717 Core/Spells: set ownerGUID only under certain circumstances instead of setting it always
* The number of summons is now entirely determined by the effect value of the summon spell and only skipped for totems
2020-02-02 12:23:59 +01:00
Killyana
3d1205ea5f Core/Misc: rename npc_text emote related fields to reflect broadcast text column names and updates emote data to the correct format 2020-02-02 10:56:03 +01:00
Ovahlord
633cfee22b Core/Packets: convert SMSG_QUEST_GIVER_OFFER_REWARD_MESSAGE to packet class and fix emote field order in QuestGiverQuestDetails
* fixed quest packet header naming typos
2020-02-01 19:55:54 +01:00
Ovahlord
99935970a6 Core/Player: make travis happy
* fixed spacing in msg opcode enum
2020-02-01 16:07:19 +01:00
Ovahlord
3c378d7b0d Core/Packets: converted SMSG_QUEST_UPDATE_COMPLETE, SMSG_QUEST_UPDATE_FAILED_TIMER, SMSG_QUEST_GIVER_INVALID_QUEST, SMSG_QUEST_GIVER_QUEST_FAILED, MSG_QUEST_PUSH_RESULT, SMSG_QUEST_GIVER_STATUS_MULTIPLE and SMSG_QUEST_LOG_FULL to packet class 2020-02-01 15:47:58 +01:00
Ovahlord
9c0755a343 Core/Packets: converted SMSG_QUEST_CONFIRM_ACCEPT, SMSG_QUEST_UPDATE_ADD_CREDIT and SMSG_QUEST_UPDATE_ADD_PVP_CREDIT to packet class 2020-02-01 11:41:24 +01:00
Ovahlord
1c784a7fd7 Core/Packets: convert SMSG_QUEST_GIVER_QUEST_COMPLETE to packet class 2020-02-01 11:01:45 +01:00
Ovahlord
a9cc2a9954 Core/Scripts: removed dev tool scriptloader... again 2020-01-31 21:42:21 +01:00
jackpoz
6eb44dff00 Core/Misc: Fix clang 6.0 warnings
Ported from e9bcae1fad
2020-01-31 21:41:33 +01:00
jackpoz
183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
jackpoz
8714c2be57 Core/Utils: Handle UTF-8 conversion errors
Replace the output string when a UTF-8 conversion error happen with an error message instead of using an empty string, swallowing any message that the caller wanted to log.
2020-01-31 20:51:51 +01:00
Treeston
cd3fa07389 Core/Utils: some code style adjustments, 6d6077e follow-up 2020-01-31 20:50:06 +01:00
Treeston
3ab2d9575e Core/Utils: Fix Unicode handling 2020-01-31 20:49:10 +01:00