aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-05-14Core/CreatureAI: Shambling Horror re-cast Enrage as soon as it is not stun ↵Metalaka
(#24618)
2020-05-11Core/ByteBuffer: Fixed output truncation in ByteBuffer::hexlike (#24595)NoName
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-05-11Core/Movement: 9080e78 followupccrs
actually port back the previous implementation, now correctly this implies that a unit that has a different victim than the one its chasing will stand still till either: - a new movement replaces the current, for w/e reason - the chase target is again the current victim probably a pause implementation on the generator is a more elegant solution... updates #24600
2020-05-10Core/Spells: Fix refreshing exclusive auras that have different values in ↵Shauren
each effect Closes #24592
2020-05-10Core/PacketIO: updated some pet packets (#24531)ForesterDev
* Core/PacketIO: Updated and enabled CMSG_PET_ABANDON (cherry picked from commit 0b763812833be6802bcc63955d9b4531268960e7) # Conflicts: # src/server/game/Handlers/PetHandler.cpp # src/server/game/Server/Packets/PetPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/WorldSession.h * Core/PacketIO: Updated and enabled CMSG_PET_STOP_ATTACK (cherry picked from commit dea718e4ed89cf6006c5456c4fec82e0ceac6536) # Conflicts: # src/server/game/Handlers/PetHandler.cpp # src/server/game/Server/Packets/PetPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/WorldSession.h * Core/PacketIO: Updated and enabled CMSG_PET_SPELL_AUTOCAST (cherry picked from commit 1f8268c89c73312faff67e3b2d271bfec0ccefc3) # Conflicts: # src/server/game/Handlers/PetHandler.cpp # src/server/game/Server/Packets/PetPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/WorldSession.h * Core/PacketIO: Updated SMSG_PET_LEARNED_SPELL * Core/PacketIO: Updated SMSG_PET_UNLEARNED_SPELL * fix build * Remove whitespaces * Unify naming for PetGUID * Initialize variables Co-authored-by: Carbenium <carbenium@outlook.com>
2020-05-10Scripts/Pet: Lil' K.T (#24528)Sorikoff
* Lil' K.T. * Rename 9999_99_99_99_world_335.sql to 2020_05_10_00_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-05-10Core/PacketIO: Updated logout opcodes (#24519)ForesterDev
(cherry picked from commit f59a701e2903d6ef023cd10aa7f4a80a524a8c07) # Conflicts: # src/server/database/Database/Implementation/LoginDatabase.cpp # src/server/database/Database/Implementation/LoginDatabase.h # src/server/game/Handlers/MiscHandler.cpp # src/server/game/Server/Packets/AuthenticationPackets.cpp # src/server/game/Server/Packets/AuthenticationPackets.h # src/server/game/Server/Packets/CharacterPackets.h # src/server/game/Server/Protocol/Opcodes.cpp # src/server/game/Server/Protocol/Opcodes.h # src/server/game/Server/WorldSession.cpp # src/server/game/Server/WorldSession.h # src/server/game/Server/WorldSocket.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-05-10Improve Creature DBC Handling (#24509)HelloKitty
* Core/DBC: Add CreatureModelDataFlags to remove hardcoded literals * Core/DBC: Use CreatureType flags in Creature::CanGiveExperience calculation * Core/DBC: Fixed CreatureType Flags Misinterpretation Meaning of this was wrong, wowdev wiki was incorrect. Partially reverts 0d61e653f4841d5c9745639a6bdf7487b4d082fe * Address enum codestyle * Update DBCStructure.h * Update DBCfmt.h Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-05-06Core/Units: Allow mind controlling non-controllable vehicles (for example ↵Shauren
players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type) Closes #24562
2020-05-05Core/Maps: fix respawn times for manual respawns (#24571)NoName
by joshwhedon
2020-05-03Core/Movement: modify MovementInform trigger condition & checks in ↵ccrs
ChaseMovementGenerator
2020-05-03Core/Movement: de832b6 followupccrs
lets keep that failsafe there, doesnt hurt
2020-05-03Core/Movement: modify MovementInform trigger condition & checks in ↵ccrs
FollowMovementGenerator ref #24552
2020-05-03Core/Spells: Relaxed aura exclusivity check to allow casting spells that ↵Shauren
have other, non-aura effects even if aura will not be applied Closes #24553
2020-05-03Core/GameObject: b0db728 followupccrs
2020-05-02Core/Movement: 0e2342c followupccrs
2020-05-02Build: fix nopchccrs
hey there
2020-05-02Core/Objects: fixed buildOvahlord
2020-05-02Core/Objects: use the static vmap check in MovePositionToFirstCollision for ↵Ovahlord
all path results to avoid falling below wmo surfaces when the mmap path returns unreliable data
2020-05-01Core/Spells: Fixed refreshing stat buff auras that have been improved by talentsShauren
Closes #24527
2020-05-01Core/Objects: further improvements for MovePositionToFirstCollision (#24523)Ovah
* Core/Objects: further improvements for MovePositionToFirstCollision * the PathGenerator will now normalize incomplete destinations as well * normalize destination positions before launching detour raycasts to get better direction data * exclude unwanted pathfinding results from further use to avoid unintended behaivior * Core/PathFinding: Split PATHFIND_FARFROMPOLY into PATHFIND_FARFROMPOLY_START and PATHFIND_FARFROMPOLY_END for start and end position Handle PATHFIND_FARFROMPOLY_END as valid in MovePositionToFirstCollision Co-authored-by: jackpoz <giacomopoz@gmail.com>
2020-04-30Item/Script: Remove unused script, related to the previous commitKillyana
Ref #24522
2020-04-30DB/Quest: Becoming a Spellfire Tailoroffl
Closes #24522
2020-04-29Core/Objects: optimize and improve MovePositionToFirstCollision resultsOvahlord
* removed redundant static LOS checks as they are covered by the mmap raycast prior to the check * removed unnecessary VMap height lookups to determine rapid falloffs as they are covered by the mmap raycast as well
2020-04-29Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER (#24511)ForesterDev
* Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER. Update .dev command to new command model * Rename _player -> player
2020-04-29Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting ↵NoName
cases (#24507) cherry-pick from fb0d2ed2b96c314ea144b3524195ae96878e0079 Co-authored-by: Ovah <dreadkiller@gmx.de>
2020-04-29Core\GameObject: corrected check for IsWithinDistInMap (#24506)ForesterDev
2020-04-29Core/PathFinding: Fix buffer overflowjackpoz
2020-04-29Scripts/IcecrownCitadel: Adding IsAlive check to avoid possible crash in ↵NoName
Event (#24514)
2020-04-28Core/PacketIO: Send item flags in auction items for the lulz, its bugged in ↵Shauren
the client anyway
2020-04-28Core/AuctionHouse: Fixed auction mail subjects for items with random propertiesShauren
2020-04-28Warning fixShauren
2020-04-28Core/AuctionHouse: Fixed auction mail bodiesShauren
2020-04-28Core/Auras: Prevent getting negative scale with aurasShauren
Closes #24040
2020-04-28Core/Spells Fixed scroll stacking check when not targeting selfShauren
* Reuse code that removes non-stackable auras at apply to check before casting the spell to keep reagents/cast item
2020-04-28Core/Spells: Scrolls should not be consumed, when they fail to apply.FAQ
2020-04-28Remove tabs (ee5eace3c6d1fa489572c052daef4834e9c7f12c) (#24510)Gildor
2020-04-28DB/Pet: Lil' K.TKillyana
Ref #1364
2020-04-27Core/Vehicles: update the power display of vehicles before being added to ↵Ovahlord
world to avoid building unnecessary update_object packets right after spawning them
2020-04-27Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding ↵HelloKitty
it (#24504)
2020-04-27Core/PacketIO: Fixed crash in TogglePvP::ReadShauren
2020-04-26Scripts/Spells: Fixed Mages 2P T10 proc delay (#24496)Keader
2020-04-27DB/Pet: Toxic WastelingKillyana
Closes #12773
2020-04-26Core/PacketIO: updated CMSG_TOGGLE_PVP opcode (#24476)ForesterDev
* Core/PacketIO: updated CMSG_TOGGLE_PVP opcode * Use Optional<T>. Restore ApplyModFlag() code. * Fix no-pch build Co-authored-by: jackpoz <giacomopoz@gmail.com>
2020-04-26Core/Spells: Crystallize should not use DIMINISHING (#24502)NoName
and also correcting spelling in script by Rushor and wotlk-enthusiast
2020-04-26Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT ↵Rushor
(#24494) * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects * updates: https://github.com/TrinityCore/TrinityCore/issues/24067 * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects
2020-04-26Game/AI: Enable check for SMART_TARGET_GAMEOBJECT_RANGE (#24493)Rushor
* Thanks to joshwhedon * Updates: https://github.com/TrinityCore/TrinityCore/issues/24439
2020-04-26Core/GameObject: Remove linked traps when the main GameObject is remo… ↵Eridium
(#24480) * Core/GameObject: Remove linked traps when the main GameObject is removed from from the world * Indentation
2020-04-26Scripts/OnyxiasLair: Fix Onyxia Eruption spell (#24472)Gildor
2020-04-25Core/AI: Implemented OnSpellCastInterrupt and OnSuccessfulSpellCast hooksOvah
Ported from: 020825902c066cee532f1b9a24205c196da2662d and 1aa42e97a81e285fa34316ad9cfe9657865e3c35