aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/MagistersTerrace
AgeCommit message (Collapse)Author
2025-05-11Scripts/Misc: Update ScriptPCH content to include most commonly headersShauren
2024-01-08Core/Creatures: Moved autoattack handling from scripts to gameShauren
2023-11-06Core/InstanceScript: Refactored door types to reflect its behavior (#29406)ModoX
2023-07-24Scripts/Spells: Removed unneccessary PrepareSpellScript and ↵Shauren
PrepareAuraScript uses
2023-07-20Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE (#29159)Teleqraph
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-08Core/SAI: Drop waypoints table and move existing rows to waypoint_data table ↵ModoX
(#28834)
2022-10-04Scripts/Instances: Add dungeon encounter dataShauren
2022-06-10Scripts/Misc: Load gossip options from DB (#27892)lee
(cherry picked from commit 5a20861565c6de3ed0312bb82fbf5bb048f0f8f4)
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
2022-03-25Scripts/Spells: Few fixes to spells with GameObjectActions (#27587)offl
(cherry picked from commit dca7e51250ec44eb1458c00d39bc3353589fd7fd)
2022-03-15Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE (#26913)offl
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
2022-03-12Core/AI: Add DamageEffectType and SpellInfo parameters to ↵Giacomo Pozzoni
UnitAI::DamageTaken (#26787) * Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken * Update scripts (cherry picked from commit 0800ab20a8039620fd271a43c173c008af68c22a)
2022-03-10Scripts/Spells: Add comments with id & name of spells part 1offl
(cherry picked from commit 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-05Add "On" to some gossip methods in AI (#25415)Maks Szokalski
* Add "On" to some methods * Update npc_innkeeper.cpp * Update zone_borean_tundra.cpp (cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-02-04Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and ↵Shauren
remove it (cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-01-24Core/Misc: Fix static analysis issues (#25178)Giacomo Pozzoni
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24Core/CreatureAI: std::chrono-ify DoSummon* methodsCarbenium
(cherry picked from commit 1245833cdd9988a2ac9c3a9374b40e76a53d889a)
2022-01-24Core/WorldObject: Partially std::chrono-ify SummonCreature overloadsCarbenium
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0); to TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s); (cherry picked from commit 1131229ee9c43704b11187f0b11c327db92018b6)
2022-01-23Build: Enable -Wimplicit-fallthrough on clang (#25056)Peter Keresztes Schmidt
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs Related: #25006 * Misc: Add some missing breaks (no-ops) to satisfy clang Related: #25006 Closes #25055 * Build: Enable -Wimplicit-fallthrough on clang Closes #25006
2022-01-23Scripts/Magisters Terrace: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25038) Contributes to #25012 (cherry picked from commit 88314660b66637982d629b786630af0dc0323eab)
2022-01-06game/AI: Convert SelectAggroTarget to enum class (#24818)Peter Keresztes Schmidt
* game/AI: Convert SelectAggroTarget to enum class * game/AI: Rename SelectAggroTarget to SelectTargetMethod (cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06Core/AI: refactor SpellHit and SpellHitTarget. (#24691)ForesterDev
* Core/AI: refactor SpellHit and SpellHitTarget. - now caster/target is WorldObject instead of Unit - remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget) - rename parameters in scripts according parent methods * Restore logic in Algalon script * Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2 * Fix build after merge (cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2021-12-27Core/ZoneScript: Add "invoker" param to ProcessEvent (#24758)Jeremy
2021-12-20Scripts: Fix rbac permission for skipping default boss sequencing checkShauren
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
2021-12-073.3.5 gameobject summoner (#23289)Giacomo Pozzoni
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*) * Scripts/Misc: Fix build * Core/TempSummons: Rename GetSummoner() to GetSummonerUnit() * Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too * Fix build * Core/TempSummons: Allow GameObject to be owner of TempSummon * Core/TempSummons: Add support to SAI for GameObject owner of TempSummon * Scripts/Misc: Fix no-pch build * Core/TempSummons: Implement PR comments (cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
2021-11-23Scripts/MGT: Kael'thas intro can now be skipped when not killing the trash ↵Ovah
pack in his room Scripts/MGT: Kael'thas will now despawn at evade Cherry picked from https://github.com/Ovahlord/TrinityCore/commit/f6e9ff5ca4ed1a174052b350db0802e1fca9a1aa https://github.com/Ovahlord/TrinityCore/commit/ed8c1830f58e0b9db629bbae9ee80f8ad76331e5 (cherry picked from commit c10c8c6bba27625e49016de8c1a1cc9fa7944fa5)
2021-11-23Core/Misc: Added lambda support to EventProcessorShauren
Closes #22909 (cherry picked from commit 813f693768ee94864b0d24423b9265bde2c9903d)
2021-11-23Scripts/Magister Terrace: Fixed a enum mistakeKeader
(cherry picked from commit 33b0654f8eb7aedf2a5a7d6b88f222ce31d20331)
2021-11-23Core/Misc: Fixed shaman elementals and magister terrace first boss accessKeader
(cherry picked from commit 6545cd33b91468de7c1b4beb77cdeb4ecb77f501)
2021-11-23Scripts/Magister Terrace: Update InstanceScript and more fixesOvah
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4 (cherry picked from commit 1b346485e40ddee958c116579d93bcff063021a5)
2021-11-23Scripts/Magister Terrace: Felblood Kaelthas rewriteOvah
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003 (cherry picked from commit 00958c9178781ac11a9dcabd034ed2e82120fad6)
2021-11-09Core/Scripts: Unify Chrono Literals (#22420)DanVS
* Unify Chrono Literals * Retire IN_MILLISECONDS * Build fix * Build fix (sequel) * Retire urand() * Edge cases * Build * Whitespaces * More edge cases * Additional cases (cherry picked from commit 5b0f4009df4cde413c92c73467ca9a63e79a772b)
2021-10-03Core/Gossip: Update GossipOptionIcon enum (#26906)Meji
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-19Scripts/Magisters Terrace: Removed not allowed ENSURE_AI call from constructorsirikfoll
Closes #20727 (cherry picked from commit cfaa4e6caf8f26eb850a714994b533a77e92a92f)
2021-06-13Core/Auras: removed caster dependency from coreariel-
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc - Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world) - Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code - Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances) - Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling Closes #19876 (cherry picked from commit cb9e72e521d3cc415dd15bf6912c87f89e41b92a)
2021-05-16Core: Combat/threat system rewrite (PR #19930)Treeston
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with. - PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting. - By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers. - Threat and combat systems are no longer the same. - They still have an enforced relationship (threat implies combat - clearing combat clears threat)... - ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list... - ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress! - AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`. - Vehicle threat is now properly pooled on the main vehicle body (fixes #16542). - Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar). - Target re-selection is now significantly faster. - Fixed a ton of other smaller edge case bugs, probably. Closes #7951 and #19998. (cherry picked from commit 532ab1c7f8653d1a2e48aa1f1f8a9ba1041d4bb7)
2021-04-16Core/AI: Some more refactoring prep for #19930. CreatureAI::EnterCombat is ↵Treeston
now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now. (cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
2021-04-16[3.3.5] CastSpell unclusterfucking (that's a word now) (#21123)Treeston
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation. - CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments - This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one - It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object. - A gajillion refactors to make everything behave the way it always has (cherry picked from commit d507a7e3388382960108b24143da48e5f912b4a7)
2021-03-16Core/Auras: Update AuraState enum and implement missing new onesShauren
2021-02-15Misc: Kill trailing white spacesAokromes
(cherry picked from commit 5f2c5f2ed376bc2ab9107a4a8da7df04f8aef85a)
2021-02-06Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit a80c95a1c788932696fb43e69b9012a751431bac)
2021-02-06Core/Misc: Fix static analysis issuesjackpoz
(cherry picked from commit 9b7c73a19df66849ec829fc5a94875aa9593934d)
2021-01-13some more cleanup (cbd025f follow-up)Treeston
(cherry picked from commit 4f5ec886d086261dccde4592e7670723c9b0c7f4)
2021-01-13Scripts/MagistersTerrace: Fix some crashes in Selin Fireheart. His script is ↵Treeston
still a shitshow, though. Closes #20614. (cherry picked from commit cbd025f14698a8392fac6e7d2ad418ff57bfb195)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-08-13[3.3.5] Combat/Threat rewrite - prep & refactor (#19966)Treeston
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already. (cherry picked from commit e2a1ccd118d129b96e09ff1a15ed0adb1d4a3897)