Commit Graph
12585 Commits
Author SHA1 Message Date
Ovahlord a08ab06d36 Core/Units: converted SMSG_SPELL_ENERGIZE_LOG to packet class and no longer send PowerUpdate packets when gaining power via energize spell effects 2020-10-22 23:32:45 +02:00
Ovahlord f8c35be20c Core/Players: fixed a possible crash when trying to send spell cooldowns for spells without a category entry 2020-10-22 21:37:31 +02:00
Ovahlord a311740d3b Core/Players: PCT spell mods are now additive as well (this got changed in 6.x) 2020-10-22 18:58:13 +02:00
Ovahlord 72d7819c2e Core/Misc: converted more packets to packet class and implement some new fields for them 2020-10-22 08:47:24 +02:00
Ovahlord 90e5e85afd Core/Misc: updated a bunch of packets to packet class 2020-10-21 12:04:13 +02:00
Ovahlord 0fe70b3518 Core/World: fixed deleting daily and weekly lfg rewards from database 2020-10-21 10:20:29 +02:00
Ovahlord de3379ef4d Core/World: fixed resetting daily/weekly quests during server runtime 2020-10-20 22:36:43 +02:00
Treeston c34533432a AI/CreatureAI: Properly update Victim even while spell focusing 2020-10-16 15:45:39 +02:00
Ovahlord a6a1c619f5 Core/Spells: reverted 6c34d8b5ce since the new place for the hook call does conflict with other hook calls which are already handled 2020-10-02 19:31:55 +02:00
Ovahlord 6c34d8b5ce Core/Spells: relocated SPELL_FINISHED_CHANNELING_COMPLETE handling to a better place 2020-10-02 19:04:33 +02:00
Shauren 0f60c4d820 Core/Players: Corrected logic determining contested/friendly/hostile area types 2020-10-02 18:53:07 +02:00
Ovahlord 616e50cb55 Core/Spells: fixed Blood DK T12 2p Bonus 2020-10-01 21:40:03 +02:00
Ovahlord d753df4ae9 Core/Spells: improved spell finish reason enum naming for finished channeled spells 2020-10-01 20:24:03 +02:00
Ovahlord 40afd8a20e Core/Units: prevent units from dropping under map surfaces when disabling hover movement 2020-10-01 17:00:51 +02:00
Ovahlord f1ef08fc84 Core/Movement: added optional velocity argument for MotionMaster::MoveTakeoff helper to manually specify velocity values 2020-09-29 17:40:31 +02:00
Ovahlord 44be244ced Core/Units: remove excessive spam of animation tier spline update packets on every movement update 2020-09-28 19:33:14 +02:00
Ovahlord 059dff081c Core/Units: fixed a typo in Lava Burst crit chance bonus 2020-09-27 18:16:07 +02:00
Ovahlord 0528189e62 Core/Spells:
* Atramedes' Sonar Pulse will now always target 4 players
* Atramedes' Sonar Bomb will now target 5 targets in 10 player mode and 12 targets in 25 player mode
2020-09-27 18:08:45 +02:00
Ovahlord bf78c98459 Core/Spells: Lava Bursts that have been triggered by Elemental Overload will now crit as well when the target has been affected by Flame Shock 2020-09-27 16:35:55 +02:00
Ovahlord 941194018d Core/Players: reduce excessive casting of spell_area spells by casting them only when zone and area ids actually change 2020-09-26 19:38:49 +02:00
Ovahlord bf04bd36db Core/Units: do not update facing for mind controlled creatures 2020-09-24 14:31:18 +02:00
Ovahlord 361ac2292b Core/Movement: add velocity field to waypoint_data to allow specifying custom speed value for waypoints and cyclic splines
* standartized member naming in WaypointNode and WaypointPath struct
2020-09-24 14:30:48 +02:00
Giacomo Pozzoni 8bbe17c684 Core/Creature: Ignore combat reach when looking for assisting creatures 2020-09-24 00:37:11 +02:00
Ovahlord adffbaf375 Core/Units: restrict target guid based turning to creatures only 2020-09-23 20:48:45 +02:00
Ovahlord c9afa1a6ed Core/Units: renamed SetInFront to SetOrientationTowards to clarify its actual functionality and added comments to SetOrientationTowards, SetFacingTo and SetFacingToObject 2020-09-23 20:48:44 +02:00
Ovahlord 0a480f3ae8 Core/Units: update internal facing of units on every update tick when a target guid or a tracking channeled spell is being used 2020-09-23 20:48:43 +02:00
Ovahlord 27c1fd6aee Core/Movement: implement cyclic spline database support 2020-09-21 00:32:55 +02:00
xvwyh 6342b0def2 Core/PathFinding: Fix GetPathPolyByPosition() using only 2D distance instead of 3D
Signed-off-by: jackpoz <giacomopoz@gmail.com>
2020-09-19 21:41:31 +02:00
Ovahlord f067228bd7 Core/Spells: allow the channel target tracking to bypass no turn unit states 2020-09-19 20:22:51 +02:00
Ovahlord 02d700f3c2 Core/Spells: fixed a potential crash when trying to turn towards a non-existing target on spell cast 2020-09-15 14:51:37 +02:00
Ovahlord d606fa4688 Core/Spells: update serverside orientation of SPELL_ATTR1_CHANNEL_TRACK_TARGET on periodic aura update ticks instead of every spell update tick 2020-09-13 22:43:11 +02:00
Ovahlord a51d331e9a Core/Spells: do not save Priest's T11 Chakra Flow bonus to database to fix an exploit that was causing it to permanently last on the player 2020-09-13 22:24:02 +02:00
Ovahlord df370885a0 fixed nopch build 2020-09-11 21:43:30 +02:00
Giacomo Pozzoni fe30a6ef00 Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear 2020-09-11 21:33:54 +02:00
Ovahlord b6ea5033fa Core/Movement: 5cc2b41146 codestyle followup 2020-09-11 21:13:01 +02:00
Ovahlord 5cc2b41146 Core/Movement: setting path length limits will now round the amount of smooth path points up instead of down to reduce edge cases in which charge effects close to their maximum cast range would return no path 2020-09-11 20:50:57 +02:00
Ovahlord 40cda24dc2 Core/GameObjects: trigger npcs that are summoned for gameobject casts will now inherit the gameobject's phase shift as well to hit intended phased targets 2020-09-11 16:23:42 +02:00
Eridium 2aa05b951b 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-09-11 15:24:21 +02:00
Ovahlord e871d2f0eb Fixed build 2020-09-11 15:23:53 +02:00
Giacomo Pozzoni 2cea40a466 Core/GameObjects: Skip LoS checks for traps (#23936)
* Core/GameObjects: Skip LoS checks for traps

* Core/GameObjects: Fix spells cast by traps missing always

* Scripts/Spells: Fix WSG heal buff not healing

The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.

# Conflicts:
#	src/server/scripts/Spells/spell_generic.cpp
2020-09-11 15:12:12 +02:00
ariel- dcd017bbad Core/Spell: fix LoS checks for GameObject spells
Closes #21580
2020-09-11 15:11:24 +02:00
ariel- d34eb1a276 Core/GameObject: kill uninitialized, unused field from GameObjectTemplateAddon struct 2020-09-11 15:10:18 +02:00
ariel- 9040070520 Core/GameObject: refactor dismounting on use
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2020-09-11 15:09:58 +02:00
ariel- 46866bad04 Core/GameObject: implement dismount on use of certain GOs
- The fact of player dismounting was entirely client-sided, with no server code enforcing it.

Closes #19979

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2020-09-11 15:08:53 +02:00
Wyrserth d2b27bc43c Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.

* Forgot to change this in last-second rename.

* Apply suggested changes, thanks Shauren!

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Unit/UnitDefines.h
#	src/server/game/Entities/Unit/enuminfo_UnitDefines.cpp
#	src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
2020-09-11 15:06:15 +02:00
Killyana 8c4ce86525 SAI/GameObject: Despawn the linked trap with the gameobject
Closes #23105
2020-09-11 15:02:17 +02:00
Treeston 8b81f1d9f0 revert 5df7ffa, hack 2020-09-11 15:01:42 +02:00
Treeston 77233dd073 Core/GameObject: Hunter traps now always put the Hunter in combat with the target when triggered. Closes #21847. 2020-09-11 15:00:58 +02:00
Killyana 5677d65eed Core/GameObject: Fix linked traps not being despawned properly and remove deprecated code
Closes #20159
2020-09-11 14:59:12 +02:00
Ovahlord 3274117cec Core/Spells: cleaned up and improved spell focusing behavior
* removed hacky update_object call from SetSpellFocus helper
* corrected facing behaivior in SetSpellFocus
* spells with SPELL_ATTR5_DONT_TURN_DURING_CAST will no longer set a target guid for proper clientside facing behaivior
* channeled spells with a destination target will no longer pick a objectTarget
* update serverside orientation for channeled spells with SPELL_ATTR1_CHANNEL_TRACK_TARGET
2020-09-09 20:08:35 +02:00