Commit Graph
25686 Commits
Author SHA1 Message Date
ModoX a048475cb0 Core/Spells: Implemented SpellValueMod duration (#26945) 2021-10-06 18:31:04 +02:00
Shauren 73e6cf4d27 Core/Misc: Fix another gcc warning 2021-10-06 12:19:05 +02:00
Treeston ad7ed86aad Common/Misc: Clean-up a GCC sign comparison warning
(cherry picked from commit 643b9209f8f1bc90fa4e26fc06e95f89b2b04899)
2021-10-06 11:45:54 +02:00
ModoX 3548467c93 Core/Conditions: Implemented conditions for areatriggers (#27021)
* also added example fix for Death's Power Grows quest
2021-10-06 10:22:41 +02:00
ModoX 45b4910c96 Scripts/Spells: Core/Spells: Fixed Consecration damage, implemented Hammer of the Righteous, partly implemented Consecrated Ground talent (#27005) 2021-10-05 22:50:40 +02:00
ModoX 00dd4629bd Core/Scenes: Defined more flags and implemented FadeToBlackscreenOnCancel (#26975) 2021-10-05 22:36:22 +02:00
ModoX 71eb30f89d Core/Characters: Added allied race creation data, implemented intro scenes & added config option to disable achievement requirements for allied races (#26974) 2021-10-05 18:17:29 +02:00
Shauren 6d93f0a5f7 Core/Scenes: Delay scenes sent when not in world until adding to map 2021-10-05 15:10:33 +02:00
Meji bedc050357 Core/Vendors: Support for vendors with empty inventory list (#26895) 2021-10-03 21:50:21 +02:00
ModoX 3080c37952 Scripts/Spells: Implemented Sigil of Silence/Misery/Flame/Chains (#27006) 2021-10-03 21:27:55 +02:00
Meji 0cfd14d2a0 Core/BattlePets: Misc fixes (#26990)
* Define BattlePetBreedQuality enum class.
* Check the quality of the battle pet species in battle_pet_quality table to avoid invalid values.
* Set CurrentBattlePetBreedQuality and WildBattlePetLevel update fields with the data of the summoned battle pet.
* Added function to calculate the WildBattlePetLevel of wild battle pets according to their spawn zone.
2021-10-03 21:20:45 +02:00
ModoX b1c0d069e1 Scripts/Spells: Implemented Wind Rush Totem (#26985) 2021-10-03 20:36:06 +02:00
Shauren cbf1f2883a Core/Spells: Reduce number of CastSpell overloads to 1 2021-10-03 19:58:03 +02:00
Shauren 555b2d40ec Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project 2021-10-03 16:36:39 +02:00
ModoX 0146eefee4 Core/Quests: Fill QuestPackageID field in SendQuestGiverQuestDetails (#27016) 2021-10-03 16:26:51 +02:00
Meji 5c287929b2 Core/Gossip: Update GossipOptionIcon enum (#26906) 2021-10-03 16:24:07 +02:00
Shauren 3af9be830d Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes 2021-10-03 14:58:35 +02:00
ModoX a0c4a3071c Core/Auras: Implemented new aura type 487 (SPELL_AURA_COSMETIC_MOUNTED) (#26988) 2021-10-02 21:59:22 +02:00
Shauren d54edfeb8b Core/Players: Implemented selecting Exile's Reach during character creation 2021-10-02 21:45:04 +02:00
Shauren 2bf8110032 Core/Players: Do not show zone on character list before first login 2021-10-02 21:46:58 +02:00
Shauren 696be301d3 Core/Players: Save homebind location on creation instead of delaying it to first login 2021-10-02 21:38:21 +02:00
Shauren 11762273c6 Core/Players: Store player creation timestamp and type (normal/npe) 2021-10-02 21:28:11 +02:00
Shauren 1440586be8 Core/Players: Fixed value saved in characters.lastLoginBuild 2021-10-02 20:01:29 +02:00
Shauren 2d7af28e9f Core/Transports: Store information about continent transports 2021-10-02 19:59:56 +02:00
Shauren f6f2de76c7 Core/Commands: Remove the option to teleport to "startzone" with .unstuck command 2021-10-02 19:57:37 +02:00
Shauren 46004d4fca Core/Players: Relocate players to their homebind location instead of starting zone when login at saved location fails 2021-10-02 18:43:09 +02:00
sueastward 32ad07f7f8 Core/Scripts: Fix repeated script validation when spell has multiple scripts attached (#26949) 2021-10-01 23:29:41 +02:00
Shauren a098137b59 Core/Commands: Lookup spell command fixes
* Crashfix
* Will now look at spell effects other than EFFECT_0 to find learned spell
2021-10-01 22:30:39 +02:00
Shauren 3bf6698116 Core/Misc: Fix appleclang 12 warnings 2021-10-01 11:18:29 +02:00
Ovah 753d5a5d5f Core/Player: fix periodic eating and drinking emotes (#21280)
Closes: #12567
(cherry picked from commit 0dcc318e377138dcbc116b5703d7dc1bffc0cc0f)
2021-09-29 22:27:11 +02:00
Meji de4eaa0de9 Core/BattlePets: Misc fixes (#26964)
* Define BattlePetSpeciesFlags enum class.
* Define BattlePetDbFlags enum class.
* Added check to prevent the pet from being caged if its species has flag BattlePetSpeciesFlags::NotTradable.
* Added check to prevent the pet from being caged if it's in battle pet slots.
* Added check to prevent the pet from being caged if its health is below maximum health.
* Only add pet if the species has flag BattlePetSpeciesFlags::WellKnown.
* Added function to check flag BattlePetSpeciesFlags::LegacyAccountUnique to avoid learning copies of unique pets.
* Implemented CMSG_BATTLE_PET_CLEAR_FANFARE.
2021-09-29 22:26:25 +02:00
sirikfoll f507737ecf Scripts/TheSlavePens: Boss Ahune fixes and updates
Fixes some visual problems
Fixes encounter start
Updated codestyle

Closes #22071

(cherry picked from commit 35ba5aa138edc84dfdeb48ace88b12d521d31fa3)
2021-09-29 21:01:25 +02:00
Gildor b3f3dbc663 TheSlavePens/Ahune: Fix crash (#22070)
Closes: #22069
(cherry picked from commit eb6e240fd1508ff62055e45c97a4534903280e66)
2021-09-29 20:55:23 +02:00
ZenoX92 ecf2a0ef9f DB/Quest: Escaping the Tomb
Closes #22033

(cherry picked from commit 5f69a8de707de0e2c409c481fe7a0ba874b92632)
2021-09-29 16:05:49 +02:00
Shauren 75909f9232 Core/Bnet: Updated protobuf messages and services 2021-09-29 10:32:04 +02:00
ccrs 6d9e544c20 Core/Movement: shield ChaseMovementGenerator against a potential crash
Since GenericMovementGenerator can be built with any MOTION_TYPE

(cherry picked from commit 98fd8d4c748942cc7d7acde97610b7b0688472de)
2021-09-29 00:01:23 +02:00
ccrs 4487933bd0 Core/Movement: adjust deactivation/reset logic inside GenericMovementGenerator
Deactivated GMGenerators will now Initialize if they never did.
Mimiron's script needs still some movement love.

closes #22037

(cherry picked from commit 24a9598e2c2d8c39f7b8f5b3f900b61466c8652a)
2021-09-29 00:00:57 +02:00
ccrs 30583be025 Core/Movement: prevent double initialization calls if the generator was deactivated before being initialized
ref #22037

(cherry picked from commit 825c5f5ec44953a9af71d50cad0b214ef867b086)
2021-09-29 00:00:26 +02:00
Андрей 4c6e89942f Core/Spells: Make some spells negative (#21696)
Closes #21634

(cherry picked from commit 5fa783bd34d8e5b32aded6b87a1e4b196b7c4022)
2021-09-28 20:58:14 +02:00
Keader 1d00e4eccb Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2
(I forgot the clones, ty Gildor)

(cherry picked from commit 3102a6c9035e56cf624583575eab0d549449e702)
2021-09-28 15:32:32 +02:00
Keader a046ef8604 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand
(cherry picked from commit 8a312046b2213193be3832ea1eebac9c633880c1)
2021-09-28 15:32:00 +02:00
Keader d4be86d835 Kill a whitespace
(cherry picked from commit ee7c0c16f174f90835d32188a1088e611f9836c7)
2021-09-28 15:31:34 +02:00
DanVS 71e27f540d Core/Spells: Reset Mangle cooldown in Berserk (#22000)
(cherry picked from commit 3bd9337d9fe95b78751bf3aa90ee27daf6935872)
2021-09-28 15:26:42 +02:00
Keader 4aaf3d67a3 Scripts/Pit of Saron: Fixed Ick not updading victim
Closes #22001

(cherry picked from commit 6cf8bd5ae755a4af07f59642cf98a7bbf6ddd48e)
2021-09-28 00:15:42 +02:00
ccrs 426f9f2f92 Core/Movement: MotionMaster reimplementation (#21888)
Internal structure and handling changes, nothing behavioural (or thats the intention at least).

(cherry picked from commit 982643cd96790ffc54e7a3e507469649f3b074d2)
2021-09-28 00:15:13 +02:00
Maxwelllmj bd91674e66 Scripts/Karazhan: make Barnes properly start the Opera Event (#21970)
Close: #21881
(cherry picked from commit 4fe5a167d298ad6fcb9a5f130035abcb98fa5eae)
2021-09-26 23:23:26 +02:00
Keader b91398fd28 Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight
It's needed for cataclysm+

(cherry picked from commit 65bad41144846ae97fc3bcb21c34cd2d5d1405e1)
2021-09-26 23:04:18 +02:00
Gooyeth 2757235956 Core/Battleground: Fixed a problem that did not let Arenas queue if it was in queue of Random Battleground (#21963)
(cherry picked from commit 5871c3675069b85d83ff8ee4b63e1be6fc9d9aea)
2021-09-26 21:36:48 +02:00
Treeston 5f0f530c08 re-enable CreatureAI::MovementInform for Chase/FollowMovementGenerator - didn't realize any AI used this
(cherry picked from commit 56a056a8a5f5aa61c68a2b827d8d64ff2fc9abdd)
2021-09-26 21:17:40 +02:00
jackpoz 289be4d97c Core/Misc: Fix FreezeDetector triggered on startup
Fix FreezeDetector triggering the assert on startup if scripts took more than a few seconds to initialize.

(cherry picked from commit 7b7dc1b50844027853023491c1f69dc40292eec3)
2021-09-26 20:51:09 +02:00