Commit Graph

25126 Commits

Author SHA1 Message Date
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
Treeston
72a6bc7d10 This is not the critical chat system bug fix you were looking for. No sir. (Oops.) 2020-01-31 20:32:06 +01:00
Treeston
eed78a603e Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers. 2020-01-31 20:31:14 +01:00
Ovahlord
986a75fc2f Scripts/Westfall: fixed quest "Livin' the Life" 2020-01-31 12:54:28 +01:00
Ovahlord
01be7e130f Scripts: make travis happy 2020-01-31 11:56:18 +01:00
Ovahlord
b97b41276b Core/Scripts: removed a not existing dev tool command script registration 2020-01-31 11:31:37 +01:00
Ovahlord
638d368130 Core/Creatures: re-organized default summoning behaivior to make sure that all fields are set before the summon gets sent out to clients 2020-01-31 11:29:58 +01:00
Ovahlord
f2713834c7 Core/AI: cleaned up SAI initialization in order to fix some unexpected behaivior when summoning creatures with sai assigned 2020-01-31 11:27:58 +01:00
Ovahlord
66a4a9617c Core/Spells: restore player caster check when trying to hit personal summons with spells 2020-01-31 08:00:45 +01:00
Ovahlord
fe5044aac3 Core/AI: summons that are considered as "guides" will no longer follow players on spawn 2020-01-31 07:59:44 +01:00
Ovahlord
86d479a087 Core/Spells: expand personal spawn handling for summons to all kind of summons
* personal summon target checks for spells will now always happen instead of only if a player is the caster
2020-01-31 07:46:43 +01:00
Ovahlord
6073f1fe54 Scripts/BoreanTundra: duc-taped Beryl Sorcerer script to function "properly" again 2020-01-31 07:38:17 +01:00
Ovahlord
1aaf004064 Core/AI: followup fixes 2020-01-31 07:34:12 +01:00
Treeston
e156f8d571 Scripts/FollowerAI: Some cleanup:
- FollowerAI properly resumes follow after evading.
- Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing
- FollowerAI properly assists in combat.
- FollowerAI properly despawns if quest is abandoned.
- FollowerAI now supports dynamic respawning for escort NPCs.
2020-01-31 07:34:11 +01:00
Ovahlord
eaa635ab32 Core/Movement: backported cleanup for determining follow movement on appearing instead of calling evade modes right away 2020-01-31 07:34:11 +01:00
Ghaster
a246b5a342 Core/Item: cleanup some enums (#28) 2020-01-30 17:06:37 +01:00
Ovahlord
445c018e6b Scripts/Westfall: fixed quest "It's alive!" 2020-01-30 14:52:20 +01:00
Ovahlord
7f6e63f850 Scripts/Westfall: scripted Overloarded Harvest Golem visuals
* removed somple duplicate spawns and event related spawns that are already spawnt
2020-01-30 05:42:24 +01:00
Ovahlord
d4faba7897 Core/Players: restore enchantment update handling if a skill is being reduced by game masters 2020-01-28 21:27:51 +01:00
Ovahlord
0d690e0540 Core/Scripting: dropped ModifyVehiclePassengerExitPos hook 2020-01-28 17:51:54 +01:00
Ovahlord
a11fb57342 Core/Players: re-organize SetSkill logic to cover all possible save state cases with the new skill initialization 2020-01-28 17:36:32 +01:00
Ovahlord
df4018b10d Core/Vehicles: use pointers instead of tempoary copies 2020-01-28 13:29:12 +01:00
Ovahlord
045ae21e49 Scripts/Elwynn: scripted horse riding sequence for quest 'Further Concerns' 2020-01-28 11:13:15 +01:00
Ovahlord
dfaa49c87b Core/Vehicles: expand vehicle seat addon table implementation to support passenger exit options 2020-01-28 11:09:05 +01:00
Ovahlord
f336d6032b Scripts/Spells: moved Magmaw's involved eject passenger spells to generic spell script and use vehicle exit position script hook 2020-01-28 08:17:06 +01:00
Giacomo Pozzoni
ac8bf86755 Core/Scripts: Change PlayerScript and CreatureScript inheritance
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
2020-01-28 07:41:43 +01:00
jackpoz
316986765f Core/Map: Load the grid of TempSummons owned by Players
Ensure to load the grid of TempSummons owned by Players when the relocate to another cell
2020-01-28 05:55:09 +01:00