Commit Graph

19053 Commits

Author SHA1 Message Date
ModoX a17944e91e Core/Quests: Set quest slot earlier when abandoning a quest (#27584)
* fixes quest objective conditions still being true when quest is abandoned
2022-01-13 20:31:51 +01:00
Shauren 1989c68fb6 Core/Items: Change missed enchantment flag checks to use enum instead of raw number 2022-01-13 16:43:44 +01:00
Shauren c5727921b9 Warning fix 2022-01-13 00:07:08 +01:00
My name is Mud d6c43b3d63 Scripts/Spells: Fixed mage talent Firestarter (#27576)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-12 23:49:14 +01:00
My name is Mud 3dceb3622f Scripts/Spells: Fixed hunter talent A Murder of Crows (#27566)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-12 23:10:44 +01:00
Ovah 97fe56962a Scripts/Baradin Hold: fixed a crash in Occuthar's Focused Fire target selection and improved target filter scripts (#27604) 2022-01-12 22:23:58 +01:00
ModoX b987a8968b Core/Conditions: Added conditions for object visibility (#27565) 2022-01-12 21:54:03 +01:00
Shauren 6ca301e863 Core/Phasing: Fixed stack overflow happening when modifying vehicle passenger phases (looping player->vehicle->passenger(player)->vehicle...)
Closes #27599
2022-01-12 15:09:36 +01:00
Shauren 6f8d6f5c9b Core/Groups: Fixed crash in loot rolls happening when looted object despawns before roll expires
Closes #27600
2022-01-12 12:55:50 +01:00
Shauren 5889ab893e Core/Units: Fixed crash happening when despawning summoned units whose owner is no longer in world
Closes #27598
2022-01-12 12:50:17 +01:00
Robingad bd19e22513 Scripts/Spells: Fix shaman Mastery: Elemental Overload + Stormkeeper and Unlimited Power talents (#27561)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-12 12:48:43 +01:00
Shauren b4b58c563b Core/Spells: Fixed typo in loading serverside spells 2022-01-11 21:08:22 +01:00
Shauren bf6b3aaed6 Core/Auras: Fixed sending EstimatedPoints for auras that have only some effects that use it 2022-01-11 19:21:51 +01:00
Shauren 415aaae7f2 Core/Spells: Validate spell_proc.AttributesMask on startup 2022-01-11 19:05:35 +01:00
ModoX 4772b55368 Core/Player: Fixed home position for fresh created characters
Closes #27588
2022-01-11 03:47:43 +01:00
My name is Mud 043d1cf254 Scripts/Spells: Fix priest Shadow Mend damage (#27525) 2022-01-10 00:28:50 +01:00
aquadeus 9dc11391c5 Core/Guilds: Implemented reordering guild ranks 2022-01-09 23:12:00 +01:00
Shauren 0d3235f569 Core/Guilds: Separate guild rank id from guild rank order
Co-authored-by: aquadeus <efectokoleos13@gmail.com>
2022-01-09 23:12:00 +01:00
My name is Mud 861d572f9c Scripts/Spells: Fix shaman talent Spirit Wolf (#27478) 2022-01-09 19:06:48 +01:00
Shauren 241193cd02 Core/Items: Implemented many new enchantment flags 2022-01-09 16:31:12 +01:00
Shauren 6df3cb0995 Scripts/Spells: Corrected script registrations for shaman spells to match db2 data 2022-01-09 14:59:35 +01:00
Shauren b042919daf Scripts/Spells: Updated Windfury Weapon script 2022-01-09 14:42:55 +01:00
Shauren 5f0f9e6875 Core/Spells: Added Spell const* constructor overload to CastSpellExtraArgs 2022-01-09 14:42:35 +01:00
Shauren 60539d2e24 Scripts/Spells: Changed shaman Healing Stream Totem target selection to use Trinity::SelectRandomInjuredTargets 2022-01-09 13:44:43 +01:00
Shauren 4d3439b024 Scripts/Spells: Fixed shaman Healing Rain target limit 2022-01-09 13:43:45 +01:00
Shauren 30f232d5db Scripts/Spells: Fixed shaman Healing Rain not doing anything 2022-01-09 12:45:32 +01:00
Shauren bd60df2ce0 Scripts/Spells: Fixed mage talent Chrono Shift
Closes #19575
2022-01-07 22:46:00 +01:00
My name is Mud 1410e018eb Scripts/Spells: Fix Warlock Drain Soul energize (#27512) 2022-01-07 22:17:12 +01:00
Meji ddc71206de Core/Spells: Implemented spell effect 225 (SPELL_EFFECT_GRANT_BATTLEPET_LEVEL) (#27506) 2022-01-07 22:14:07 +01:00
My name is Mud 7a7c0c25cd Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR (465) (#27539) 2022-01-07 15:08:21 +01:00
Shauren c5d3bd2cdd Core/Battlefield: Fixed startup crash when compiled without scripts
(cherry picked from commit 1405760f31)
2022-01-07 00:31:38 +01:00
Gildor 81a5bc597b Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy (#24864)
(cherry picked from commit 9405f78ee4)
2022-01-07 00:25:52 +01:00
Carbenium 366a514462 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class
(cherry picked from commit 488b91ab83)
2022-01-07 00:25:36 +01:00
Carbenium 81a3c135a7 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.

(cherry picked from commit c40b897d36)
2022-01-07 00:22:38 +01:00
Carbenium 49523a74a4 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.

(cherry picked from commit f7faf20254)
2022-01-07 00:20:57 +01:00
Shauren a26cc135fa Entities/WorldObject: Move IsInWorldPvpZone declaration to keep files similar to 3.3.5 2022-01-06 23:51:30 +01:00
Carbenium ca62d93481 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum

(cherry picked from commit 22c12e7123)
2022-01-06 23:50:34 +01:00
Carbenium 60b48ad046 Core/Misc: Create new enum for AreaIds
Move Wintergrasp BF related values there

(cherry picked from commit 6a8c12587e)
2022-01-06 23:42:15 +01:00
ipriver bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f94)
2022-01-06 23:40:39 +01:00
Shauren c776218cb5 Core/Misc: Properly close database connections when using --update-databases-only arg
(cherry picked from commit a9f9f737b2)
2022-01-06 23:35:09 +01:00
Rothend 962a2ac703 Core/EscortAI: set maximum distance allowed between player and escortee to default vision range. (#24865)
(cherry picked from commit 4caa218641)
2022-01-06 23:34:02 +01:00
jackpoz 4431df1f13 Core/LFG: Sanitize LFG roles sent by clients
(cherry picked from commit 3778f23c57)
2022-01-06 23:31:40 +01:00
NoName 959e84e715 Script/ScarletEnclave: Eye of acherus now rooted at spawn (#24725)
(cherry picked from commit 51b221c8f8)
2022-01-06 23:31:12 +01:00
Gildor 71ce61cc95 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative (#24862)
(cherry picked from commit a555bf1fd7)
2022-01-06 23:30:16 +01:00
ForesterDev 69cadae38a DB/Account: update account_access table cherry-pick take 2 (with refactors)
(cherry picked from commit 8e0365d8a6)
2022-01-06 23:28:52 +01:00
Killyana 81d6cde257 Script: Remove npc_avatar_of_martyred converted to SAI
Ref https://github.com/TrinityCore/TrinityCore/commit/5924e038d648e2074191ffc322732e875d37c39c

(cherry picked from commit 75bc0f6771)
2022-01-06 23:17:10 +01:00
jackpoz ebe183ea93 Scripts/VioletHold: Limit the number of current summons before the waves start
(cherry picked from commit 54e30d4eba)
2022-01-06 23:15:59 +01:00
Giacomo Pozzoni 07f42907c6 Log number of Creatures and GameObject per map (#24809)
* Shared/Metric: Allow to specify tags in metrics

* Core/Metric: Log number of Creatures and GameObject per map

* Apply feedback

* Codestyle changes

* Codestyle changes

* Remove whitespace

* Update Grafana dashboards to v7.0.3

* Fix missing filter on realm

* Include Creatures and Gameobjects in Maps dashboard

* Show instances with a different color

(cherry picked from commit 4e1dbd1cf8)
2022-01-06 23:15:07 +01:00
Gildor fc43a95729 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative (#24837)
(cherry picked from commit 7d88891983)
2022-01-06 23:13:44 +01:00
ipriver 8979493bb7 Additional cmake entry for configs
Closes #24812

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit dc467ee0f6)
2022-01-06 22:54:29 +01:00