ccrs
8be3d33eae
Build: fix linking error
...
/home/circleci/project/src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp:50:9: fatal error: use of undeclared identifier 'AddFlag'
AddFlag(MOVEMENTGENERATOR_FLAG_TIMED_PAUSED);
^
(cherry picked from commit ec1a77bca20487f86765620485db9b13bb03aee8)
2021-12-14 22:24:34 +01:00
Treeston
2225cb1201
Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
...
(cherry picked from commit ded18a2690063991d5440df7d3e5d526b884ec16)
2021-12-14 22:24:24 +01:00
ccrs
f21599dc5d
Core/Movement: handle Resume/Pause on RandomMovementGenerator
...
(cherry picked from commit b8c0aeaf14dfabc9940203aec21ef29111e755cc)
2021-12-14 22:19:40 +01:00
ccrs
ff11e95071
Core/Unit: f869c49 followup
...
Movement Pause/Clear is already handled in Unit::SetCharmedBy and Unit::RemoveCharmedBy, respectively
TODO: missing PAUSE handling in RandomMovementGenerator
(cherry picked from commit 4fa3c04b7263c0038b96e50c29f8ba52a4802995)
2021-12-14 22:19:13 +01:00
Wyrserth
24c07367f1
Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
...
Closes #21731 and #22368 .
(cherry picked from commit f869c4969ebd573da2742dcee0dfbe688e7896e0)
2021-12-14 22:19:01 +01:00
Wyrserth
004602f3e4
Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
...
Closes #23572 .
(cherry picked from commit 9f6d3e93f95ea126512e5eb52e46dbaefccf54d6)
2021-12-14 22:17:47 +01:00
Wyrserth
57cfc4bbc0
DB/Creature: prevent floating Gjalerbron Prisoners from falling to the ground.
...
Also fix mistake in DELETE query for previously committed SQL file.
(cherry picked from commit d18b7572f40360d6f47d48faa306665b008e7dd8)
2021-12-14 22:16:22 +01:00
Shauren
d249a2a98a
Warning fixes
2021-12-14 22:15:04 +01:00
Wyrserth
569660a933
Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet.
...
Closes #19452 .
(cherry picked from commit 37862942ce61ceffe5440d67efe7db553fa22f9b)
2021-12-14 22:13:56 +01:00
Wyrserth
2efb6b6187
Core/Spell: don't send duration for auras caused by dynobjects.
...
(cherry picked from commit 1d1b77c3f0c7625228f328cf894610c14a54c308)
2021-12-14 22:03:20 +01:00
Wyrserth
756325bc84
Script/BlackrockDepths: randomize timers for Ironhand Guardian's spell Gout of Flame.
...
(cherry picked from commit 6ef1b3e6c6d51635dc4ba4cf4f9fb9565d390807)
2021-12-14 22:02:52 +01:00
Wyrserth
55611104be
Core/Spell: do not allow auras from dynamic objects to stack if they come from the same spell cast by the same caster.
...
(cherry picked from commit b87350807db65e8e819cfc562749c22441eeb5ab)
2021-12-14 22:02:25 +01:00
Killyana
e005c13ed1
Typo
...
(cherry picked from commit 3b07a0452acdd9f71666b78187305f3b26cd1da7)
2021-12-14 22:01:50 +01:00
Killyana
db4e2132a9
DB/Quest: Tails Up
...
(cherry picked from commit 66e755679f64fb2135022ee3a92342442fbb6a2b)
2021-12-14 22:01:32 +01:00
Wyrserth
2c55730a01
Misc/Config: set decay timer for unlooted normal creatures to 5 minutes.
...
Now that respawns do not care about the previous corpse's state, there's no reason to force a very frustrating faster despawn.
(cherry picked from commit 1bdbede7e0e24ed3c55787a63c8d67db539cee35)
2021-12-14 22:00:53 +01:00
Killyana
365f23dec6
DB/GameObject: Fix Ysida's Cage base position
...
(cherry picked from commit 5771e093788d6de4481e83d06771a6b30f61667d)
2021-12-14 22:00:36 +01:00
Shauren
776298207a
Core/Entities: Regenerate updatefields
2021-12-14 21:26:44 +01:00
Martin Topholm
dc0728b9a0
Script/BlackrockDepths: fix Ironhand Guardian's Gout of Flame spell cast. ( #21816 )
...
(cherry picked from commit 4529a94e0d093fb01c6ae4a98dade46ce75f82a9)
2021-12-14 21:19:01 +01:00
Wyrserth
3b72b43937
DB/SAI: remove useless actions from Regthar Deathgate's script.
...
Fixes #23543 .
(cherry picked from commit a8d232a92158bb9782e0895e6788692ee4729eb7)
2021-12-14 21:17:23 +01:00
ZenoX92
72aae44399
DB/SAI: script end event for quest To Serve Kum'isha.
...
(cherry picked from commit 515f47eec7263bfb593a2697c0be8afa40ed0324)
2021-12-14 21:16:43 +01:00
Wyrserth
f31d8f7ffb
Script/Acherus: script out of combat event for Frost Death Knight trainer Amal'thazad.
...
(cherry picked from commit 8fcc82138fee2bbea7b7f82d4b0475e4f53f100c)
2021-12-14 21:11:10 +01:00
Ovahlord
3fc20584bc
Core/Creature: Reworked creature aggro radius calculation ( #20615 )
...
* Core/Creatures: rewrote creature aggro radius calculation
* Formulas are taken from WoW Wiki
(cherry picked from commit 980047763a685217e712f58b8713d48523d90ccb)
2021-12-14 21:09:11 +01:00
Wyrserth
edf12fd6a1
Core/Conditions: allow spellclick conditions to properly work for aura apply/remove ( #23527 )
...
(cherry picked from commit 12e545f7e2247f91db3fd1e8e2f961982422a147)
2021-12-14 20:52:13 +01:00
ForesterDev
104ec7a81a
Core/Unit: Implement more helper methods ( #23555 )
...
(cherry picked from commit c44fb37f74347e3b6d399c941716971503af4cf8)
2021-12-14 20:42:32 +01:00
Shauren
dbb96e7717
Core/Spells: Fixed spells not doing damage after cherry-picking 83a9222c39
2021-12-14 16:13:41 +01:00
Wyrserth
832409e512
DB/SAI: add emotestate and OOC text for creature Zeh'gehn and improve end event for quest A Carver and a Croaker.
...
(cherry picked from commit 9530c33af0847ac13826d20f21d2447f0817bfa5)
2021-12-14 00:18:59 +01:00
Killyana
b86cf349b6
DB/Quest: Tome of Cabal
...
Closes #23560
(cherry picked from commit 1557a806104a886672bb421f9c12c0f39989f6b1)
2021-12-14 00:16:01 +01:00
Giacomo Pozzoni
c5173aca15
Core/Quest: Fix repeatable quest mark ( #23338 )
...
(cherry picked from commit 2cb4517303b217c57f52577a91184dc956a5c423)
2021-12-14 00:13:47 +01:00
Treeston
513b35ea2f
Entities/Unit: Properly unset engaged flag for creates that cannot have a threat list on combat exit. Fixes #23518 .
...
(cherry picked from commit f44539b64247ff626c53dc899c4ac3023bf9aa80)
2021-12-14 00:07:37 +01:00
Gildor
e0f3255f90
Scripts/Icecrown Citadel: Ensure Deathbringer Saurfang cast Frenzy ( #23559 )
...
(cherry picked from commit a0a64b10b53e74c0cfaa518f196150c622e75bd2)
2021-12-14 00:07:14 +01:00
Treeston
096269349c
Entities/Player: Fix an edge case where overlapping CCs could prevent player movement from being re-enabled. f6f1c48 follow-up.
...
(cherry picked from commit 4e767f1c7cd0cae6316982e38be66f560baafea5)
2021-12-14 00:06:51 +01:00
Wyrserth
0d9a7f626d
DB/Creature: remove wrong repairer npcflag from NPC Perascamin.
...
(cherry picked from commit cc5088369b43f25f68443e1018e994694158c2c2)
2021-12-14 00:06:37 +01:00
Wyrserth
fdd5063ba2
DB/SAI: add some missing RP events to Culling of Stratholme.
...
Scripted RP events involving NPCs Stephanie Sindree, Brandon Eiredeck and Patricia O'Reilly.
(cherry picked from commit c63bbb97b4850abfd60917bd9b668f276f9ecedb)
2021-12-14 00:01:42 +01:00
Wyrserth
13519dc043
DB/Vendor: rework Griftah's inventory.
...
Remove deprecated items and fix slot ordering.
(cherry picked from commit f05891405ab40502cfa67fdcff0edb1391ff8719)
2021-12-13 23:51:44 +01:00
Treeston
bba4696de7
Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness. Closes #23539 .
...
(cherry picked from commit f6f1c48aa592ea10c99fd23f46e94934b2f0cef2)
2021-12-13 23:44:13 +01:00
Shauren
e01f3c81f9
DB/Hotfixes: Add missing hotfix optional data for each locale
2021-12-13 22:51:49 +01:00
Wyrserth
9cfa2ed71e
Script/HallsOfLightning: fix mistake related to Shattering Stomp in Volkhan's script, introduced in 3bb0abcd525218c0423421979177675004787707.
...
Closes #23337 .
(cherry picked from commit a8b8a43b8d86f0039f4b4ac2c251d55ba3b6a4ed)
2021-12-13 00:42:20 +01:00
ForesterDev
27886c7f5d
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
(cherry picked from commit b47bb59e2a3e42aff3793517ef94f51678b54905)
2021-12-13 00:42:20 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Sorikoff
b8d675eba7
Scripts/Spells: Dimensional Ripper - Everlook ( #23547 )
...
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Wyrserth
1005389b14
DB/SAI: remove delay between clicking gossip and creature text/change faction for NPC Victorious Challenger involved in quest Taking on All Challengers.
...
(cherry picked from commit 5a9516cd9c27fc9f4f444d8658d9bd6ac3afc027)
2021-12-13 00:42:20 +01:00
Wyrserth
a117beb1b3
DB/Creature: Hyldsmeet Warbear shouldn't have random movement.
...
(cherry picked from commit 4a875ec392b41030ea8f394335edc2860079fbb9)
2021-12-13 00:42:20 +01:00
Wyrserth
c9cb12afc3
DB/Creature: add emote state and out of combat emote for NPC Brunnhildar Challenger.
...
(cherry picked from commit dd870a141fd521d1e760f984bc93db6101d8e733)
2021-12-13 00:42:20 +01:00
Wyrserth
04675c2322
DB/Conditions: allow gossip option for NPC Agnetta Tyrsdottar to show only if the quest Is That Your Goblin? is taken but not completed.
...
(cherry picked from commit e621d40ddcb7b8d70012ea27aa78baf81d0a7902)
2021-12-13 00:42:20 +01:00
Wyrserth
819f8b1a2d
Script/DarkmoonFaire: fix logical error in go_darkmoon_faire_music.
...
Closes #23548 .
(cherry picked from commit 028d16a812bd3ff56f19da919ca1a35e7523fe8c)
2021-12-13 00:42:19 +01:00
Rynem
ed85a1b701
DB/Quest: fix chaining for quests offered by Lantresor of the Blade.
...
Closes #22440 .
(cherry picked from commit 72917d5036be071a7243c1faa602dd1ad17543ba)
2021-12-13 00:42:19 +01:00
Wyrserth
ecce30a807
Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
...
Allows the gossip window to close after the client receives a quest failed error (for example: not enough inventory space to store the reward).
(cherry picked from commit c8289ada7f7d31a5e608c932db71ee6ec7fce0e6)
2021-12-13 00:42:19 +01:00
ccrs
2e4f38d949
Scripts/ICC: cleanup ReadSaveDataMore definition
...
(cherry picked from commit 4c398743b9ea67090dcb390643a7aa5bd49348c3)
2021-12-13 00:42:19 +01:00
ccrs
3bc4fc65b9
Scripts/ICC: 3dbf3fe followup
...
repeat timer typo
(cherry picked from commit b19a23a5c6b7d6cac972ebb2e917dc378f61c993)
2021-12-13 00:42:19 +01:00
Wyrserth
0476ee41e1
DB/SAI: implement out-of-combat event for NPC Ranger Sareyn.
...
Closes #23538 .
(cherry picked from commit ce3820031d4185d4124fa062baa99619e483a84c)
2021-12-13 00:42:19 +01:00