aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2021-08-08Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add ↵Treeston
WorldObject::IsOutdoors, basic member access. Ref #21479. (cherry picked from commit e79c595b695ea5f35b8324efbb7741ccb102bce9)
2021-08-08Core/GameObject: implemented gameobject_overrides table to change faction ↵ariel-
and flags values on a per-spawn basis Updates #20957 Closes #20958 (cherry picked from commit 34967e9c32b2c7e871bb93f41609a3b08ad92931)
2021-08-08Core/Entities: kill unused return value from Unit::HandleSpellClickariel-
- AI hook will now receive the result by copy, as modifying it had no effect - Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo> (cherry picked from commit 98d6258efdc07b53808ba6177e5427c65163bc0d)
2021-08-08Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction ↵ariel-
dispel effect - Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount. - This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly Closes #21393 (cherry picked from commit 3753ec56476d597b180968eb673cb20776785f31)
2021-08-08Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die ↵Wilcalaf
while invisible preventing players from looting. (#21436) (cherry picked from commit 2dd5735bd9c4212e0009c9d4db0da34cc1541862)
2021-08-08Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase.sirikfoll
(cherry picked from commit 076bd11002c0fe7ed893497e582a40b7f46320e6)
2021-08-08Core/Entities: remove grid-wide visibility from setActive and implement ↵Wyreth
another method for it (#20725) (cherry picked from commit 56874b44f0625f80442ea906f487e3253bdd16eb)
2021-06-22Core/Scripts: implemented Fungal Decay & Tail Stingariel-
Refs #18542 (cherry picked from commit 7dc78d8e3f437ad7f3ad40bf1ef6801ac1ed5fc2)
2021-06-22Scripts/Ulduar: Fixed amount of Mole Machines in Razorscale 10 manKeader
(cherry picked from commit f609589e22f86a803ea86e311fd8b5ca636e08a4)
2021-06-22Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes ↵Treeston
on normal mode (match DBM). This closes #15367, no matter what ccrs' bong says. (cherry picked from commit 789f3c5d37477fb2794bec47d154e6c0390ff776)
2021-06-21Core/Spells: prevent creatures to focus channeled spells without ↵ariel-
SPELL_ATTR1_CHANNEL_TRACK_TARGET - Creatures stuck here wouldn't try attacking because of this - Remove one workaround in halion script, now it's unneeded Ref #11311 (cherry picked from commit 29f7258dc824659cb2de81c5ff3b3b3853de2a8b)
2021-06-21Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419)Gooyeth
(cherry picked from commit 42a11e97d5ef785bfe0e41f74469da3ec7aec697)
2021-06-21Core/Combat: Unify combat permitted checks between CvC and PvC - only ↵Treeston
require "not friendly" in all cases. Fixes Yogg-Saron encounter. Closes #21380. Also some bonus cleanup to Yogg's script to make transition cleaner. (cherry picked from commit 4da9321d2bdde17ddf1a55b92ab130216e9af27b)
2021-06-21Core/Scripts: Fixed some delayed enrageKeader
Closes #15367 (cherry picked from commit 63c436f5fb6924b872050cf5838a4052d9034935)
2021-06-21Core/Scripts: implemented Seed of Corruption scaling damage toleranceariel-
(cherry picked from commit df5afca27859058f725c3dc9964d967aa89ff756)
2021-06-20Scripts/TheBarrens: Fix "The Escape" (863) - I don't think this one ever ↵Treeston
worked, honestly. (cherry picked from commit 0e401c7d963f983d31573d108ccd2343fda40094)
2021-06-20Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. ↵Treeston
Fixes and closes #21156. (cherry picked from commit ac8b9be5d67ccaba3f51663eeccca60ae86cea5b)
2021-06-20Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade ↵Treeston
issues. Tag #20310. (cherry picked from commit fe3b4de1cd2a0924674c34d439f682c95d3a784a)
2021-06-20Core/Scripts: fix Tenacity Aurascript (target is null on UpdatePeriodic)ariel-
- also aura amount increases with stack so we lose spellid info, calculate it from basepoints directly - aura should be SPELL_AURA_MOD_HEALING_PCT instead of SPELL_AURA_MOD_HEALING_DONE_PERCENT (ie taken instead of done, confusing names) (cherry picked from commit bc2a4c816d6dc893b9b0c8d5bf0a15fe085506c5)
2021-06-20Core/Scripts: remove Tenacity hack, implemented with proper auraariel-
(cherry picked from commit 404240fb6820ab997b65740b234305c4c654c543)
2021-06-20Archaedas should properly start now when clicking on the altar. (#21401)Wilcalaf
(cherry picked from commit 0c1aaac219545b3dacf930ce0dd956bd5d7c4b40)
2021-06-19Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to ↵Treeston
pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310. (cherry picked from commit b243a7929bac02509594f5f25da476cfcea3d64a)
2021-06-19Core/Scripts: implemented Combined Toxins proc only from poisonsariel-
(cherry picked from commit 477878630e1bb2811d9be97189f0c819377b7840)
2021-06-19Scripting/Obsidian Sanctum: Fix crashjackpoz
Fix crash caused by calling Reset() in constructor (which is not allowed) (cherry picked from commit 5aba5c7afff4289b6b90311f66e6939791b89ee4)
2021-06-19Scripts/Instance: Transition Gnomeregan to boss states (instance spawn group ↵Treeston
prep) (cherry picked from commit a4fc32dd867aa4e3eba762a890cc845604e82043)
2021-06-19Scripts/Icecrown Citadel: Fixed Sindragosa spawn after grid unloadKeader
ty sirikfoll :) (cherry picked from commit 2994abeae6f8abac7d535d5f966135235db8d64d)
2021-06-19Core/Spells: remove 'Vanish Purge' hack, the spell is present on DB and is ↵ariel-
copy of one in vanilla DBC Thanks to killerwife for the heads-up (cherry picked from commit 303efcf0e4ee9ce3cfe308a3d6aa2aece1aa39da)
2021-06-19Core/Scripts: Fixed tabs issues introduced in ↵Keader
5bef3e426aea37b0e7555f146037c58e7be6352d (cherry picked from commit 31ad6358fb9088583142d108d2649d0c94b43358)
2021-06-19Core/Scripts: Fixed possible crashs related with JustDiedKeader
(cherry picked from commit 5bef3e426aea37b0e7555f146037c58e7be6352d)
2021-06-19Core/Scripts: fix non-functional Celestial Planetarium Access GOariel-
- Client only sends CMSG_GAMEOBJ_REPORT_USE for this one Closes #19982 (cherry picked from commit b490d3f5ad6ccdfd103c8f756d2912f05b1741a0)
2021-06-19Scripts/Magisters Terrace: Removed not allowed ENSURE_AI call from constructorsirikfoll
Closes #20727 (cherry picked from commit cfaa4e6caf8f26eb850a714994b533a77e92a92f)
2021-06-19Scripts/Sunwell Plateau: Fixed and improved spell "Curse of Boundless Agony" ↵sirikfoll
target selection (Boss Kalecgos) (cherry picked from commit 14b6e3bbb36e4b5ec5212ed2a3bf5eb0012e095f)
2021-06-19Core/Threat: Custom ThreatListIterator that transparently iterates over the ↵Treeston
backing map (instead of using heap iterators) when working with the unsorted threat list. This greatly reduces the range of actions that can cause iterator invalidation. Also some minor adjustments to .debug threat, which no longer hides certain invalid states from view. (cherry picked from commit 4cb13af4faff0c1f9dbda2ab6a86882b4e4201a6)
2021-06-19Scripts/Ulduar: Flame Leviathan used a very weird mixture of victim logic ↵Treeston
and REACT_PASSIVE, which broke during transition to the new system. Replaced with a working version. Closes #21265. (cherry picked from commit b3e0c892385c7f75a061feef08c3ac05b53b4e2e)
2021-06-19Scripts/ICC: Valithria Dreamwalker's script no longer despawns unrelated ↵Treeston
mobs in Frostwing Halls, and thus won't get them stuck in a despawned state due to linked_respawn. Closes #21286. (cherry picked from commit aefc25482f79e07e1237cc0a6c01e7064fd745be)
2021-06-19Scripts/Icecrown Citadel: Corrected Val'kyr Shadowguard positioning on ↵sirikfoll
heroic mode (Lich King) Movement was being prevented by spell cast (cherry picked from commit a217c0be922f7a14bf78acb87aaaef5bc99afe95)
2021-06-19Scripts/Pets: Mirror Image re-write, because it's a colossal mess right now. ↵Treeston
(PR #19818) (cherry picked from commit 03ef79f3d9e323030c771e97863398c43f6cb3a4)
2021-06-19Scripts/Icecrown Citadel: Added missing cosmetic colors and emotes to Big ↵Shauren
Ooze (Rotface) (cherry picked from commit aaab7ba9f4e08ba5b7d7ac2f4e37e07d80c8f339)
2021-06-19Quest/script: Freedom to RuulKillyana
Follows https://github.com/TrinityCore/TrinityCore/commit/4dc91429dd2158c75679d07c34a18a2e12b4ef7a (cherry picked from commit 52fc5a572b037a9aee084be7f5bcc9bb7d84c0e9)
2021-06-19DB/Quest: Freedom to RuulKillyana
Closes #7262 (cherry picked from commit 4dc91429dd2158c75679d07c34a18a2e12b4ef7a)
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/Scripts: reverted Auriaya spell script logicariel-
Thanks Shauren for spotting it (cherry picked from commit 6dd465c4414b95c3540f38ed67eae2f6bc71a3c3)
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/Formations: update codestyle and fix crashariel-
Closes #21288 (cherry picked from commit 73cc613dc86d7d72d78f22affe2faba6786bccc5)
2021-06-16Scripts/Outland: Fix logical error in Hellfire event in Honor HoldKittnz
(cherry picked from commit 8f64612cb12d2ceabf610a436e7b514acdc1b181)
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)