Commit Graph

36662 Commits

Author SHA1 Message Date
Ovahlord
23d56d3bc6 Core/Spells: fixed warnings 2020-10-23 00:07:37 +02:00
Ovahlord
6d37b9a455 Core/Spells: Arcane Missiles will now proc on spell cast instead of spell hit and may proc from triggered missiles 2020-10-22 23:53:51 +02:00
Ovahlord
6335bccb72 Core/Spells: reworked Druid's Eclipse Handling 2020-10-22 23:51:34 +02:00
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
561cb13ceb Scripts/Ulduar: some codestyle improvements for Assembly of Iron 2020-10-22 11:51:12 +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
Ovahlord
0781ba2b90 DB/Spells: updated and added some attack power coefficients to multiple spells 2020-10-16 17:02:01 +02:00
Ovahlord
b9d996c0b9 DB: fixed a few startup errors 2020-10-16 16:02:31 +02:00
jackpoz
f53708fec1 Core/MMAPs: Restore single slope angle of 55°
Re-generating MMAPs IS required.
Partially reverts 995a443da2 .

Having 2 different slope angles of 55° and 85° created too many polygons to fit in the current mmtile structure. This caused some polygons to become disconnected from each other, creating the old "invisible walls" effect. Because of this and because of the performance hit when loading a mmtile caused by the increase of polygon numbers, this commit reverts the recent changes and sets by default the slope angle to 55°.
Feel free to restore the previous behaviour by running .\mmaps_generator --maxAngle 85 --maxAngleNotSteep 55 , specifying the map id as number if a single map should have different slope values.
This is the last commit that will change MMAPs version to force re-generating them. Any future change that will affect only the generation settings will be optional (but recommended).

# Conflicts:
#	src/tools/mmaps_generator/PathGenerator.cpp
2020-10-16 15:56:05 +02:00
Giacomo Pozzoni
1de869764d Tools/MMapsGenerator: Add some more input parameters to improve mmaps load performances (#25520)
* Some research about mmaps load performances

* Tools/MMapsGenerator: Add some more input parameters

Add some more input parameters which affect the resulting mmaps:
- --smallOutputSize: sets both walkableSlopeAngle and walkableSlopeAngleNotSteep to 55°, reducing by a lot the .mmtile size and the number of polys. A rcFilterLedgeSpans() call is included too to filter out some polys. Default to false.
- --maxAngle: Restore this parameter removed some commits ago. Specifies the max walkable angle of a Creature when in combat. Default to 85
- --maxAngleNotSteep: Max walkable angle of a Player and of a Creature out of combat. Must be less or equal than --maxAngle. Default to 55.

A performance profiling comparison highlighted that .mmtile load grows exponential with the number of polys. A small server with GridUnload enabled and without preloading all grids on startup will be more affected than a big server with GridUnload disabled and preloading grids on startup.
# Conflicts:
#	src/tools/mmaps_generator/PathGenerator.cpp
2020-10-16 15:50:59 +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
973d4a139a Core/Spells: fixed DK T12 dps 2p and 4p bonus effects 2020-10-01 22:20:29 +02:00
Ovahlord
616e50cb55 Core/Spells: fixed Blood DK T12 2p Bonus 2020-10-01 21:40:03 +02:00
Ovahlord
321a9d2b0a Scripts/Ulduar: added more cleanup mechanics to Runemaster Molgeim 2020-10-01 21:00:45 +02:00
Ovahlord
82a5ba527e Scripts/Ulduar: restored boundary functionality for Assembly of Iron encounter 2020-10-01 20:45:51 +02:00
Ovahlord
af164c8ace Scripts/Ulduar: minor cleanup 2020-10-01 20:28:56 +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
e04389e539 Scripts/Ulduar: reworked Assembly of Iron encounter 2020-10-01 16:59:18 +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
ece5fe65c0 DB/Trainers: fixed remaining Death Knight trainers in Acherus 2020-09-28 23:24:29 +02:00
Ovahlord
84a5437001 Core/Spells: updated Lava Surge spell scripts to new model and added db proc entry 2020-09-28 21:05:34 +02:00
Ovahlord
f3696e6cff DB/Loot: reverted Magmaw's token drop removal 2020-09-28 20:38:17 +02:00
Ovahlord
1ae2b2f4bb DB/VP: corrected health value for Howling Gale 2020-09-28 20:10:06 +02:00
Ovahlord
9bf4685de7 DB/Loot: Chimaeon will now correctly drop 2 items on heroic difficulty and removed incorrect token drops from Magmaw 2020-09-28 20:01:51 +02:00
Ovahlord
84760e8a10 Scripts/VP: fixed a warning 2020-09-28 19:39:08 +02:00
Ovahlord
df60a4d848 Scripts/VP: minor cleanups and improved Holwing Gale behaivior
* Howling Gale will no longer get stuck in combat when applying periodic damage effects on them
* When damaging a Howling Gale, the target will now stop casting any knockbacks for 10 seconds before slowly starting to build up again
2020-09-28 19:36:22 +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
6594fb650d Core/Spells: fixed Relentless Strikes talent 2020-09-27 17:21:37 +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
35b07faf2b Scripts/Quests: scripted Launch Quest spells and use them to launch the 'A Personal Summon' quests when entering Stormwind or Orgrimmar 2020-09-26 19:57:05 +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
175d84495e DB: rename sql files 2020-09-26 15:49:35 +02:00
offl
bbdf620ffa DB/Creature: Change flight state CanFly to DisableGravity part 2
Updates #6148
2020-09-26 15:47:06 +02:00
offl
cd5e46bb42 DB/Creature: Change flight state CanFly to DisableGravity part 1
Updates #6148

That fish in Dalaran aquarium is finally visible
2020-09-26 15:47:00 +02:00
Ovahlord
3c2ae9c5cf DB/Spells: added missing elixir spells to Battle Elixir spell group 2020-09-26 15:43:46 +02:00
Ovahlord
164fe1890e Scripts/BWD: Lightning Conductor will now get removed when Lord Victor Nefarius transforms the target into a Shadow Conductor 2020-09-26 15:11:36 +02:00
Ovahlord
ba78de9354 DB/Creatures: added velocity values for the cyclic splines of Ban'thalos, Xariona, Tank and Blazewing 2020-09-25 00:10:53 +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