Commit Graph
35097 Commits
Author SHA1 Message Date
Ovahlord 57d20bc25f DB/Spells: Arcane Concentration will now have a 15 seconds proc cooldown 2019-08-30 12:27:37 +02:00
Ovahlord 8f34b8cbf3 DB/Spells: Fury Swipes will now have a 3 seconds proc cooldown to match tooltip information 2019-08-30 12:16:49 +02:00
Ovahlord 5657e61b24 Core/Packets: restore packet compression that got lost during the packet class porting 2019-08-29 17:15:18 +02:00
Ovahlord 706a9fea1a Core/OutdoorPvP: updated and enabled SMSG_DEFENSE_MESSAGE 2019-08-29 03:30:21 +02:00
Ovahlord c577991095 Core/Misc: fixed packet structures of CMSG_MESSAGECHAT_ADDON_PARTY, CMSG_MESSAGECHAT_ADDON_OFFICER and CMSG_AUCTION_LIST_ITEMS 2019-08-28 13:02:07 +02:00
Ovahlord 111e8e3ac4 Core/Spells: correct spell class mask for Enhanced Elements mastery 2019-08-26 22:31:21 +02:00
Ovahlord 6200b10c8c DB: fixed a typo in Death Knight presence rework sql file 2019-08-26 22:28:27 +02:00
Ovahlord 1d178426e0 DB/Spells: added missing attack power coefficient bonuses for Druid's Thrash ability 2019-08-25 19:18:02 +02:00
Ovahlord 94e21bab21 Core/Spells: reworked handling for Death Knight's improved presence talents.
*todo: validate if improved presences are suposed to activate after learning or on next presence switching
2019-08-25 13:33:53 +02:00
Ovahlord e63f663f3b Core/Spells: fixed a crash in Stampede aurascript and added missing proc data to it. 2019-08-25 00:26:08 +02:00
Ovahlord bd43c1d4d1 Core/Spells: fixed a logic mistake in calculating spell bonus values with multiple stacks which was causing the stack bonus getting applied twice
* corrected a damage bonus calculation for Mirror Image
2019-08-23 23:32:41 +02:00
Ovahlord 1cb0430ffc Core/Groups: followup change for player group updates when changing zones 2019-08-22 21:06:01 +02:00
Ovahlord 3e4568d68a Core/Groups: defined some unknown group update flags seen in sniff packets and send pet group update packets only if the player actually has a pet
* corrected some data types for group update packets to reflect wpp fields
2019-08-22 20:24:55 +02:00
Ovahlord c6f6861dbf Core/Loot: fixed loot roll packet structures 2019-08-22 19:06:03 +02:00
Ovahlord fc1956dc4d Core/Spells: ported some melee bonus damage calculation refactors from 335 branch
* fixed rune regeneration affecting aura effects properly
2019-08-22 01:34:00 +02:00
Ovahlord 69d99e3a74 DB: merged all custom update sql files into a unified update file 2019-08-20 12:36:40 +02:00
Ovahlord ff187ae8be Core/Player: fixed a possible underflow when sending the remaining refund time 2019-08-20 01:26:22 +02:00
Ovahlord 5251c6abb9 Core/Items: use ITEM_FIELD_CREATE_PLAYED_TIME properly to determine an item's age and send the correct value in order to fix the refund info texts 2019-08-20 00:57:20 +02:00
Ovahlord 1ee046721b Core/Spells: fixed several conditional procs of 4.0.3a content trinkets 2019-08-19 20:57:54 +02:00
Ovahlord 3c57e53c30 DB/Spells: followup fix for Will of the Necropolis. The proc will now only kick in on damaging spells 2019-08-18 21:18:40 +02:00
Ovahlord 1b0e6ca130 Core/Spells: fixed a potential crash in Will of the Necropolis aurascript 2019-08-18 21:13:37 +02:00
Ovahlord cdc0e22c33 DB: renamed sql from last Dragon Soul proc commit 2019-08-18 20:01:10 +02:00
Ovahlord 387dac1c57 DB/Spells: added proc data for Firelands trinkets 2019-08-18 20:00:42 +02:00
Ovahlord c91292b45c DB/Spells: added proc data for most remaining Dragon Soul item procs 2019-08-18 19:20:06 +02:00
Ovahlord 0783639355 DB/Spells: added proc data for stackable Dragon Soul trinket procs 2019-08-18 15:02:30 +02:00
Ovahlord ad654a160a DB: fixed two startup errors 2019-08-18 14:05:31 +02:00
Treeston c597a1bcb7 Entities/Creature: Fix a bug that caused map respawn timers to be scheduled for compatibility mode creatures. 2019-08-18 13:11:37 +02:00
Ovahlord d7e79d1892 Core/Movement: fixed build 2019-08-18 12:53:29 +02:00
Treeston 90540d684b Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime

----------

Core/DB: Unify `creature_respawn` and `gameobject_respawn` into a single `respawn` table
2019-08-18 12:47:10 +02:00
Treeston f9184f026b Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
- .npc respawn no longer causes stupid things to happen (Fixes #23014)
- ::DeleteFromDB methods on Creature and GameObject rewritten to be as sensible as such a colossally stupid method can ever be. They're static now.
- .npc delete and .gobj delete ported to new argument handling, and rewritten as per above. They can no longer crash the server when used in instances, too. Yay for that.
- Adjusted various dusty cobwebbed hacks around the core (why does waypoint visualization use permanent spawns *shudder*) to still work too.
2019-08-18 12:12:09 +02:00
jackpoz 8a1828aa43 Core/Misc: Fix linux build 2019-08-18 11:53:01 +02:00
jackpoz b407e6da1c Core/MMaps: Fix mobs evading when target is out of MMap meshes
Fix mobs evading when target is out of MMap meshes causes by an overzealous check added in c602220e02bed1ad76c9e60064eeec5fd97bfe80 when trying to fix an infinite loop in Recast.
If the target is outside of the MMap mesh (for example very close to a wall which is an un-walkable area with current TrinityCore settings and that might be changed in the future) Detour will not be able to find the height of the poly and getPolyHeight() will return DT_FAILURE | DT_INVALID_PARAM . Most of the time this is ok and can be ignored and it's still better than having the Unit evade.
Fix #23613
2019-08-18 11:52:54 +02:00
Shauren 0b8ab68eb3 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster 2019-08-18 11:51:09 +02:00
Ovahlord 16b459b7cd Revert "Core/Maps: Loading respawn times will now used database cached zoneId data to avoid loading unnneeded grids during startup"
This reverts commit bdc0f1433f.
2019-08-18 11:30:59 +02:00
Ovahlord 53e99dbb85 Core/Spells: fixed cooldowns of weekly profession spells. The cooldown will now start by the time the item gets created and lasts for a whole week 2019-08-18 00:29:05 +02:00
Ovahlord e8e5e05b0a Scripts/VP: fixed build 2019-08-18 00:27:49 +02:00
Ovahlord 616ae7f809 Scripts/VP: fixed tabbing from recent codestyle cleanup 2019-08-17 20:46:27 +02:00
Ovahlord 98ac53f828 DB/Spells: fixed Vindication talent 2019-08-17 00:14:04 +02:00
Ovahlord b8e542543d Core/Movement: fixed packet structure of CMSG_MOVE_HOVER_ACK 2019-08-16 23:39:49 +02:00
Ovahlord c5d906c3aa Core/Movement: fixed packet structure for CMSG_MOVE_WATER_WALK_ACK 2019-08-16 23:27:56 +02:00
Ovahlord cfc1c81ec1 Core/Spells: updated Scourge Strike to Cataclysm 2019-08-16 21:58:02 +02:00
Ovahlord 3ee81cf90b Core/Spells: removed debug messages from last commit 2019-08-16 01:41:07 +02:00
Ovahlord bd7094b8cc Core/Spells: corrected formular for Frostfever and Blood Plague 2019-08-16 01:32:52 +02:00
Ovahlord fdd896ecd5 Core/Spells: Shadow Infusion will no longer proc when the Ghoul is already transformed
* the Dark Transformation dummy aura will now always be cast when the spell procs to indicate that the ghoul can be transformed
2019-08-16 00:55:10 +02:00
Ovahlord ad97b57944 DB/Instances: since 4.2 Magister's Terrace no longer needs the quest "Hard to Kill" to be rewarded to enter heroic difficulty. Also changed minlevel to 65 to match area trigger message 2019-08-15 20:00:22 +02:00
Ovahlord d135e6eaf9 Scripts/VP: updated remaining scripts to new model, applied coding standards and removed some unneeded function calls 2019-08-15 18:39:40 +02:00
Ovahlord 161aa6f195 Scripts/VP: apply coding standards to Grandvizier Ertan's script 2019-08-15 17:26:07 +02:00
Ovahlord 5738c01ae5 Scripts/VP: use sniffed values for different height thresholds 2019-08-15 02:11:45 +02:00
Ovahlord b29e1ff2bc Scripts/VP: corrected Catch Fall mechanic. Players will always get teleported back to the entrance 2019-08-15 01:37:34 +02:00
Ovahlord 3870caa185 Scripts/VP: implement fall catcher even when players fall into the void 2019-08-14 23:48:05 +02:00