aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-11Scripts/Spells: Update hunter spells to modern standards (#26366)offl
2021-04-11Scripts/Spells: Update warrior spells to modern standards (#26365)offl
2021-04-11Scripts/Spells: Update shaman spells to modern standards (#26361)offl
2021-04-11Scripts/Spells: Update priest spells to modern standards (#26359)offl
2021-04-11Core/Spells: implement SpellInfo helper to filter for relevant mechanic ↵Ovah
immunities in spell_start packet (#26183) * Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities when sending SMSG_SPELL_START packets. According to sniff analysis Blizzard does not send all mechanic immunities of creatures but instead only the ones that are responsible for actual interrupts which are MECHANIC_INTERRUPT and MECHANIC_SILENCE. Additionally we no longer send immunities for instant cast spells as sniffs confirm that they are not sent for spells without a cast time.
2021-04-11Core/Entities: Move GridObject to its own header (#26358)Jan Van Buggenhout
* GridObject * Add include to more files
2021-04-11Core/Misc: Fix typojackpoz
2021-04-10Core/PlayerStats: Fix PlayerSave.Stats.MinLevel not saving spell crit percentagejackpoz
Fix PlayerSave.Stats.MinLevel always saving 0.0f in spellCritPct database field of table character_stats. As there is a percentage for each school but the table has only 1 column, the max value will be saved. Fix #15928
2021-04-08Core/Misc: Define / rename attributes and flags (#26315)offl
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
2021-04-08Scripts/Commands: Add ".list auras id <aura id>" and ".list auras name <name ↵Giacomo Pozzoni
part>" subcommands (#26346) Add ".list auras id <aura id>" and ".list auras name <name part>" subcommands to allow filtering the auras
2021-04-05Scripts/Commands: Restore ".character level" command behaviorjackpoz
Restore ".character level" command behavior by setting the level instead of adding the level
2021-04-05Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE (#26055)Matan Shukry
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE * Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr (cherry picked from commit e0278f05379ed470be8264d3f362360a52b3454d) # Conflicts: # src/server/game/AI/SmartScripts/SmartScript.cpp # src/server/game/AI/SmartScripts/SmartScriptMgr.h
2021-04-05Core/Misc: Enum flag v3 - allow enabling flag operations directly after enum ↵Shauren
definition when inside namespaces (cherry picked from commit ec87d048b4ebbb326158bc05512d1cc5ecbe8271) # Conflicts: # src/server/game/AuctionHouse/AuctionHouseMgr.cpp # src/server/game/AuctionHouse/AuctionHouseMgr.h # src/server/game/Entities/Object/ObjectGuid.h # src/server/game/Entities/Object/Updates/UpdateField.h # src/server/game/Entities/Object/Updates/UpdateFields.cpp # src/server/game/Entities/Object/Updates/UpdateFields.h # src/server/game/Entities/Player/CollectionMgr.cpp # src/server/game/Entities/Player/CollectionMgr.h # src/server/game/Phasing/PhaseShift.cpp # src/server/game/Phasing/PhaseShift.h # src/server/game/Phasing/PhasingHandler.cpp
2021-04-05Core/Misc: Improve enum flags with type safe operatorsShauren
(cherry picked from commit 0763844fb604075580e1c84672cb2e4a4fe19cde) # Conflicts: # src/server/game/AuctionHouse/AuctionHouseMgr.cpp # src/server/game/AuctionHouse/AuctionHouseMgr.h # src/server/game/Entities/Object/ObjectGuid.h # src/server/game/Entities/Object/Updates/UpdateField.h # src/server/game/Entities/Object/Updates/UpdateFields.cpp # src/server/game/Entities/Object/Updates/UpdateFields.h # src/server/game/Entities/Player/CollectionMgr.cpp # src/server/game/Entities/Player/CollectionMgr.h # src/server/game/Entities/Player/Player.cpp # src/server/game/Entities/Unit/Unit.cpp # src/server/game/Globals/ObjectMgr.h # src/server/game/Phasing/PhaseShift.cpp # src/server/game/Phasing/PhaseShift.h # src/server/game/Phasing/PhasingHandler.cpp
2021-04-04Core/Player: Fix output of .additem command with negative count value (#26290)Mikhail Redko
2021-04-04Group repair command attempt (#26304)CraftedRO
* Group repair command attempt * Update cs_group.cpp
2021-04-04MapExtraction: Fix water height redundancy algorithm ignoring "no water" ↵killerwife
(#26324) * MapExtraction: Fix water height redundancy algorithm ignoring "no water" * Update MMAP_VERSION * Change map version Co-authored-by: jackpoz <giacomopoz@gmail.com>
2021-04-04Core/Maps: Change .map file version from FourCC to uint32 (#26326)Giacomo Pozzoni
2021-04-03Revert "Core/Spells: Spells with Attribute ↵Keader
SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. (#20621)" This reverts commit b507acf1c04ff6e9d0a075f9663e9549d5b238b4.
2021-04-03Scripts/Quest: Rework 'Basic Orders' (25199) (#26294)offl
2021-03-26Core/Maps: increase value of fixed offset when retrieving floor Z (#26321)Gildor
2021-03-20Scripts/Ahn'kahet: Herald Volazj texts (#26202)offl
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-03-20Group level up (#26139)Jakub Cieplinski
* First version of command handler * Done HandleReviveAllCommand * Moved command to group subcommonads * Added group level up * Removed empty line * Added additional nullchecks * Removed newline * Code styling * Added group set level command * Removed whitespace * Removed group set level command * Unnecessary comma * Added check for level lower bound
2021-03-15DB/Quest: Rework 'Avruu's Orb' (9418)offl
2021-03-14DB/Quest: Rework 'A Spirit Guide' (9410)offl
2021-03-14DB/Quest: Rework 'The Road to Falcon Watch' (9375)offl
Closes #26233
2021-03-12Scripts/Misc: Let core take care of Feign Death related flagsoffl
2021-03-11Scripts/Spells: Feign Death & 'prevent emotes flag' spell scripts (#26198)offl
Closes #25842 Ref #25764
2021-03-11Scripts/The Eye: Update instance script (#26190)offl
2021-03-11Core/Spells: Apply UNIT_FLAG_IMMUNE after applying ↵offl
SPELL_AURA_DAMAGE_IMMUNITY (#26187)
2021-03-11DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrusoffl
Ref #24663
2021-03-02Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> ↵Shauren
UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
2021-02-28Script/Ulduar: Fixed conflict with Random Aggro Periodic spell (#26184)Keader
2021-02-27Revive all command (#26127)Jakub Cieplinski
* First version of command handler * Done HandleReviveAllCommand * Moved command to group subcommonads * removed empty row * nullptr check for player target
2021-02-27Core/SAI: Reserve master branch SAI action id 143Shauren
2021-02-25Core/ThreadManager: delete double include "TemporarySummon.h" (#26163)Kargatum
2021-02-24Core/LFG: Fixed incorrect role check timer unit (was milliseconds instead of ↵robinsch
seconds) (#26145)
2021-02-23Scripts/Ulduar: Apply renames of #25529jackpoz
Apply renames of #25529 to review that PR easier
2021-02-22DB/Instance/Gruul's Lair: Overhauloffl
2021-02-21Core/Spells: Warlock Death Coil shouldn't be able to crit (#26118)Gildor
2021-02-21Core/Maps: Use a fixed offset instead of full collision height when ↵Giacomo Pozzoni
retrieving floor Z (#26092) Use a fixed offset 0.5f instead of full collision height when retrieving floor Z as a full collision height ended up on the floor above a few times. It makes more sense to cast the ray just a bit higher up than using a full collision height (which by default is 2.0f)
2021-02-21Core/Unit: Fix glancing blow calculation (#26120)Metalaka
* Fix glancing blow calculation * Comment readability improvement Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/game/Entities/Unit/Unit.cpp Co-authored-by: Metalaka <Metalaka@users.noreply.github.com> * Tabs to spaces Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-02-20Revert "Core/Unit: Improve Glancing Blow calculation (#26100)"jackpoz
This reverts commit c3165dce316d4dc3ecb49e4227ff6789bdbf14f6.
2021-02-19Core/Unit: Improve Glancing Blow calculation (#26100)Metalaka
* Core/Unit: Improve Glancing Blow calculation * Fix minimum reduction of Glancing Blow * Fix comment * Fix glancing minimum damage reduction
2021-02-19DB/Instance/The Eye: Overhaul part 2offl
2021-02-18Scripts/Events: Fix achievement in Love is in the air: "Lonely?" (#26083)Gildor
* Scripts/Events: Fix achievement in Love is in the air: "Lonely?" * apply @keader feedback ;) * apply @jackpoz feedback ;) * @jackpoz feedback
2021-02-16DB/Instance/The Eye: Overhaul part 1offl
2021-02-14Core/SmartAI: AI change on charmed (#26065)Engilas
* Fix AI refresh on charmed * Remove unnecessary refresh * Check SMART_EVENT_FLAG_WHILE_CHARMED flag
2021-02-10Core/SAI: Reserve additional param for SMART_ACTION_SUMMON_CREATUREShauren
2021-02-09Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements (#25997)Gildor
* Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements * remove unneded fall thx @offl * apply @Ovahlord feedback * prevent svala fall (visual) when ritual start after wipe * svala should be disarmed before teleport when ritual start * apply @Ovahlord feedback * Use DoCastSelf * Remove unneded AttackStart when finish ritual * Use SetDisableGravity properly