aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/SunwellPlateau
AgeCommit message (Collapse)Author
2025-07-11Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit ↵Shauren
standard container naming
2025-02-07Scripts: Remove unneccessary DoublePosition from AreaBoundaryShauren
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-06-03Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffectShauren
2023-03-30Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale ↵Meji
(#28863)
2023-01-19Core/Scripts: Move EvadeReason outside of CreatureAI classShauren
2022-10-04Scripts/Instances: Add dungeon encounter dataShauren
2022-09-30Dynamic build fixShauren
(cherry picked from commit 63275e7316ad6b3256640841fdd8210c62b2c120)
2022-09-30DB/The Sunwell: Migrate linked_respawn to spawn groupsShauren
* Also fixed Felmyst not spawning after server reset if Brutallus was killed Closes #27904 (cherry picked from commit 46560070ae610e4c85dfbbe37b24d2b4b4071405)
2022-09-30Scripts/The Sunwell: Move Brutallus and Felmyst to BossAIShauren
(cherry picked from commit 8962d802249f002f8fe408004945d5736a118175)
2022-09-05Scripts/Spells: Get rid of several DB spell scripts (#28048)offl
(cherry picked from commit 3808e614d9760a2588fec0c1b0b4c30feda36dcc)
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
2022-03-23Scripts/Spells: Small cleanup for gen/item spell scripts (#27311)offl
(cherry picked from commit ef4c878d260c0e01a6ab2f4391af46c261d04785)
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-12Scripts/SWP: Update M'uru to new register model (#26793)offl
(cherry picked from commit ec3b571ecaa21cac3aaf35075b21767424bca4bf)
2022-03-10Scripts/Spells: Add comments with id & name of spells part 4offl
(cherry picked from commit e7e47866066f0b318c986c355dc4476b5948e622)
2022-03-10Scripts/Spells: Add comments with id & name of spells part 3offl
(cherry picked from commit 03c727326dce5d990fd453f42a92300dbd68dc0e)
2022-03-10Scripts/Spells: Add comments with id & name of spells part 1offl
(cherry picked from commit 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
2022-03-06Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DBoffl
(cherry picked from commit 3cb70ee62a3f30ae492a6985b5306052d90c89c4)
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/WorldObject: Remove non-std::chrono SummonCreature overloadCarbenium
Remove TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0); (cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24Core/EventProcessor: std::chrono-ify CalculateTimeCarbenium
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset). Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool) (cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
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-23Scripts/EasternKingdoms: Use std::chrono overload of Creature::DespawnOrUnsummonCarbenium
(cherry picked from commit d1a39a2ebf3bb55998696c424cd58f3fcdedd66a)
2022-01-23Core/ScriptedAI: std::chrono-ify DoSpawnCreatureCarbenium
(cherry picked from commit f5076112cb25bff877a450a14fe20172e9044081)
2022-01-23Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ↵Peter Keresztes Schmidt
(#25019) Contributes to #25012 (cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
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-20Scripts: Fix rbac permission for skipping default boss sequencing checkShauren
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
2021-12-19Scripts/Misc: Fix build warningsGiacomo Pozzoni
(cherry picked from commit 37ffdc05b23f079af3e22d7042f6ffe240e69cd5)
2021-12-19DB/Spawns: Remove "Hand of the Deceiver" spawns as summoned by a scriptKillyana
(cherry picked from commit 434cdb1fa0f5d2ea282c044771b96c9b0ad17f53)
2021-12-17Scripts/Defines: cleanup some magic numbers in factions (#23631)ForesterDev
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-13Core/Unit: rename several getters to follow codestyleccrs
uint8 GetLevel() uint8 GetLevelForTarget(WorldObject const* /*target*/) void SetLevel(uint8 lvl) uint8 GetRace() uint32 GetRaceMask() uint8 GetClass() uint32 GetClassMask() uint8 GetGender() (cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & ↵ccrs
DoCastSpellOnPlayers handling (cherry picked from commit 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21)
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-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-09-28Core/Movement: MotionMaster reimplementation (#21888)ccrs
Internal structure and handling changes, nothing behavioural (or thats the intention at least). (cherry picked from commit 982643cd96790ffc54e7a3e507469649f3b074d2)
2021-09-23Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is ↵Treeston
good. (cherry picked from commit 4692e10ca2ffed5ba2a0336e9c93962b0fad9eaa)
2021-09-04Core/Spells: Unify spell effect access api in both branchesShauren
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-19Scripts/Sunwell Plateau: Fixed and improved spell "Curse of Boundless Agony" ↵sirikfoll
target selection (Boss Kalecgos) (cherry picked from commit 14b6e3bbb36e4b5ec5212ed2a3bf5eb0012e095f)
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-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-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)