Commit Graph

6202 Commits

Author SHA1 Message Date
Shauren
d144724e2f Core/Entities: First batch of removing implicit conversions of ObjectGuid to uint64
(cherry picked from commit 9cc7044546)
2025-09-28 21:38:32 +02:00
Shauren
175424d3cb Core/Misc: Reduce differences between branches 2025-09-27 23:25:37 +02:00
Vincent-Michael
80938ba13d Core: Add GetFallTime() to MovementInfo
(cherry picked from commit 339574e2fd)
2025-09-27 19:56:44 +02:00
Shauren
56a8defe62 Core/Misc: Rename AreaTrigger to AreaTriggerTeleport 2025-09-25 00:53:19 +02:00
Shauren
548817202e Core/Misc: Reduce differences between branches 2025-09-25 00:53:12 +02:00
offl
85dca37de5 Scripts/Sunwell Plateau: Rewrite Brutallus (#31274) 2025-09-22 20:36:05 +02:00
mitm-gnd
afd6900b10 Scripts/Commands: Use localized names for .additem (#31270) 2025-09-20 20:05:22 +02:00
offl
2979b12f8f Scripts/Molten Core: Update scripts (#31244)
* Many changes to improve several encounters

Credit for a lot of things goes to CMaNGOS
Garr fully based on CMaNGOS version
2025-09-18 14:53:33 +02:00
Shauren
8011ef76c3 Scripts/Stratholme: Added missing dungeon encounter ids
(cherry picked from commit 4370f2fe29)
2025-09-15 18:52:58 +02:00
offl
2ce4c8640e Scripts/Stratholme: Rewrite scripts (#31232) 2025-09-15 18:52:25 +02:00
offl
5e1f7e4013 Scripts/Zul'Aman: Rewrite Zul'jin (#31229)
Partially based on CMaNGOS script
2025-09-15 14:44:19 +02:00
offl
7c9bea1e90 Scripts/AQ20: Rewrite Buru (#31217)
Credit for a lot of things goes to CMaNGOS
2025-09-14 19:47:08 +02:00
offl
de6a77c535 Scripts/AQ20: Rewrite Moam (#31216)
* New register model
* Repeat events instead of scheduling them
* Added unique names for enums
* Added comments for script names
* Added AI for Mana Fiend
* Added missing emote
* Use all emotes
* Create master-script to summon Mana Fiends
* Implement & use Zero Mana/Full Health spell
* Implement Energize script to end stoned phase
* Implement Drain Mana master spell script with correct amount of targets and checks to ensure only players and mana-users will be targeted
* Implement Drain Mana visual effect
* Now, once all Mana Fiends are dead, stone phase is finished
* Rework the way stone phase is started and finished
* Moam now drops obsidian mineral once dead
* Added a check to ensure all combat spells will be used
* Added event to handle Arcane Eruption instead of trying to cast it every update tick

Credit for a lot of things goes to CMaNGOS
2025-09-14 00:19:03 +02:00
offl
5c6bf61066 Scripts/AQ20: Update Rajaxx (#31204)
* New register model
* Repeat events instead of scheduling them
* More proper timers for spells
* Added unique names for enums
* Added comment for script name
* Added missing emote
* Added missing Frenzy spell
* Cleanup texts (keep only actually used)
* Use combat texts
* Add ResetAllThreat component to Thundercrash spell script
2025-09-13 18:01:46 +02:00
offl
399d89a748 Scripts/AQ40: Rewrite Bug Trio (#31202)
* New register model
* Use EventMap instead of old events
* More proper timers for spells
* Added missing spells and removed wrong
* Corrected targets for spells
* Added comments for script names
* Added formation to handle linked aggro
* Cleanup headers
2025-09-12 22:37:07 +02:00
offl
19382995de Scripts/Spells: Migrate some spell linked spells to spell scripts (#31182) 2025-09-09 18:31:44 +02:00
offl
9625ef1daa Scripts/Karazhan: Rewrite Moroes (#31164)
* Add missing Frenzy emote
 * Implement & use Garrote Remove spell
 * Use BossAI for Moroes
 * Use EventMap & TaskScheduler instead of old events
 * Handle special emotes in OnSpellCast
 * Update enums
 * Add comments for script names
 * Update timers and targets of spells
 * Garrote now correctly applies on players
 * Improve GuestBaseAI & guest scripts
 * Use new register model for all scripts
2025-09-09 12:20:45 +02:00
offl
e8b921886f Scripts/Quest: Update & convert to SAI 'The Escape' (#31160) 2025-09-09 11:03:05 +02:00
Shauren
9ca7fc89a9 Core/Reputation: Named all reputation flags
(cherry picked from commit f6b919fafe)
2025-09-08 19:49:24 +02:00
Shauren
ca7824c58b Core/Reputation: Implemented "friendship reputation"
(cherry picked from commit 80a6347b7a)
2025-09-08 19:40:48 +02:00
offl
806c606787 Scripts/Quest: Update & convert to SAI 'Willix the Importer' (#31138) 2025-09-07 15:44:28 +02:00
offl
d5921303b7 Scripts/RazorfenDowns: Modernize scripts (#31145) 2025-09-04 23:13:36 +02:00
offl
ac1c9b862c Scripts/AQ20: Update Ayamiss (#31213) 2025-09-04 23:10:56 +02:00
Shauren
d03e90ef43 Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
(cherry picked from commit 1f5f245c02)
2025-08-30 22:55:25 +02:00
Shauren
a3874ee4f9 Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
(cherry picked from commit 7ac0c685dd)
2025-08-30 22:55:25 +02:00
Shauren
9350a0f561 Core/Misc: CompilerDefs/GitRevision improvements
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)

(cherry picked from commit e8740fb2e1)
2025-08-30 22:55:25 +02:00
offl
5dcef2bbaf Scripts/Shadow Labyrinth: Modernize scripts (#31010) 2025-08-28 13:19:48 +02:00
HelloKitty
33a8d42bd7 Script/Commands: Fix crash in .pet create command if Unit::CreateTamedPetFrom returns nullptr (#31218) 2025-08-18 16:28:37 +02:00
offl
760cd824bb Scripts/Spells: Migrate & update several item spell scripts to zone files (#31171) 2025-08-17 18:26:27 +02:00
offl
5649e4e76c Scripts/SerpentshrineCavern: Rewrite Hydross (#31150) 2025-08-16 14:40:49 +02:00
offl
60c8dc17bc Scripts/AQ40: Rewrite Fankriss (#31200) 2025-08-16 14:35:22 +02:00
offl
126fa17de9 Scripts/AQ20: Refactor Kurinnaxx and implement Sand Trap (#31203) 2025-08-16 14:31:45 +02:00
Antonio
7de212a640 Core/Misc: Include source object information in ObjectMgr::GetClosestGraveyard() log message (#31194) 2025-08-16 00:11:36 +02:00
offl
7d33481fa9 Scripts/AQ40: Rewrite Huhuran (#31199) 2025-08-10 12:11:43 +02:00
offl
3a964bc3f9 Scripts/Karazhan: Update Maiden of Virtue (#31165) 2025-08-10 12:01:01 +02:00
offl
54f42db98f Scripts/AQ40: Rewrite Sartura (#31197) 2025-08-10 11:54:09 +02:00
offl
73bc61a4fd Scripts/Spells: Optimized Winter Veil Mistletoe and PX-238 Winter Wondervolt (#31190) 2025-08-10 11:20:08 +02:00
offl
cac0188e49 Scripts/Spells: Implement Itch (#31193) 2025-08-05 18:52:48 +02:00
offl
b75d047a33 Scripts/Spells: Implement Cataclysm Breath & Chaos Breath & Death Count (#31172)
* Implement Cataclysm Breath (forces creature to cast 4 of 8 random spells)
* Implement Chaos Breath (forces creature to cast 3 of 8 random spells)
* Implement Death Count remover spell (replace SAI implementation with spell script)

Closes #30320
2025-07-28 20:28:32 +02:00
offl
994b1df115 Scripts/Serpentshrine Cavern: Rewrite Karathress (#31136)
* Create AI for Cyclone & summon it by spell
* Create formation for linked aggro & replace scripted linked aggro
* Script The Beast Within spell & use correct trigger spell
* Create proper AI for Fathom Lurker & Fathom Sporebat
* Summon Fathom Lurker & Fathom Sporebat by spells
* Create AI for all totems used in encounter
* Spawn Seer Olum in DB instead of wrongly summoning him
* Remove redundant Karathress' event from instance script
* Cleanup headers
* Correctly use all Karathress' texts
* Cleanup & split enum
* Use EventMap and TaskScheduler instead of old events
* Fix respawn bugs of advisors
* Properly handle abilities Karathress gains from advisors
* Properly handle Blessing Of Tides
* Remove redundant SetBossState calls from advisors
* Update timers of all spells
* Update targets of all spells
2025-07-27 22:33:52 +02:00
Shauren
65715e7dd9 Core/Misc: Reduce differences between branches 2025-07-25 16:55:15 +02:00
offl
f536e1a266 Scripts/Quest: Update 'Guide Our Sights' (#31132) 2025-07-24 22:48:02 +02:00
offl
8d038db0db DB/Quest: Rewrite 'Strengthen the Ancients' (#31131) 2025-07-24 15:20:52 +02:00
offl
e899b2aeea Scripts/Steam Vault & Underbog: Minor updates (#31090)
* Kalithresh now forces all distillers to cast SPELL_QUIET_SUICIDE when encounter is finished
* Move go_main_chambers_access_panel script from instance file to instance scripts file
* Add comments for script names for Hungarfen and Black Stalker
* Remove redundant SetBossState for Musel'ek (currently is handled in BossAI)
2025-07-24 14:25:16 +02:00
offl
fd42b894f3 Scripts/Sethekk Halls: Improve Anzu (#31087)
* Add missing texts
* Implement intro event
* Update summon event (now Banish is canceled when all Brood of Anzu is killed)
* Remove redundant checks and actions to prevent double-summon of Anzu (not needed anymore, handled in SAI)
* Prevent calling Ikiss' intro if already done
2025-07-24 11:15:46 +02:00
offl
4dece3fe4e Scripts/Arcatraz: Rewrite Mellichar's event (#31081) 2025-07-22 21:26:15 +02:00
offl
cfa9fb701a Scripts/Spells: Implement Revive Self & Knock Away spells (#31069) 2025-07-22 17:05:14 +02:00
offl
761786ca18 Scripts/Shattered Halls: Update scripts (#31021)
* Kargath and O'mrogg got a full rewrite
* other bosses - new register model only, no functionality changes
2025-07-22 14:09:55 +02:00
Shauren
9ffc85485a Core/Misc: Reduce differences between branches 2025-07-14 22:26:42 +02:00
offl
f40409ce68 Scripts/Maraudon: Modernize scripts (#31092)
* New register model
* Codestyle changes
* TaskScheduler instead of timer variables
* Implement one spell script for Noxxion encounter
2025-07-13 21:03:02 +02:00