aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-16DB/SpawnGroup: Instance spawn group data for Tempest Keep: The Eye and ↵Treeston
Hellfire Citadel: Ramparts. (also some minor adjustments to command output for convenience) (cherry picked from commit 51e28ae76a40bb40bdd6f163773d2e3bd8f76ec4)
2021-06-16Misc: assert -> ASSERTTreeston
(cherry picked from commit 6c3c200cc52397b4b32ed76e676830e9f1d67d4c)
2021-06-16Scripts/Commands: new command '.debug instancespawn'Treeston
(cherry picked from commit 6ce078d8e885f61ebdff3eb905e4cf6a2911da90)
2021-06-16Core/Spell: killed deprecated code which randomly changed powercost for ↵ariel-
missed spells Added in 80d3cd43f65e4e7cecfdd17e53c6a4542ddc4e40 Closes #5954 (cherry picked from commit b1072faa50493e287b5353056753d65ddcc445f3)
2021-06-16Core/Scripts: reverted Auriaya spell script logicariel-
Thanks Shauren for spotting it (cherry picked from commit 6dd465c4414b95c3540f38ed67eae2f6bc71a3c3)
2021-06-16Core/Player: only call _ApplyWeaponDamage for actual weaponsariel-
Closes #21308 (cherry picked from commit 8e0af1b93bed87753e89aebefba3fbb085f40565)
2021-06-16Core/Entities: don't allow client control if player is still affected by any ↵ariel-
lose of control state (cherry picked from commit e315e41d36061fc88dfa09bfa0da1fbc0c00826f)
2021-06-16Core/Entities: killed Creature::SetInCombatWithZone and replaced with AI versionariel-
Closes #12108 (again) (cherry picked from commit 7c9722a4ae08b5f283f6a085a411e37604a7da9f)
2021-06-16Core/Entities: don't allow client control if player is still affected by any ↵ariel-
lose of control state (cherry picked from commit e315e41d36061fc88dfa09bfa0da1fbc0c00826f)
2021-06-16Core/PlayerAI: perform cast checks on auto ranged attackariel-
Closes #19928 (cherry picked from commit 590d2518820d45e54a4a31cc554af18c0695bcd0)
2021-06-16Core/Unit: fixed Global cooldown cancelation on spell interruptariel-
Thanks to Nyeriah for the heads up (cherry picked from commit 514c847881a9fff504e90f1186a1209c0b8a3674)
2021-06-16Core/Formations: update codestyle and fix crashariel-
Closes #21288 (cherry picked from commit 73cc613dc86d7d72d78f22affe2faba6786bccc5)
2021-06-16Core/Spells: fix Spirit of Redemptionariel-
- Who would have suspected GetAuraEffect (iconId override) did a check against null spellfamilyflags? - Remove mirror timers hack (triggered spell already allows underwater breathing) (cherry picked from commit 4402f71eb7d17e5cf6b768a452baa00555eff7e4)
2021-06-16Core/Misc: corrections and indentations in Language.htkrokli
- corrected the comment "1205-2002 - free" to "1205-1999 - free" - increased the main indent by 2 spaces to get more lines aligned - corrected the enum LANG_DO_NOT_USE_6X_DEBUG_AREATRIGGER_LEFT from 1999 to 1199 Ref. commit 5f541491074765a346c7d0a83edb5f1fbf9240b1 (cherry picked from commit ba5f6a861652f522dd10fbe31f5e25272a3cd237)
2021-06-16Core/Unit: Remove a superfluous threat state update in SetPhaseMask.Treeston
(cherry picked from commit 2c86c78f04f7cb95c201592b8d3002525eb6a46f)
2021-06-16Scripts/Outland: Fix logical error in Hellfire event in Honor HoldKittnz
(cherry picked from commit 8f64612cb12d2ceabf610a436e7b514acdc1b181)
2021-06-16Core/Threat: Assistance threat (healing, buffs, etc.) is now properly split ↵Treeston
(instead of copied) between all creatures threatened by the action. Thanks to Foereaper for help with testing, and my apologies to healers everywhere. (No apologies for charm AI though. You deserve that one.) (cherry picked from commit 013d4560c784b1deced9cd2ea11606eaf6b44f2d)
2021-06-16Core/Threat: Passive creatures now properly become engaged when adding an ↵Treeston
offline threat entry. Fixes RoS and Thaddius, maybe more. Closes #21269. (cherry picked from commit a3732756121be6d5621fb42bc7a71882a28f03a6)
2021-06-16Core/Scripts: fix wrong uses of SetHitDamage hook.ariel-
This hook modifies damage AFTER it has been reduced by target auras/armor/resistances etc, it's useful if you want to scale damage by a factor, but not to add flat bonuses. We're fixing those by moving calculation to Launch phase, where target taken bonuses haven't been used yet. - Bronjahm: Magic's Bane - BPC: Shadow Prison - Oculus: Shock Lance - Ymiron: Dark Slash (extra fix, it was wrongly damaging half of total health, it's supposed to be half of CURRENT health!) - DK: Raise Ally Thrash spell (also extra fix: corrected formula) - Warrior: Bloodthirst (shouldn't matter much as it's damage class none and those don't get bonuses by default) - Warrior: Concussion Blow - Warlock: extra fix for Haunt, healing part shouldn't scale with spell power Closes #9560 (cherry picked from commit 9f5d1e2b10013e5fecf35fdd5af70921c96d07d1)
2021-06-16Scripts/Utgarde Keep: Fixed Ingvar evade in phase 2 (again)Keader
Closes #21264 (cherry picked from commit 96983fc6bb0bf0793d9a8da970009f346d8cdb62)
2021-06-16Core/Auras: fixed EquippedItemClass checkariel-
follow-up to 29c3b7d8f60c18e52ec22fec6de9abc3dc468166 (cherry picked from commit f1896144c00e9dc8f37590207feb8d7714e7132f)
2021-06-16Core/Auras: Don't remove shield only dependant auras on disarmariel-
Closes #19782 (cherry picked from commit b8c281f497d5da2251b11ab09f182a23a5721a1c)
2021-06-16Core/Auras: define and implement attribute SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENTariel-
Closes #20148 (cherry picked from commit 29c3b7d8f60c18e52ec22fec6de9abc3dc468166)
2021-06-16Core/Scripts: added nullptr checks to DamageTaken hooksariel-
Since cb9e72e521d3cc415dd15bf6912c87f89e41b92a attacker may not be in world when hook is called (cherry picked from commit 0db5c2df3fe56f42293865e87ec781cd4d41598b)
2021-06-16Scripts/AzjolNerub: Missing nullptr check in Hadronox. Closes #21258.Treeston
(cherry picked from commit d9d26200f7ffc07507dfca4a2c17fdfcde0194c8)
2021-06-16DB/SpawnGroup: instance_spawn_group data for map 576 (The Nexus)Treeston
(cherry picked from commit 0319c713a40489f7e29762cfdfbaa2df7701d4ab)
2021-06-16Scripts/Spells: quest "That's Abominable" (#21253)Moein
- scripted spell "Burst At The Seams" (59576) - added Pet Bar Closes #10876 (cherry picked from commit e519e14df8d846285f1d29fb7e5aa0b151c6f74e)
2021-06-16Core/CombatAI: Npcs with TurretAI will be able to attack againsirikfoll
Needed after the new Threat system (cherry picked from commit e12e0ad5827d7e794baa630724069680d7e07cfb)
2021-06-16Core/Player: Pass correct Zone ID to HandlePlayerLeaveZonesirikfoll
This will fix some issues with Wintergrasp, like phasing auras getting stuck and missing group invites for the battle, among others (cherry picked from commit ed9e220991e2aa3fa2d50359608fd27057cafbbc)
2021-06-16Core/Scripts: fix some spells double dipping from done/taken bonusesariel-
Closes #21007 (cherry picked from commit ab3307fc2373ace51bea93682bc66bc709ca019c)
2021-06-16Core/Globals: revert back to unordered_map for templatesariel-
Partial revert of commit b64c5043140dc7b7908e259e441de16cc0261320 See discussion on https://github.com/TrinityCore/TrinityCore/commit/b64c5043140dc7b7908e259e441de16cc0261320 (cherry picked from commit b75ff7d4bf13fb4778843c99521223becc096ca0)
2021-06-16Core/Globals: throw some RAII into ObjectMgr, and load templates into vectorsariel-
Ref #14274 (cherry picked from commit b64c5043140dc7b7908e259e441de16cc0261320)
2021-06-15Scripts/Scarlet Enclave: Quest The Endless Hunger will work correctly after ↵sirikfoll
Unworthy Initiate Respawn Due to dynamic spawns, we need to be able to update the Npc GUID after the respawn, otherwise the quest can only be completed by the first player (cherry picked from commit 72ff2e30c30d4d1b9bf22695b6a097eb82e3c76a)
2021-06-15Core/Unit: check remaining instead of full duration for Bounced by DR aurasariel-
(cherry picked from commit ccf0807be0974dfb8080cb2fc6ea616cc96f062c)
2021-06-15Scripts/Pit of Saron: Tyrannus followupKeader
fix new issue caused by 947cb6a453892c6002738b424d66ca19c102a533 (cherry picked from commit 0b09e9ee4eff6e6c6101dd3b5a6880ae768691d6)
2021-06-15Scripts/Pit of Saron: Fixed Tyrannus not working after evadeKeader
(cherry picked from commit 947cb6a453892c6002738b424d66ca19c102a533)
2021-06-15Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying seat ↵Moein
mask instead of single seat index (can now target all passengers) (#21245) (cherry picked from commit 891bca934e1522fe33b00e27eef5d4f07bb83fa8)
2021-06-15Scripts/Trial Of The Crusader: Lord Jaraxxus rework (#21216)Keader
(cherry picked from commit a41cd416950a9d6d1e2c51c37229d6a3c9f9b4c7)
2021-06-15Core/Threat: Fix a potential crash that would occur in specific edge cases ↵Treeston
of AI being a bit naughty. (cherry picked from commit 1847555c8c9e630d4d5f1328f25c875f408be949)
2021-06-15Core/Auras: fix static analysis issuesariel-
CID 1384433 CID 1384436 (cherry picked from commit 5153f464d8a4e5ae0b47900f92eeaf6c9f9eee50)
2021-06-15Core/Unit: fix mess-up with CalcArmorReducedDamage parameter orderariel-
(cherry picked from commit 01537e1dfbd042b3608d5ac895009182026def00)
2021-06-15Core/Entities: Port some refactors from f1986c6aafdf2457902a7a4cc7acc903cbbdc7bbariel-
2021-06-14Core/Unit: allow miss chance to exceed 60% cap with certain aurasariel-
(cherry picked from commit 688e96fb4ffcdeb55b58d13285e3cebfbc617614)
2021-06-14Core/Unit: fix Sanctified Wrath (again)ariel-
- Actually only rank 1 was affected because of 50% reduction on rank 2 (cherry picked from commit 0e9b1635e0a2351342e8ed0ae4a1495479e09ffc)
2021-06-14Core/Unit: fixed crashariel-
Closes #21231 (cherry picked from commit 22b24d8dae23d4a4b4314f46b65b8e453816eef7)
2021-06-14Core/Unit: simplified and arranged spell bonus calculationariel-
- Remove duplicated SPELLMOD_BONUS_MULTIPLIER handling (both on done and taken) - Handle properly bonus data, don't apply bonus by default, only player spells should take into account spell power - Moved Earthliving Weapon coefficient to DB - Refactored Avenging Wrath handling Closes #13287 Closes #21230 (cherry picked from commit d570e2af3e7bcb625d8941397d55972d49319a8f)
2021-06-14Core/Spell: SpellValueOverrides encapsulationariel-
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct (cherry picked from commit 3b01cccd7eafaff9f3b8236a544e4fa46818926c)
2021-06-13Scripts/EasternKingdoms: implement Children of Goldshire event (#20745)Kittnz
* Script: Implement Childeren of Goldshire Notes: Need to update waypoints and default location of the childeren http://wowwiki.wikia.com/wiki/Children_of_Goldshire (cherry picked from commit a9c853ee3fc13d1aa59bde14df8f1f0a5b035ff3)
2021-06-13Core/Sockets: Initialize _sessionKey variable in constructorShauren
2021-06-13Core/Auras: Implemented EstimatedPoints for SMSG_AURA_UPDATEShauren