Commit Graph
27933 Commits
Author SHA1 Message Date
offl 08d8843e1a DB/Creature: Zaetar's Spirit
(cherry picked from commit 44a265685ea27953ea98008ec6660954b3bf217b)
2022-03-21 21:07:55 +01:00
offl 6d36a4f77a Scripts/Quest: Make 'Search and Rescue' less hacky (#27227)
(cherry picked from commit 6e07acbbdeb5fdc3072af480175267ca5969efc2)
2022-03-21 00:22:02 +01:00
offl 77bb4d2619 Scripts/Quest: Update 'Trail of Fire' & 'Warning: Some Assembly Required' (#27184)
(cherry picked from commit cbb13b0efbdfa86657b05710672df588701a1280)
2022-03-21 00:20:06 +01:00
offl 3fbc9d796d Scripts/Misc: Migrate Operation Gnomeregan & Zalazane's Fall scripts to own files (#27163)
(cherry picked from commit d42c89aa04e58f74069ac1fdda94d7fbba1a7a52)
2022-03-21 00:18:17 +01:00
offl d013a8251f Scripts/Misc: Replace some of AddItem / CreateItem with spells (#27160)
(cherry picked from commit ed38206031f25fec73282044293238c9573a89d9)
2022-03-21 00:12:30 +01:00
Shauren 1d9ed7fb46 Core/Creatures: Refactor ObjectMgr::ChooseCreatureFlags to allow selecting only 1 flag field
(cherry picked from commit e4430cd2bedf2079961bd1a30ba9f5f1de93af82)
2022-03-21 00:07:29 +01:00
Keader 381c543c60 Core/Unit: Fixed wrong combat stop when set charm
(cherry picked from commit 9b354c6bebdf9fe9c9842330447162edc63cc751)
2022-03-20 23:50:55 +01:00
Gildor 2cfcecaf26 Scripts/Uldaman: Fix Ironaya crash (#27189)
* Scripts/Uldaman: Fix Ironaya crash
* little code cleanup

* oops

(cherry picked from commit cb4e12bdf09f81c57b54b0b7d429461c2fc1f64b)
2022-03-20 23:47:58 +01:00
kvolk2git e799c4e003 add item xxxxx show to who was added item (#27020)
Co-authored-by: Aokromes <[email protected]>
(cherry picked from commit 822b32b64bbea2640f68edd9d110f8379c4a3c42)
2022-03-20 19:44:19 +01:00
ihm-tswow 59889d926d Scripts/Commands: fix .learn all recipes (#27153)
if client had same locale as server, the command didn't work (should've been != and not ==).  Furthermore, server dbcs only have the server locale for these, and they might or might not match up with the client. only downside of removing the check entirely is possibility of mixups if two locales have overlapping names for different skills. I highly doubt a single such instance exists.

(cherry picked from commit c946370c5f03c53c4f9bb3d147abcc6b37f4f36d)
2022-03-20 19:39:59 +01:00
offl 7e9845730e DB/Creature: The Brewmaiden & The Black Brewmaiden (#27133)
Closes #27127

(cherry picked from commit 2f0b7a756a6d8a6a8ae8c5fd5c311fab75e813db)
2022-03-20 16:43:11 +01:00
offl 6ac4e9dd4a Core/SAI: Make 'no, thanks' actions deprecated
Deprecated events and actions will be removed after 2 weeks

(cherry picked from commit ab3bb36a46d5419cd0ac95ab367e68252ec88044)
2022-03-20 16:39:53 +01:00
offl 7a0268d4f1 Core/Scripting: Get rid of ModifyVehiclePassengerExitPos (#27126)
(cherry picked from commit d7adc50daa5a20142e0f39a9f65d39869525fd0e)
2022-03-20 16:27:10 +01:00
Lucas Nascimento 7de20bcc1c Entities/Unit: Fixed wrong combat stop when remove charm (#27038)
(cherry picked from commit fa3a62ae4e890dc526f2f0474e3469ccddb15edf)
2022-03-20 16:03:44 +01:00
offl 0ad6258d4b Core/SAI: Make SMART_EVENT_WAYPOINT_START & SMART_EVENT_CHARMED_TARGET deprecated
Deprecated events and actions will be removed after 2 weeks

(cherry picked from commit 9e78329c8b8294f3d4bc6e6ca4e6abfe6d53b917)
2022-03-20 00:47:12 +01:00
offl 2beb606cdf DB/SAI: Make SMART_EVENT_EVENT_PHASE_CHANGE deprecated; avoid AddAura, re-handle equipment in few scripts
Deprecated events and actions will be removed after 2 weeks

Ref 1d1e090fe928665d0612482f222466535f94852c 0e1835ee78bd8f79b8dcd5f3ed6d9f7be1eccadb

(cherry picked from commit 1053345692750d978ed44eef6cc7110064c423fc)
2022-03-20 00:45:30 +01:00
Shauren 7260fcb5c6 Core/Conditions: Fixed conditions not working for area auras
(cherry picked from commit 8693ee56955ce4d31e9e69f3971f52e250c1280c)
2022-03-20 00:29:35 +01:00
Jinnaix 01da436206 Core/Creature: Formation reset (#27040)
* Core/Creature: Formation reset

* Update CreatureGroups.cpp

whoops

* Core/Creature: Formation reset
Keep dismiss functionality

(cherry picked from commit 7051aab4219765e0c9faac0ce7bde0160451712a)
2022-03-20 00:19:42 +01:00
offl 29190e5642 Core/SAI: Remove deprecated events and actions (#27039)
(cherry picked from commit 887605d945fd2330865e84fd066a84e6f4570149)
2022-03-20 00:13:00 +01:00
Lucas Nascimento 4c632bb690 Core/Unit: Fixed Deterrence stopping working for no reason (#26996)
(cherry picked from commit 63c6f7bc26b73f59165179935d2556aea1636f12)
2022-03-20 00:05:21 +01:00
Malcrom 64933d033e Script/World: Brewfest Reveler Script (#27031)
(cherry picked from commit 83ae8fc5197f90ba97de2e961f7c98e3c567837b)
2022-03-19 23:47:01 +01:00
offl 47bcacd00a Core/Creature: Disallow nearly all non-static flags on DB side (#27024)
Closes #25764

(cherry picked from commit a88001938e1e77532c5db9596abc9efdef6d2257)
2022-03-19 23:30:15 +01:00
offl 2e3f240051 Scripts/Spells: Handle quest tame spells in spell script (#27022)
(cherry picked from commit 4441d42253d64ccd8fc9f78f1b44c851d6408312)
2022-03-19 23:14:52 +01:00
Giacomo Pozzoni 64a91288d6 Scripts/Commands: account onlinelist (#27004)
* Script/Commands: Remove sync db queries from ".account onlinelist"

* Add additional "account onlinelist" commands

- "account onlinelist ip" to filter by ip address
- "account onlinelist limit" to limit the output rows
- "account onlinelist map" to filter by map id
- "account onlinelist zone" to filter by zone id

* Update src/server/scripts/Commands/cs_account.cpp

(cherry picked from commit e3591b25a55d1d4dc642a5a35f851b19586a0110)
2022-03-19 23:04:42 +01:00
Giacomo Pozzoni a4b1cda2c0 Script/Commands: Allow to specify the target player in .additem command (#26997)
* Script/Commands: Allow to specify the target player in .additem command

New syntax: .additem <required item id> <optional item count> <optional player name>
Close #25875

* Move target player to new command ".additem to <player> <item> <count>"

(cherry picked from commit bebf1876ab506851a56e1619444e57d0f0b4b128)
2022-03-19 23:00:41 +01:00
Aokromes a7e90650fe Scripts/Misc: Remove 2 logs, they are handled by gm logs
(cherry picked from commit a462daa01c6b966821fadbd64b881020067cf6bd)
2022-03-19 22:54:49 +01:00
trickerer 6c9bde098b Core/Combat Improve extra attacks handling (#26859)
* Core/Combat Improve extra attacks handling

* Remove unnecessary _lastDamagedTargetGuid check

* Add missing initialization of _lastExtraAttackSpell. Do not use hardcoded spell ids.

* Partially revert 9f90b835019b

(cherry picked from commit 084f8f3ded45150a57eabd3ad117f1152d4d046d)
2022-03-19 22:37:41 +01:00
Maks Szokalski 179686d4c9 Flash worldserver on taskbar on thread start (#26886)
* Flush worldserver on taskbar on thread start

* update

* update

* fix codestyle

* Update worldserver.conf.dist

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: NoName <[email protected]>

Co-authored-by: NoName <[email protected]>
(cherry picked from commit b1e7f2489c071fefb3cff3bbd295c45c81e7a69c)
2022-03-19 20:07:17 +01:00
Mikhail Redko 72a4fccaab Core/Misc: Improvement item durability repair logic. (#26911)
* Core/Misc: Improvement item durability repair logic.

* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database

Closes #25937

* Fix build

* Remove unnecessary scope

* Fix visual studio warning and one more check for reliability

(cherry picked from commit 3cef126d0a449219f154a6498d26831f86220dfa)
2022-03-19 16:55:55 +01:00
Keader 42de9d9cd8 Scripts/ICC: Implemented spell Dark Reckoning
Closes #26941

(cherry picked from commit bddf41e718e45b32225af590d35e60b4ffbe4f38)
2022-03-18 00:06:15 +01:00
offl e80777cb39 Core/SAI: Split set/remove unit_flags actions (#26954)
(cherry picked from commit 0a2fca1aed4f2926c73f906769ff92918f7e2dbd)
2022-03-18 00:04:03 +01:00
offl 5f40959687 Scripts/Spells: Mount check aura for Gryphon Hatchling & Wind Rider Cub (#26897)
Closes #26600

(cherry picked from commit 5f71c40b969c07f950e3dceb99037c7685512e71)
2022-03-17 23:59:01 +01:00
offl 4e42ea2aca Core/Misc: Link CREATURE_FLAG_EXTRA_INSTANCE_BIND to corresponding static flag
(cherry picked from commit f89bb434196c045b684218f5e7a10a6ffd5cd421)
2022-03-16 00:06:34 +01:00
offl f55e86d907 Core/SAI: Remove possibility to set/remove unit_flags2
So far I see that only Cannot Turn flag can be changed by scripts and action to change it didn't existed in 3xx. If someone will need to change that flag, it should be implemented by action which will change only that flag and not any flag of that type.

(cherry picked from commit c8061d8ba620e78c1344ad5f2d476d7d6e5057cb)
2022-03-15 23:59:35 +01:00
offl 340091f8ff Core/Misc: Leave detailed description for UNIT_FLAG_NON_ATTACKABLE
(cherry picked from commit 8a70efed8c56b0b24caa4f449279e75b2375e45f)
2022-03-15 23:55:41 +01:00
offl 122b2e4665 Core/Misc: Update comments of static flags
(cherry picked from commit b4bb2bc0c52f682564e97d8e23d23784ce37c0ba)
2022-03-15 23:55:32 +01:00
offl 8bd9a211fe Core/Misc: Update enums of static flags
(cherry picked from commit f381e1824423d9ef0307b63651a90f29b4bab5f9)
2022-03-15 23:55:19 +01:00
offl 9161c93d09 Core/Misc: Rename few type flags
(cherry picked from commit 4b028e599e06b4f7501298dc3410be89616c9720)
2022-03-15 23:55:08 +01:00
offl 5de542610f Core/Misc: Name unknown CreatureEliteType
(cherry picked from commit 8047532605957e2d387251677e616f4407fb9f6e)
2022-03-15 23:53:31 +01:00
offl 7cba68ca17 Core/Misc: Rename UNIT_FLAG_PVP to UNIT_FLAG_PVP_ENABLING
Ref #26912

(cherry picked from commit 4e291caff80b1e6b7f67fcd7d2c38bccc05fd8e6)
2022-03-15 23:47:46 +01:00
offl ad0ebedd9b Core/Misc: Rename UNIT_FLAG_SWIMMING to UNIT_FLAG_CAN_SWIM
Ref #26912

(cherry picked from commit e4a82ee97ad99f751216af47c88f29ff118d771b)
2022-03-15 23:47:31 +01:00
offl 661a24b7b1 Core/Misc: Rename UNIT_FLAG_TAXI_FLIGHT to UNIT_FLAG_ON_TAXI
Ref #26912

(cherry picked from commit a50ce8755b43b7c3bf98e1e0d8c36411a292f284)
2022-03-15 23:32:27 +01:00
offl 756ef6799a Core/Creature: Add first 4 enums of static flags (#26914)
(cherry picked from commit 1a9b914ac0085089712ffddac3e27ff9cff2d995)
2022-03-15 23:11:44 +01:00
offl c4906ce60b Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-15 23:03:26 +01:00
offl 6a5f3835f3 Scripts/Misc: Remove useless comments & Varos' Centrifuge Shield adjustments
(cherry picked from commit b2fffe674d545f1c5ed5ada3041f23872dccfb30)
2022-03-15 22:24:44 +01:00
offl 2d4f087f85 Scripts/Creature: Update Dancing Flames (#26883)
(cherry picked from commit 70c3e58327855eb0e05a235f31bf72e135846877)
2022-03-15 00:11:06 +01:00
offl 0506f21f5e DB/Creature: Remove remaining non-static flags from DB, finally (#26884)
(cherry picked from commit 0e12e23f7784b4a80d3515cb094342cb677e35b2)
2022-03-14 23:56:38 +01:00
HelloKitty c50c877bdb Core/QuestHandler: Fix potential crash caused by QUEST_FLAGS_PARTY_ACCEPT with conditions (#26880)
(cherry picked from commit 5a60082e5d3a5290f142168c3142c54b000cb2b0)
2022-03-14 23:55:09 +01:00
Gildor 81e9f0ef79 Core/Disables: Fixed params_1 (SPELL_DISABLE_AREA) data loading for DISABLE_TYPE_SPELL (#26878)
(cherry picked from commit 188b074f3ca0b303b263dc3bb2cfc093c0731a64)
2022-03-14 23:53:42 +01:00
offl 94840f791c DB/GameObject: Update Toy Train Set
(cherry picked from commit fd9d04062c129049a134768ec15d09402c3fa95a)
2022-03-14 23:51:23 +01:00