Commit Graph

1149 Commits

Author SHA1 Message Date
UltraNix dc9c3a5fe4 fix(Core/GameObjects): Lockpicking timer on gameobjects should reset … (#9203)
* fix(Core/GameObjects): Lockpicking timer on gameobjects should reset after 10 minutes.

Fixes #8936
2021-11-22 12:07:55 -03:00
Kargatum f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
IntelligentQuantum 92b3617f63 fix(Core/Spells): Item Fresh Brewfest Hops (#8010) 2021-11-21 10:50:03 -03:00
IntelligentQuantum faa4035de7 fix(Core/Spells): Fix spellclick (#8232) 2021-11-21 09:21:21 -03:00
UltraNix 79ad100017 Revert "fix(Core/Spells): Lowered Magmadar Panic's effect radius to 30 yards. (#9227)" (#9266)
This reverts commit 31de71bf3b.
2021-11-21 00:37:51 -03:00
UltraNix 02aaa3d17f fix(Core/Spell): Add Dual Wield skill dependency to Dual Wield effect, sho… (#9162)
* Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell. Source: TrinityCore.

Fixes #8882
2021-11-20 23:44:44 -03:00
Skjalf 3d95308d40 feat(Scripts/Commands): Implement restart/shutdown reasons (#9242) 2021-11-20 16:47:41 -03:00
UltraNix c8466fa218 fix(Core/SmartScripts): SMART_ACTION_ACTIVATE_GOBJECT should not rese… (#9178)
* fix(Core/SmartScripts): SMART_ACTION_ACTIVATE_GOBJECT should not reset loot state for doors.

Fixes #8937
2021-11-20 12:27:06 -03:00
Kitzunu d8f4a5cd0c refactor(Core/BattlegroundRV): Convert to std::chrono (#8498) 2021-11-20 11:56:16 -03:00
Kitzunu 6a430cd2f9 fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2021-11-20 09:59:52 -03:00
schell244 efe999309a fix(Core/CreatureAI): enemy stealth alert ignoring LOS (#9161) 2021-11-20 10:38:08 +01:00
UltraNix e747716230 feat(Core/SmartScripts): SMART_ACTION_CALL_FOR_HELP should properly call assistance in case of polymorphed creature. (#9231)
Updates #9120
2021-11-19 15:53:59 -03:00
UltraNix 31de71bf3b fix(Core/Spells): Lowered Magmadar Panic's effect radius to 30 yards. (#9227)
Fixes #9115
2021-11-19 05:44:43 -03:00
UltraNix 02ae2ed3f9 fix(Core/Spells): Flamewaker's Sunder Armor should be single stack. (#9228) 2021-11-19 05:25:27 -03:00
Skjalf 55d17c1c53 chore(Core/AH): update auction house files after cache update (#9244) 2021-11-18 14:48:31 -03:00
Skjalf 731d256420 refactor(Core/Cache): move the GlobalPlayerCache to its own class (#9166) 2021-11-18 16:53:36 +01:00
acidmanifesto de6af87bd3 fix(Core/Objects): increase sight range of objects & correct general defau… (#9180) 2021-11-17 16:00:01 -03:00
IntelligentQuantum cb00a336df feat(Core/CharacterHandler): (#9147)
Both Faction - Argent Crusade, Frenzyheart Tribe, Kirin Tor, Knights of the Ebon Blade, The Ashen Verdict, The Kalu'ak, The Oracles, The Sons of Hodir, The Wyrmrest Accord

Alliance - Alliance Vanguard, Explorers' League, The Frostborn, The Silver Covenant, Valiance Expedition

Horde - Horde Expedition, The Hand of Vengeance, The Sunreavers, The Taunka, Warsong Offensive
2021-11-17 14:13:03 +01:00
Skjalf 39425e0c1f feat(Core/Loot): Implement player_loot_template (#9198)
* Also fix AV player loot
2021-11-17 08:07:21 -03:00
Andrius Peleckas 31f028abfc feat(Core/Formations): implemented a new formation groupAI flag "GROUP_AI_FLAG_EVADE_TOGETHER" (#8758) 2021-11-16 15:14:34 -03:00
UltraNix 3895487dc2 fix(Core/AuctionHouse): Implemented sorting. Based on @r00ty-tc work. (#9011)
Fixes #8728
2021-11-16 13:32:12 -03:00
UltraNix 70fbaefa8e fix(Core/Movement): creatures should not cast while moving (#9141)
- Closes #8843
2021-11-15 14:39:36 +01:00
acidmanifesto 006ee3b7e2 chore(Core): remove duplicate comment (#9140) 2021-11-15 12:51:15 +01:00
UltraNix a0a5a9a223 fix(Core/DungeonFinder): premade LFG groups are considered as single-person groups (#9135)
- Closes #8812
2021-11-14 23:49:38 +01:00
UltraNix c3ed68bb5e fix(Core/Spells): health-dependent reactive states should reset on death (#9134)
- Closes #8798
2021-11-14 21:22:50 +01:00
UltraNix 3c8bcf31ac fix(Core/Spells): Steady Shoot should not suspend ranged attack timer. (#9125)
Fixes #9107
2021-11-13 22:58:22 +01:00
Skjalf e78c696cf6 fix(Core/Disables): Remove validation checks from DISABLE_TYPE_GAME_EVENT (#9167)
Disables are loaded before game events
2021-11-13 07:33:22 -03:00
Kitzunu 743636c416 fix(Scripts/Spell): don't allow to tame an already owned creature (#9005) 2021-11-13 01:00:30 +01:00
UltraNix 7201d8840f fix(Scripts/BlackrockSpire): Urok Doomhowl - improvements: (#9067)
The mobs should attack the pike if there is no players around
The boss should not despawning after summon
Urok's Tribute Pile with Pike and Head should disapear after Urok appear
Fixes #9023
2021-11-12 09:46:07 -03:00
sschepens b7f8083915 feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of https://github.com/TrinityCore/TrinityCore/commit/2585e799f95f259dd4b422daf15ef7963173c408
2021-11-10 23:43:00 +01:00
Skjalf 855f098a57 feat(Core/Disables): Implement DISABLE_TYPE_GAME_EVENT (#9099) 2021-11-10 15:06:46 -03:00
Francesco Borzì 1cd8c43447 fix(CI): revert sleep + fix shadowing variable issue (#9106) 2021-11-10 10:18:40 +01:00
Francesco Borzì acf6aab247 fix(CI): trigger builds on C++ changes (#9103) 2021-11-10 10:08:52 +01:00
sschepens fb2a0a8336 refactor(Core): move complex functions from Object.h to Object.cpp (#9016)
Co-authored-by: QAston <qaston@gmail.com>
2021-11-09 20:32:44 +01:00
patou01 863455736e fix(core/Creature): initialize AI before calling OnCreatureCreate 2021-11-09 14:38:59 -03:00
UltraNix affa6f9084 refactor(Core/Combat): Cleanup DoZoneInCombat function. (#8789)
* Core/Combat: Cleanup DoZoneInCombat function.

Updates #7960

* Restore distance parameter.

* You don't belong here.

* Update
2021-11-09 00:54:44 +01:00
Kitzunu 24f9f993cc refactor(GameObjectAI): Change self-accessor to "me" (#9041) 2021-11-08 22:06:04 +01:00
Kitzunu a062653c0e chore(Script/ApplySpellFix): Correct some comments (#9001) 2021-11-08 13:46:11 -03:00
IntelligentQuantum 4653641a0b refactor(Scripts/Commands): Convert cs_cast to new system (#8997) 2021-11-08 09:06:51 -03:00
UltraNix e55a93eec8 Core/Spells: Triggered spells should not cause players to stand up (#8986)
- Closes #8764
2021-11-07 20:41:25 +01:00
UltraNix b00e9072b4 fix(Core/Spells): Troll Roof Stalker's Stealth and Ashenvale Outrunne… (#8984)
- Closes #8727
2021-11-07 20:41:07 +01:00
UltraNix 9f0a78a0ca fix(Core/Spells): Slam should suspend attack timers (#8981)
- Closes #8723
2021-11-07 20:40:48 +01:00
UltraNix 0e84538ee1 fix(Core/Players): charge should not delay player's auto attacks (#8978)
- Closes #7266
2021-11-07 20:40:34 +01:00
UltraNix 53a7a295fd fix(Core/DungeonFinder): enable requeueing inside random dungeon (#8948)
- Closes #8609
2021-11-07 20:40:03 +01:00
Kargatum c0728f6e2d feat(Core/Packets): rework HandleWhoOpcode (#8863) 2021-11-07 09:51:36 +01:00
Kitzunu 430fa147fd feat(Scripts): Implement generic script loader and registry macros (#8976)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/fb87ac8e8da3d215d4988b8c2fa25d7a98cf9ee0)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/7d4fbf706ae19481468901ccd65c497fcabe56bf#diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/75a6a7a0ad48874e75dd71f766dad3707341bb32#diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764)

Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com>
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-07 02:21:00 -03:00
acidmanifesto 0958f2f129 fix(Core/DB/SAI): [Quest] - Weapons of Spirit / Allows Value 3 for react SAI WP Start Consolidated PR (#8926) 2021-11-07 00:21:05 +01:00
UltraNix 70d8b88f3b feat(Core/Modules): Preparation to implement progression-system module. (#8837) 2021-11-06 10:06:12 -03:00
acidmanifesto 93bbff4cca feat(Core/SAI): Wp table add in orientation and delay collumn (#8927)
ADD (Core) Wp table add in orientation and delay collumn
TC Cherry pick of TrinityCore/TrinityCore@4b7d19c
2021-11-06 08:43:45 -03:00
Skjalf eb62acfad5 feat(Core/World): Don't prevent players from logging characters by default (#8993) 2021-11-05 21:31:45 -03:00