Commit Graph

22334 Commits

Author SHA1 Message Date
Shauren
1fecbc6892 Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Closes #24562
2020-05-06 16:45:03 +02:00
NoName
5bbab32793 Core/Maps: fix respawn times for manual respawns (#24571)
by joshwhedon
2020-05-05 21:09:50 +02:00
ccrs
ac12bd1391 Core/Movement: modify MovementInform trigger condition & checks in ChaseMovementGenerator 2020-05-03 17:20:37 +02:00
ccrs
71ed2e5d5e Core/Movement: de832b6 followup
lets keep that failsafe there, doesnt hurt
2020-05-03 17:03:12 +02:00
ccrs
de832b6980 Core/Movement: modify MovementInform trigger condition & checks in FollowMovementGenerator
ref #24552
2020-05-03 16:53:21 +02:00
Shauren
829cf38c67 Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
Closes #24553
2020-05-03 16:19:19 +02:00
ccrs
ecac9d79e3 Core/GameObject: b0db728 followup 2020-05-03 03:12:34 +02:00
ccrs
b8422e667b Core/Movement: 0e2342c followup 2020-05-02 22:52:01 +02:00
ccrs
eedb2d3343 Build: fix nopch
hey there
2020-05-02 11:42:31 +02:00
Ovahlord
3144471209 Core/Objects: fixed build 2020-05-02 00:18:11 +02:00
Ovahlord
a548d9f9b0 Core/Objects: use the static vmap check in MovePositionToFirstCollision for all path results to avoid falling below wmo surfaces when the mmap path returns unreliable data 2020-05-02 00:06:34 +02:00
Shauren
978745220a Core/Spells: Fixed refreshing stat buff auras that have been improved by talents
Closes #24527
2020-05-01 21:02:01 +02:00
Ovah
6485422c61 Core/Objects: further improvements for MovePositionToFirstCollision (#24523)
* 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-05-01 13:43:24 +02:00
Killyana
d3578c3474 Item/Script: Remove unused script, related to the previous commit
Ref #24522
2020-04-30 19:58:13 +02:00
offl
9638f0ad0b DB/Quest: Becoming a Spellfire Tailor
Closes #24522
2020-04-30 19:37:22 +02:00
Ovahlord
cf849df50a Core/Objects: optimize and improve MovePositionToFirstCollision results
* 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-29 23:52:56 +02:00
ForesterDev
8128bb97db Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER (#24511)
* Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER. Update .dev command to new command model

* Rename _player -> player
2020-04-29 22:41:51 +02:00
NoName
c38a9d757d Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases (#24507)
cherry-pick from fb0d2ed2b9

Co-authored-by: Ovah <dreadkiller@gmx.de>
2020-04-29 22:37:35 +02:00
ForesterDev
f01e53f3f3 Core\GameObject: corrected check for IsWithinDistInMap (#24506) 2020-04-29 22:35:08 +02:00
jackpoz
dc7856644f Core/PathFinding: Fix buffer overflow 2020-04-29 22:01:23 +02:00
NoName
22aaf32a79 Scripts/IcecrownCitadel: Adding IsAlive check to avoid possible crash in Event (#24514) 2020-04-29 21:14:27 +02:00
Shauren
411033ddf8 Core/PacketIO: Send item flags in auction items for the lulz, its bugged in the client anyway 2020-04-28 22:53:40 +02:00
Shauren
79edf74768 Core/AuctionHouse: Fixed auction mail subjects for items with random properties 2020-04-28 20:01:48 +02:00
Shauren
e795eed96b Warning fix 2020-04-28 19:44:41 +02:00
Shauren
3ebcf3f1a9 Core/AuctionHouse: Fixed auction mail bodies 2020-04-28 19:24:24 +02:00
Shauren
50576fa1f5 Core/Auras: Prevent getting negative scale with auras
Closes #24040
2020-04-28 18:03:51 +02:00
Shauren
43d9ffd1bc Core/Spells Fixed scroll stacking check when not targeting self
* Reuse code that removes non-stackable auras at apply to check before casting the spell to keep reagents/cast item
2020-04-28 11:02:27 +02:00
FAQ
8d87c834e7 Core/Spells: Scrolls should not be consumed, when they fail to apply. 2020-04-28 11:02:27 +02:00
Gildor
2e42156f8d Remove tabs (ee5eace3c6) (#24510) 2020-04-28 10:58:31 +02:00
Killyana
ee5eace3c6 DB/Pet: Lil' K.T
Ref #1364
2020-04-28 02:04:53 +02:00
Ovahlord
1610337e67 Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them 2020-04-27 19:29:01 +02:00
HelloKitty
f1ad04b31b Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding it (#24504) 2020-04-27 17:55:25 +02:00
Shauren
b4584ee323 Core/PacketIO: Fixed crash in TogglePvP::Read 2020-04-27 10:51:13 +02:00
Keader
94aff38187 Scripts/Spells: Fixed Mages 2P T10 proc delay (#24496) 2020-04-26 22:33:40 -03:00
Killyana
3f5e0927c3 DB/Pet: Toxic Wasteling
Closes #12773
2020-04-27 00:57:21 +02:00
ForesterDev
332b2f1f53 Core/PacketIO: updated CMSG_TOGGLE_PVP opcode (#24476)
* 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-26 22:10:07 +02:00
NoName
45993428f5 Core/Spells: Crystallize should not use DIMINISHING (#24502)
and also correcting spelling in script

by Rushor and wotlk-enthusiast
2020-04-26 21:40:57 +02:00
Rushor
2d948d3366 Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT (#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-26 21:32:24 +02:00
Rushor
a41bb4f77b Game/AI: Enable check for SMART_TARGET_GAMEOBJECT_RANGE (#24493)
* Thanks to joshwhedon
* Updates: https://github.com/TrinityCore/TrinityCore/issues/24439
2020-04-26 21:30:03 +02:00
Eridium
7e9bc9599b Core/GameObject: Remove linked traps when the main GameObject is remo… (#24480)
* Core/GameObject: Remove linked traps when the main GameObject is removed from from the world

* Indentation
2020-04-26 21:25:54 +02:00
Gildor
e4476fab6e Scripts/OnyxiasLair: Fix Onyxia Eruption spell (#24472) 2020-04-26 21:24:00 +02:00
Ovah
f1e4ee21f8 Core/AI: Implemented OnSpellCastInterrupt and OnSuccessfulSpellCast hooks
Ported from: 020825902c and 1aa42e97a8
2020-04-25 16:07:18 -03:00
Keader
ee218a5642 Making travis happy 2020-04-24 13:58:26 -03:00
Keader
d8e726de58 Scripts/Black Temple: Fixed Reliquary of Souls after combat rewrite changes.
Closes #23879
* Fixed combat start/evade issue
* Fixed visual issue in Soul Release spell
* Fixed some timers issue
* Fixed some codestyle issues

PS: Please, stop break my black temple babys.
2020-04-24 13:52:28 -03:00
ForesterDev
48c700347c Core/Database: fix wrong password logging (#24487) 2020-04-23 10:54:45 +02:00
jackpoz
7b8b02c32e Scripts/BWL: Fix crash in Razorgore encounter 2020-04-22 22:09:10 +02:00
Rushor
4f52f7d7c9 Game/SmartScripts: Reset counter in SAI only on Initialize. (#24489)
* Game/SmartScripts: Reset counter in SAI only on Initialize.

* Game/SmartScripts: Reset counter in SAI only on Initialize.
2020-04-22 19:49:41 +02:00
jackpoz
740afc7135 Core/Spells: Fix assertion triggered 2020-04-21 22:22:31 +02:00
Shauren
9407f9bdfa Core/Misc: Improve assert message with more detail 2020-04-21 10:50:42 +02:00
ForesterDev
c79b5f58e5 Core/PacketIO: updated SMSG_CROSSED_INEBRIATION_THRESHOLD (#24475)
(cherry picked from commit 9f4e4b9546)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Server/Packets/MiscPackets.cpp
#	src/server/game/Server/Packets/MiscPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp

Co-authored-by: MitchesD <majklprofik@seznam.cz>
2020-04-20 09:26:19 +02:00