aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Maelstrom
AgeCommit message (Collapse)Author
2025-11-23Core/Movement: Change MoveJump to use min/max height argument instead of ↵Shauren
vertical speed
2025-11-15Core/Misc: Add missing includesShauren
2025-04-03Core/Spells: Merge Spell::SetSpellValue overloadsShauren
2024-12-29Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, ↵Shauren
UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE
2024-09-12Core/Spells: Refactor CastSpellExtraArgsShauren
* Allow C++20 designated initializers * Allow precise float values for SPELLVALUE_RADIUS_MOD, SPELLVALUE_CRIT_CHANCE and SPELLVALUE_DURATION_PCT
2024-02-24Scripts: Removed unused global variablesShauren
2024-01-08Core/Creatures: Moved autoattack handling from scripts to gameShauren
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-03-31Scripts/Deepholm: Scripted quest "All Our Friends Are Dead" (#28889)Naddley
2022-10-21Core/GameObjects: Implemented per player gameobject state and visibility for ↵Shauren
looted non-consumable chests
2022-10-04Scripts/Instances: Add dungeon encounter dataShauren
2022-03-27Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlagShauren
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-02-13Core/Misc: Cleanup unused includesShauren
2022-02-05Core/Movement: Corrected Animation Tier handling (PR #24875)NoName
Co-authored-by: Warpten <vertozor@gmail.com> Co-authored-by: Ovahlord <dreadkiller@gmx.de> Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
2022-01-24Core/WorldObject: Replace non-std::chrono SummonGameObject overloadsCarbenium
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest (cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
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/Creature: Remove non-std::chrono overload of DespawnOrUnsummonCarbenium
(cherry picked from commit 480dee3125929181b7004810516ea673c61f5811)
2022-01-23Scripts/Stonecore: Use std::chrono::duration overloads of EventMapShauren
2022-01-22Scripts/Spells: Move spell_anchor_here to generic because is used by more ↵Aqua Deus
than one boss (#27641)
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)
2021-12-20Scripts: Fix rbac permission for skipping default boss sequencing checkShauren
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
2021-12-17Core/AI: Finally move the "is creature engaged" flag to be a property of the ↵Treeston
creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time. (cherry picked from commit 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-12Combat/Threat: Split ThreatManager::NotifyDisengaged off from ↵Treeston
ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490. (cherry picked from commit 1158f267df22c0782fb5f20f7de31f5643ac0b58)
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-10Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter ↵Shauren
and exit instead of only on enter
2021-06-16Core/Formations: update codestyle and fix crashariel-
Closes #21288 (cherry picked from commit 73cc613dc86d7d72d78f22affe2faba6786bccc5)
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)
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)
2020-01-02New YearAokromes
2019-06-08Core/PacketIO: Rewrite updatefield handlingShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-06-16Scripts/Misc: Use InstanceMap* in InstanceScript instead of Map*Shauren
2018-05-07Core/Misc: Fixed rotation of many gameobjects summoned in tol barad, ↵Shauren
garrison and various scripts
2018-03-25Core/Entities: Phasing rewriteShauren
* Optimized phase visibility checking * Handle all phase flags Closes #16758 Closes #21119
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-06-04Core/Game: Include cleanup part 5Shauren
* ObjectMgr.h * Player.h * Unit.h * G3D should no longer propagate everywhere from Spline/MotionMaster
2017-05-28Core/Scripts: Include cleanupShauren
2017-05-25More nopch fixesShauren
2017-05-05Core/Collision: Replaced phasemask with proper phases in GameObject ↵joschiwald
collision calculation
2017-02-11Core/Entities: debloat SummonGameObject parameter list using proper wrappers ↵ariel-
and enable GO rotation in scripts - There's still an overload allowing for x, y, z, o to be passed directly - Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs) (cherry picked from commit 62bfee37cb21584cef631dda428feaf5eb829cda) # Conflicts: # src/server/game/Battlefield/Battlefield.cpp # src/server/game/Battlegrounds/Battleground.cpp # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/GameObject/GameObject.h # src/server/game/Entities/Object/Object.cpp # src/server/game/Entities/Object/Object.h # src/server/game/Spells/SpellEffects.cpp # src/server/scripts/Commands/cs_gobject.cpp # src/server/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp # src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp # src/server/scripts/Kalimdor/zone_feralas.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp # src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-12-13Core/Units: Cleanup hardcoded magic numbers for byte field offsetsShauren
2016-12-01Scripts: Minimize duplicated enum names in header files (#18346)Duarte Duarte
This reduces the number of cache resets with the Zapcc compiler Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
2016-02-21Core/Scripts: Split the huge scriptloader into smaller piecesNaios
* Each subdirectory contains it's own translation unit now which is responsible for loading it's directory * Improves merging & decoupling between 3.3.5 <-> 6.x * Removes unused Battleground loader * Ref #15671
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)