offl
d70eb96c85
DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAI
...
Closes #24730
2020-06-14 18:12:17 +02:00
offl
e47f302fc9
DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAI
...
Closes #24728
2020-06-14 17:52:12 +02:00
jackpoz
cd37a17103
Scripts/Commands: Add .debug objectcount <optional map id> chat command
...
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects
2020-06-14 15:41:01 +02:00
Keader
f2f4fc921e
kill white space in last commit
2020-06-09 09:57:47 -03:00
Keader
be48fbc32a
Scripts/ShadowfangKeep: Fixed a crash in spellscript
2020-06-09 09:52:44 -03:00
Gildor
aeb41e67a9
Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies ( #24763 )
2020-06-07 12:55:38 +02:00
ForesterDev
e3b232fe0e
Core/AI: refactor SpellHit and SpellHitTarget. ( #24691 )
...
* Core/AI: refactor SpellHit and SpellHitTarget.
- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods
* Restore logic in Algalon script
* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2
* Fix build after merge
2020-06-07 10:22:13 +02:00
Gildor
1181b636c0
Scripts/Naxxramas: Noth the Plaguebringer improvements ( #24724 )
2020-06-06 14:22:19 +02:00
Keader
d81a9e5bc3
Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt ( #24717 )
...
Ref: 9f7b464a6a
- Implemented a new SpellScript hook that allow control Resistance/Absorb amount of a damage spell.
2020-06-03 22:05:08 -03:00
jackpoz
adc7cd3cee
Core/Misc: Fix static analysis issues reported by Coverity Scan
2020-06-03 20:49:31 +02:00
Giacomo Pozzoni
8c09b6e58b
Cherry-pick some cmake commits ( #24720 )
...
* Build system: Support new in cmake 3.17 Ninja Multi-Config generator
(cherry picked from commit 369b618d4f )
* Build system: Fixed PCH with MSVC & Ninja generator
(cherry picked from commit d669f46b6d )
* Core: Fix clang 10 warnings
(cherry picked from commit 7272508cb4 )
# Conflicts:
# src/common/Utilities/Util.h
# src/server/bnetserver/REST/LoginRESTService.cpp
# src/server/game/Entities/Object/Position.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Guilds/GuildFinderMgr.h
# src/server/game/Movement/Spline/MoveSplineFlag.h
# src/server/shared/Dynamic/LinkedList.h
* Build system: Set -Wno-deprecated-copy only for clang 10
(cherry picked from commit 7fdeb259ba )
* Core/Misc: GCC build and warning fixes
(cherry picked from commit 4d69cc1c56 )
# Conflicts:
# src/common/Utilities/Util.cpp
# src/server/database/Database/MySQLConnection.cpp
# src/server/game/Battlefield/Zones/BattlefieldTB.cpp
# src/server/game/DataStores/M2Stores.cpp
# src/server/game/DungeonFinding/LFGMgr.cpp
# src/server/game/DungeonFinding/LFGPlayerData.cpp
# src/server/game/Entities/GameObject/GameObject.cpp
# src/server/game/Entities/Item/Item.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Player/RestMgr.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Handlers/PetHandler.cpp
# src/server/game/Server/Packets/GuildPackets.h
# src/server/game/Spells/Auras/SpellAuraEffects.cpp
# src/server/game/Spells/Auras/SpellAuras.cpp
# src/server/game/Spells/Spell.cpp
# src/server/game/Spells/SpellInfo.cpp
# src/server/game/Spells/SpellMgr.cpp
# src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
# src/server/scripts/Kalimdor/HallsOfOrigination/instance_halls_of_origination.cpp
# src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
# src/server/scripts/Northrend/Ulduar/Ulduar/boss_mimiron.cpp
# src/server/scripts/Northrend/zone_sholazar_basin.cpp
# src/server/scripts/Outland/BlackTemple/instance_black_temple.cpp
# src/server/scripts/Outland/GruulsLair/instance_gruuls_lair.cpp
# src/server/scripts/Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp
# src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp
# src/tools/vmap4_extractor/gameobject_extract.cpp
# src/tools/vmap4_extractor/model.cpp
# src/tools/vmap4_extractor/vec3d.h
* Build system: Print found git version when warning about it being too old
(cherry picked from commit 1ae72db201 )
* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73
(cherry picked from commit 161944b764 )
# Conflicts:
# dep/boost/CMakeLists.txt
* Remove some code that was already removed from 335 and then cherry-picked into master
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2020-05-31 14:17:26 +02:00
Keader
a72197911e
Scripts/Ulduar: Codestyle fix
...
* Making jackpoz happy xD
2020-05-30 13:13:02 -03:00
Keader
00bc6e7d54
Scripts/BloodFurnace: Fixed Broggok stopping work after wipe
...
By: Rushor
2020-05-30 11:57:30 -03:00
Keader
05eeaade3e
Scripts/Ulduar: Fixed XT002 Heart health regeneration
2020-05-30 11:47:43 -03:00
offl
9ebf7b1272
DB/SAI: Convert & update support for Forest Frog to SAI
...
Closes #24714
2020-05-30 16:37:59 +02:00
Keader
456aaf2cea
Scripts/Pet: Fixed Mirror Image trying attacking invalid targets
2020-05-30 11:31:53 -03:00
Gildor
6c1a874e57
Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement ( #24715 )
2020-05-30 08:50:33 -03:00
Gildor
3ab970aa47
Scripts/Ulduar: Fix Flame Leviathan movement ( #24673 )
2020-05-26 13:20:38 +02:00
offl
e48c415156
DB/Quest: Convert & update support for 'Mark V is Alive!' to SAI
...
Closes #24686
2020-05-26 00:01:54 +02:00
offl
1316ca482d
DB/Quest: Convert & update support for 'When the Cows Come Home' to SAI
...
Closes #24685
2020-05-25 23:32:50 +02:00
offl
0e7cabd7f1
DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
...
Closes #24675
2020-05-25 23:10:12 +02:00
Killyana
5856f520bb
Boss/Script: Remove Hex Lord Malacrass wrong equipment from the script and use the one from the DB
2020-05-25 15:52:23 +02:00
NoName
89193c3548
Scripts/RuinsOfAhnQiraj: Crystal handling ( #24679 )
...
+ make crystal usable with animation and despawn after use;
+ small code update;
+ spell rearrange;
+ define some magic numbers;
+ update crystal coordinates from sniffed data
2020-05-24 20:45:28 +02:00
Gildor
dd3fbf426c
Scripts/Icecrown Citadel: Fix Sindragosa movement when Wipe in fly phase ( #24665 )
2020-05-24 20:38:24 +02:00
Killyana
fd66e291b5
DB/Quest: Convert "HELP!" & "Corki's Gone Missing Again!" & "Cho'war the Pillager" to SAI
...
Closes #24649
2020-05-23 02:44:18 +02:00
offl
2008cb7dd3
DB/Quest: Convert & update support for 'Prisoners of Wyrmskull' to SAI
...
Closes #24650
2020-05-22 00:32:06 +02:00
offl
0cfd63fd26
DB/GameObject: Convert & update support for Shrine of the Eagle / Falcon / Hawk to SAI
...
Closes #24647
2020-05-21 23:52:02 +02:00
offl
626aeb5817
DB/Creature: Convert Sayge to SAI
...
Closes #24663
2020-05-21 23:34:59 +02:00
jackpoz
013301088d
Scripts/Misc: Fix issues reported by ASan
2020-05-21 22:17:13 +02:00
offl
9c1c34a794
DB/GameObject: Convert & update support for Tablet of Madness
...
Closes #24670
2020-05-21 21:21:38 +02:00
Killyana
6b9a14ca94
DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB script
...
Closes #24668
2020-05-21 02:05:44 +02:00
offl
cfe6b651bc
DB/Quest: Convert Escape from Umbrafen to SAI
...
Closes #24648
2020-05-21 00:28:41 +02:00
dr-j
e80b66fd52
DB/Quest: With a little help from my friends
...
Closes #24639
2020-05-20 23:20:37 +02:00
offl
cc5bea023a
DB/Quest: Convert & update support for 'Hypercapacitor Gizmo' to SAI
...
Closes #24640
2020-05-19 23:06:05 +02:00
offl
c3e4420a2b
DB/GameObject: Convert & update support for Fel & Bash'ir crystalforges
...
Closes #24643
2020-05-19 22:46:31 +02:00
offl
44aba5dcdf
DB/Quest: Convert support for 'Strength of One' to SAI
...
Closes #24641
2020-05-19 22:21:37 +02:00
Keader
99c457c270
Scripts/ICC: Fixed duplicated call of reputation spell
2020-05-19 11:45:12 -03:00
Keader
d1e1b8753c
Scripts/ICC: Fixed Deathbringer/Valithria reputation handler + codestyle fixes
...
* Added correct reputation spell for both bosses
* Fixed debuffs remove when deathbringer dies (it also fix recount)
* Changed all DoCast(me, xxx) -> DoCastSelf(xx)
* Removed old reputation hack in DB
* Fixed my OCD with spells enum :)
2020-05-19 11:42:11 -03:00
NoName
868748007d
Scripts/RazorfenDowns: quest "Extinguishing the Idol" ( #24658 )
2020-05-19 13:19:10 +02:00
offl
049cba3ace
DB/Quest: Convert & update support for 'Shizz Work' to SAI
...
Closes #24638
2020-05-18 00:08:58 +02:00
offl
2815db52a6
DB/Quest: Convert & update support for 'Finding the Survivors' to SAI
...
Closes #24636
2020-05-17 23:36:34 +02:00
offl
a2068cade5
DB/Creature: Convert & update support for Ashyen & Keleth to SAI
...
Closes #24635
2020-05-17 21:53:02 +02:00
Shauren
75ab3619bd
Core/Commands: Fixed .npc add overwriting existing spawns when used on transports
2020-05-16 11:23:34 +02:00
Giacomo Pozzoni
c0b75bf40d
Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues ( #24539 )
...
* Core/MMAPs: Adjust walkable climb
Adjust walkable climb as recast using walkableClimb also to find the poly from a position, giving priority to polys that are below the position but closer than walkableClimb.
* Temporarily disable static collision (the whole check should be removed)
* Core/Spells: removed deprecated mmap path check for TARGET_DEST_CASTER_FRONT_LEAP
* Core/Objects: allow flying units to use the helper as well (flying units casting radius based spells)
* Code refactor
* Handle raycasts that end in a point with no height in the mmap mesh as PATHFIND_NOPATH
* Walk back a bit from raycast hitpoints as sometime the 2D result point is outside of the polygons due to floating point errors.
* Remove whitespace
* Revert 4a197ba22a as a raycast point path should have the Z retrieved with getPolyHeight(). Raycast will only return a 2-point path with Start and Hitpoint/End
* Cleanup PathGenerator raycast case
* Fix PathGenerator raycast broken if start and end are on same poly.
Fix PathGenerator raycast broken if no wall is hit.
Remove unused case of using raycast with an existing previous path (can be added back properly if needed).
Remove forcing poly length to 2 when we actually have already the right number.
* Use closestPointOnPolyBoundary on the second try of finding a point on poly for raycast.
Note that in this case the mesh height is not used which might cause issues. The poly boundary height will be used instead.
* Handle cases where getPolyHeight() fails because the point is on polygon border (and caused by floating point imprecision)
* Add far from poly flags
* Set PATHFIND_INCOMPLETE in raycast case if startFarFromPoly or endFarFromPoly
* Fix blink close to walls with no valid polygon behind the wall
* Require to re-extract mmaps
Co-authored-by: Ovah <dreadkiller@gmx.de >
2020-05-15 20:43:12 +02:00
Shauren
1d43003cfa
Scripts/Icecrown Citadel: Fixed Professor Putricide oozes not moving during their channel
2020-05-15 18:16:03 +02:00
Metalaka
e2434e4f47
Core/CreatureAI: Shambling Horror re-cast Enrage as soon as it is not stun ( #24618 )
2020-05-14 21:17:00 +02:00
Sorikoff
34fecde022
Scripts/Pet: Lil' K.T ( #24528 )
...
* 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-10 16:23:13 +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
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