Commit Graph

1160 Commits

Author SHA1 Message Date
Kitzunu bf05bd3c88 refactor(Core/BattlegroundSA): Convert to std::chrono (#8499) 2021-11-25 14:24:43 -03:00
acidmanifesto 29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix 140374e3e0 fix(Core): Fixed dead loop. (#9312) 2021-11-24 10:27:10 -03:00
Skjalf bf666becd9 fix(Core/Creature): prevent useless grid searches (#9307) 2021-11-24 12:02:46 +01:00
Petric 11373cd78a fix(Core/Shutdown): add checks to see if MapUpdater threads are joineable (#7450) 2021-11-24 11:41:49 +01:00
Skjalf fc16abc30e fix(Core/Creature): crash on creature evade (#9305) 2021-11-24 10:23:18 +01:00
Skjalf 2187470df7 refactor(Scripts/Commands): Update cs_quest to the new model (#9267) 2021-11-24 01:21:16 -03:00
Kitzunu 0a1e841277 feat(DB): skilltiers_dbc (#6756) 2021-11-24 01:12:24 +01:00
UltraNix 647c91605c fix(Core/Spells): Autoshot should not interrupt Volley (#9202)
- Closes #8883
2021-11-23 20:13:06 +01:00
UltraNix a0002afe07 fix(Core/Spells): properly handle item cooldowns (#9176)
- Closes #8918
2021-11-23 13:25:29 +01:00
patou01 0f4268bea7 fix(Core/DB): add exceptions for shield and badge. Update db for positions (#9169)
Co-authored-by: Patou01 <youdontneed@this.com>
2021-11-23 00:34:11 +01:00
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