Commit Graph

23404 Commits

Author SHA1 Message Date
offl c508203895 Core/SAI: Remove deprecated events and actions (#27258) 2021-11-10 16:55:38 +02:00
offl 7a307ebb6d Scripts/Creature: Replace trigger_periodic with unique scripts (#27240) 2021-11-10 16:49:33 +02:00
Gildor e02e784062 Core/Battlegrounds: Fix text messages in Eye of the Storm when capture Draenei Ruins (#27260) 2021-11-10 01:50:52 +02:00
offl 04909bada8 Core/SAI: Remove reactState param from SMART_ACTION_WP_START (#27255)
Ref #26728
2021-11-07 22:51:25 +02:00
Giacomo Pozzoni 0817be8f76 Core/SAI: Add SMART_ACTION_ACTIVATE_GAMEOBJECT action (#27216)
Closes #27196
2021-11-07 20:17:12 +02:00
Lucas Nascimento 0cc0b3f926 Core/Combat: Fixed combat after remove charm (#27248)
https://github.com/TrinityCore/TrinityCore/pull/27038#issuecomment-958784361
2021-11-06 10:24:32 -03:00
offl 44a265685e DB/Creature: Zaetar's Spirit 2021-11-02 03:29:40 +02:00
offl 6e07acbbde Scripts/Quest: Make 'Search and Rescue' less hacky (#27227) 2021-11-01 18:11:39 +02:00
offl cbb13b0efb Scripts/Quest: Update 'Trail of Fire' & 'Warning: Some Assembly Required' (#27184) 2021-11-01 18:10:39 +02:00
offl d42c89aa04 Scripts/Misc: Migrate Operation Gnomeregan & Zalazane's Fall scripts to own files (#27163) 2021-11-01 18:10:09 +02:00
offl ed38206031 Scripts/Misc: Replace some of AddItem / CreateItem with spells (#27160) 2021-11-01 18:09:24 +02:00
Shauren e4430cd2be Core/Creatures: Refactor ObjectMgr::ChooseCreatureFlags to allow selecting only 1 flag field 2021-10-31 13:31:37 +01:00
Keader 9b354c6beb Core/Unit: Fixed wrong combat stop when set charm 2021-10-30 11:08:56 -03:00
Gildor cb4e12bdf0 Scripts/Uldaman: Fix Ironaya crash (#27189)
* Scripts/Uldaman: Fix Ironaya crash
* little code cleanup

* oops
2021-10-29 19:38:01 +02:00
Lucas Nascimento 1403de8daf Core/Spells: Fixed Prayer of Mending (#27105)
Closes #3770
2021-10-25 19:31:58 -03:00
Shauren b0eaa938c9 Core/Conditions: Reserve CONDITION_SOURCE_TYPE_CONVERSATION_LINE = 29 for master branch 2021-10-25 16:35:56 +02:00
kvolk2git 822b32b64b add item xxxxx show to who was added item (#27020)
Co-authored-by: Aokromes <Aokromes@users.noreply.github.com>
2021-10-25 12:41:43 +02:00
ihm-tswow c946370c5f 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.
2021-10-24 17:56:01 +02:00
Shauren 7ecde6574a Core/Misc: Sync Languages.h content between branches 2021-10-23 20:21:58 +02:00
Shauren 0351ecff34 Core/Misc: Reserve LANG_NPCINFO_PHASE_IDS = 5087 2021-10-23 14:29:34 +02:00
Giacomo Pozzoni 235bfad329 Core/Misc: Fix no-pch GCC 11 build (#27150)
Add missing <limits> header

See http://gcc.gnu.org/gcc-11/porting_to.html for more info, section "Header dependency changes"
"Some C++ Standard Library headers have been changed to no longer include other headers that they do need to depend on. As such, C++ programs that used standard library components without including the right headers will no longer compile."
2021-10-23 12:39:39 +02:00
offl 2f0b7a756a DB/Creature: The Brewmaiden & The Black Brewmaiden (#27133)
Closes #27127
2021-10-21 02:15:57 +03:00
offl ab3bb36a46 Core/SAI: Make 'no, thanks' actions deprecated
Deprecated events and actions will be removed after 2 weeks
2021-10-21 00:58:32 +03:00
Duane Robertson f43c1459ff Core/AuctionHouse: Correct order of arguments in CHAR_UPD_AUCTION_BID (#27128) 2021-10-20 10:18:48 +02:00
offl d7adc50daa Core/Scripting: Get rid of ModifyVehiclePassengerExitPos (#27126) 2021-10-20 01:04:02 +03:00
Lucas Nascimento fa3a62ae4e Entities/Unit: Fixed wrong combat stop when remove charm (#27038) 2021-10-17 17:02:38 -03:00
offl 9e78329c8b Core/SAI: Make SMART_EVENT_WAYPOINT_START & SMART_EVENT_CHARMED_TARGET deprecated
Deprecated events and actions will be removed after 2 weeks
2021-10-14 23:30:41 +03:00
offl 1053345692 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 1d1e090fe9 0e1835ee78
2021-10-14 21:10:30 +03:00
Shauren 8693ee5695 Core/Conditions: Fixed conditions not working for area auras 2021-10-14 11:54:33 +02:00
Jinnaix 7051aab421 Core/Creature: Formation reset (#27040)
* Core/Creature: Formation reset

* Update CreatureGroups.cpp

whoops

* Core/Creature: Formation reset
Keep dismiss functionality
2021-10-13 17:20:29 +02:00
offl 887605d945 Core/SAI: Remove deprecated events and actions (#27039) 2021-10-11 19:26:19 +03:00
Lucas Nascimento 63c6f7bc26 Core/Unit: Fixed Deterrence stopping working for no reason (#26996) 2021-10-10 12:39:38 -03:00
Lucas Nascimento 708db54673 Scripts/Spells: Fixed Life Tap (#27003) 2021-10-09 10:16:55 -03:00
Malcrom 83ae8fc519 Script/World: Brewfest Reveler Script (#27031) 2021-10-08 18:32:31 +02:00
offl a88001938e Core/Creature: Disallow nearly all non-static flags on DB side (#27024)
Closes #25764
2021-10-07 16:06:08 +03:00
offl 4441d42253 Scripts/Spells: Handle quest tame spells in spell script (#27022) 2021-10-07 16:03:38 +03:00
Aokromes e8c005df3d Scripts/Misc: Remove again LANG_ADDITEM 2021-10-06 15:58:07 +02:00
Giacomo Pozzoni e3591b25a5 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
2021-10-06 11:32:37 +02:00
Giacomo Pozzoni bebf1876ab 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>"
2021-10-06 11:32:07 +02:00
Shauren ec4a3cd9ac Core/Conditions: Reserve CONDITION_SOURCE_TYPE_AREATRIGGER for master branch 2021-10-06 11:12:52 +02:00
Shauren c029f21f34 Core/Misc: Fix appleclang 12 warnings
(cherry picked from commit 3bf6698116)

# Conflicts:
#	src/server/game/Handlers/BlackMarketHandler.cpp
#	src/server/game/Loot/LootItemStorage.cpp
#	src/server/scripts/Northrend/Nexus/Oculus/boss_urom.cpp
#	src/server/shared/DataStores/DB2DatabaseLoader.cpp
2021-10-06 10:34:20 +02:00
Aokromes a462daa01c Scripts/Misc: Remove 2 logs, they are handled by gm logs 2021-10-05 15:52:33 +02:00
Giacomo Pozzoni 1c1c38ae97 Skip proccing Sheath of Light when at full health (#26987) 2021-10-02 16:33:38 +02:00
trickerer 084f8f3ded 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
2021-10-01 16:40:20 +02:00
Ovah e317beb449 Core/Units: removed an incorrect addition of SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER crit chance benefits (#26873)
This aura, as the name implies, should only affect the spells that it has listed in its class mask. Because the removed code was not doing so, it applied the crit chance on ALL melee and ranged spells. This fixes Stormstrike unintentionally increasing the crit chance for all melee attacks instead of the affected spells only
2021-10-01 16:38:29 +02:00
Maks Szokalski b1e7f2489c 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 <322016+Faq@users.noreply.github.com>

Co-authored-by: NoName <322016+Faq@users.noreply.github.com>
2021-10-01 16:37:39 +02:00
Mikhail Redko 3cef126d0a 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
2021-10-01 16:33:21 +02:00
HelloKitty 82aca86d87 Core/AH: Add search delay to SMSG_AUCTION_BIDDER_LIST_RESULT and SMSG_AUCTION_OWNER_LIST_RESULT (#26915) 2021-10-01 16:32:36 +02:00
Keader bddf41e718 Scripts/ICC: Implemented spell Dark Reckoning
Closes #26941
2021-09-28 21:48:46 -03:00
robinsch f30510566b Core/Spell: Allow inserting spell ids greater than 65535 into spell_learn_spell (#26958) 2021-09-28 11:46:34 +02:00