Commit Graph

34159 Commits

Author SHA1 Message Date
jackpoz
a7fa9f28db DB/Creature: Convert 27353 to spawn summons with 1 action instead of 30 linked actions
Thanks @Jinnai for the sql update.
Close #26605
2021-06-17 19:51:19 +02:00
jackpoz
5628ca7f7c Core/SAI: Allow SMART_ACTION_SUMMON_CREATURE to summon more than 1 creature
Add 6th parameter "count" to SMART_ACTION_SUMMON_CREATURE action to summon more than 1 creature. For backward compatibility, a value of 0 will be treated as 1.
2021-06-17 19:47:50 +02:00
Giacomo Pozzoni
38a661b8db Core/Misc: Fix no-pch build 2021-06-17 11:45:21 +02:00
Giacomo Pozzoni
e655783431 Core/Movement: Wrap recent kicks about a setting and improve logs.
Wrap recent kicks added related to speed change ack packets around the same "AntiCheat.PendingMoveChangesTimeoutTime" setting used by other anti-cheat kicks.
Log more details about why a kick was triggered.
2021-06-17 11:35:50 +02:00
jackpoz
32fd44d2aa Core/Misc: Fix issues reported by static analysis 2021-06-15 23:17:51 +02:00
Chaouki Dhib
d337fb99ed Core/Movement: Implement proper player speed change (#26561) 2021-06-15 23:09:48 +02:00
jackpoz
4b9465e1f9 Scripts/Misc: Fix issues reported by static analysis 2021-06-15 22:55:50 +02:00
TDB Release
27c338a268 TDB 335.21061 - 2021/06/15 TDB335.21061 2021-06-15 11:55:40 +00:00
Shauren
4acd6e1d38 Core/Pets: Fixed saving pets put in stable while not being summoned
Closes #26599
2021-06-14 13:07:40 +02:00
Giacomo Pozzoni
8d92f6f2b4 Core/Loot: Allow master looter to see all quest items (#26584) 2021-06-13 19:41:51 +02:00
Jan Van Buggenhout
12668692ea Build/CMake: Only complain about missing BOOST_ROOT when Boost is not found (#26598) 2021-06-13 18:16:53 +02:00
jackpoz
e9a8cea018 Scripts/UBRS: Fix crash
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589
2021-06-12 18:02:01 +02:00
offl
2acdd163fe DB/Creature: Remove more evil flags
Ref #25764
2021-06-11 01:21:49 +03:00
offl
7e67ea74bf DB/Creature: Fix speed of Spark of Ionar 2021-06-10 21:10:50 +03:00
offl
180f495c70 Scripts/Misc: Remove few more evil flags
Ref #25764
2021-06-10 19:15:35 +03:00
Cerveciento
c6d77a7a83 DB/Locales: Add missing esES & esMX quest locales (Part 170)
Closes #26577
2021-06-09 21:33:19 +03:00
Cerveciento
e64d658ad7 DB/Locales: Add missing esES & esMX quest locales (Part 169)
Closes #26573
2021-06-09 21:33:02 +03:00
Cerveciento
81bc1155d2 DB/Locales: Add missing esES & esMX quest locales (Part 168)
Closes #26563
2021-06-09 21:32:28 +03:00
offl
8a2c1377a9 Scripts/Quest: Rework 'Taken by the Scourge' (11611) (#26578) 2021-06-09 19:17:24 +03:00
offl
3d0a081f8e Scripts/Instances/Underbog: Rework Hungarfen (#26567) 2021-06-09 19:16:55 +03:00
Giacomo Pozzoni
9e7cdb02d2 Core/SAI: Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#26579)
Change SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS first parameter to have 3 values:
- 0 : Hostile
- 1 : Not hostile (not that Friendly and Not hostile have different meanings)
- 2 : Any, as in both Hostile and Not hostile

Close #24789

* Add validation on startup for allowed values.
Code cleanup.

* Fix errors
2021-06-08 18:59:46 +03:00
offl
7c6ee033e0 Scripts/Instances/EoE: Update Malygos to new register model (#26583) 2021-06-07 00:32:57 +03:00
offl
2a556b900c Scripts/Instances/DK: Update Trollgore to new register model (#26582) 2021-06-07 00:32:41 +03:00
offl
f5a4b95a02 Scripts/Instances/DK: Update Tharon'ja to new register model (#26581) 2021-06-07 00:32:23 +03:00
offl
cdfce090fc Scripts/Instances/DK: Update Novos to new register model (#26580) 2021-06-07 00:32:09 +03:00
offl
0051b3e345 Scripts/Zone: Update IoC scripts to new register model (#26571) 2021-06-07 00:26:32 +03:00
offl
dadc67c883 Scripts/Zone: Update Blasted Lands scripts to new register model (#26570) 2021-06-07 00:26:18 +03:00
offl
7b9476ea4b Scripts/Instances: Update Mechanar scripts to new register model (#26569) 2021-06-07 00:26:02 +03:00
offl
57d369dd6a Scripts/Instances: Update Slave Pens scripts to new register model (#26568) 2021-06-07 00:25:46 +03:00
jackpoz
483f24c5ed Core/SAI: Fix typo 2021-06-06 18:07:55 +02:00
Matan Shukry
e6a36f058e Core/SAI: Don't clear stored pathid if it changed after processing waypoint events (#26334)
(cherry picked from commit 8b0de23d0e)

# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
2021-06-06 18:04:43 +02:00
Giacomo Pozzoni
9fe9dc087b Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH (#26549)
* Core/Movement: Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH

Add new flag MOVEMENTGENERATOR_FLAG_PERSIST_ON_DEATH to keep movement generators even after death.

Fixes #23095
Could replace ff26027453

* Core/Movement: reorder new method MotionMaster::StopOnDeath

* Core/Movement: reorder new method MotionMaster::StopOnDeath

* Keep MoveJump movement generator after death

Co-authored-by: ccrs <ccrs@users.noreply.github.com>
2021-06-06 17:51:00 +02:00
Shauren
9f852c27b9 Core/Players: Add PlayerExtraFlags for tracking race change, and raf level grant usage 2021-06-06 14:10:23 +02:00
jackpoz
af815e991d Core/Player: Log more information when Player::StopCastingCharm() fails 2021-06-05 18:41:51 +02:00
jackpoz
105c70802d Scripts/Commands: Fix crashes with ".group revive" and ".group repair"
Close #26575
2021-06-05 12:37:30 +02:00
ccrs
a57bbe0394 Core/Movement: comment unused parameter
/home/runner/work/TrinityCore/TrinityCore/src/server/game/AI/CoreAI/PassiveAI.cpp:82:52: error: unused parameter ‘id’ [-Werror=unused-parameter]
 void CritterAI::MovementInform(uint32 type, uint32 id)
                                             ~~~~~~~^~
compilation terminated due to -Wfatal-errors.
2021-06-03 15:59:42 +02:00
ccrs
303e01c834 Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
6fde051e4e follow up
2021-06-03 15:01:47 +02:00
offl
e7e4786606 Scripts/Spells: Add comments with id & name of spells part 4 2021-05-31 20:35:03 +03:00
offl
03c727326d Scripts/Spells: Add comments with id & name of spells part 3 2021-05-31 04:13:29 +03:00
KoNicks
4b0089bf7d Core/Misc: Fix build when using libstdc++-11 (#26564) 2021-05-30 18:52:35 +02:00
offl
0e804c95ac Scripts/Spells: Add comments with id & name of spells part 2 2021-05-29 20:47:46 +03:00
offl
df552f790f DB/GameObject: Add various missing objects to Bloodmyst Isle 2021-05-29 18:08:02 +03:00
offl
ab9a0024b1 DB/GameObject: Add herbs & veins to Bloodmyst Isle
Closes #21657

Source of some new spawns: CMaNGOS
2021-05-29 15:29:02 +03:00
Cerveciento
3f36dc7343 DB/Locales: Add missing esES & esMX quest locales (Part 167)
Closes #26559
2021-05-28 20:57:34 +03:00
Cerveciento
39905b7719 DB/Locales: Add missing esES & esMX quest locales (Part 166)
Closes #26556
2021-05-28 20:56:57 +03:00
Cerveciento
6669c9fc95 DB/Locales: Add missing esES & esMX quest locales (Part 165)
Closes #26551
2021-05-28 20:56:26 +03:00
Jinnaix
15f66670d6 DB/Creature: Remove holy resistance
Ref #26527
2021-05-28 20:53:17 +03:00
offl
fb0a873d0e DB/Creature: Add more Riven Widow Cocoon & Nerubian Cocoon & Netherweb Victim 2021-05-28 20:52:53 +03:00
offl
80a4b7f1e2 Scripts/Spells: Add comments with id & name of spells part 1 2021-05-28 17:33:15 +03:00
offl
78bd609e8a Scripts/Quest: Rework cocooned creatures (#26554) 2021-05-27 19:05:47 +03:00