Commit Graph

4479 Commits

Author SHA1 Message Date
Andrew 39ea396113 feat(Scripts/Commands): Implement gameobject respawn command (#18129) 2024-01-07 17:58:17 +01:00
Kitzunu bceb6173c2 fix(Core/Player): Sometimes Player whisper is sent as boss whisper (#18128)
* fix(Core/Player): Sometimes Player emot is sent as boss whisper

* actually change it to whisper as it is boss whisper

* Update Player.cpp
2024-01-07 12:14:20 -03:00
Kitzunu 7a859da266 fix(Script/Spell): Vanish Purge behavior (#18127) 2024-01-07 12:03:53 -03:00
Alethrion d069fe5dac fix(Scripts/SSC): Update Hydross Mark Timers (#18114)
* Scheduler_Fix

* Thanks_Bench

* Thanks_Again_Bench

* Thanks_elthehablo

* Stupid_Last_Line
2024-01-06 19:23:46 +01:00
Kitzunu 2558f25623 fix(Core/Quest): Calculate reward money with RATE_REWARD_BONUS_MONEY … (#18104)
* fix(Core/Quest): Calculate reward money with RATE_REWARD_BONUS_MONEY instead of RATE_DROP_MONEY

* Update worldserver.conf.dist
2024-01-04 18:57:53 +01:00
Kitzunu 6202835cff fix(Core/LFG): Hide XP from max players (#18103)
* Cherry-pick Player::IsMaxLevel from TrinityCore
* Correctly hide XP reward for max level players in LFG
* Closes #18101
2024-01-03 19:47:26 +01:00
AG 8f127f9e21 Fix combat movement (#18026)
* Improve combat movement

 - Removed a bunch of logic related to another attempt at fixing combat movement.
- Removed SMART_ACTION_SET_CASTER_COMBAT_DIST and updated smarts scripts accordingly.
- Cherry-picked https://github.com/TrinityCore/TrinityCore/commit/7fb74326205acbc5c0fa6b2aa9731d891e788d64
- Cherry-picked https://github.com/TrinityCore/TrinityCore/commit/63a6e1e0480df659e773a3df5e1acc2027ebcf15

Co-Authored-By: Ludovic Barbier <ludovic.barbier03@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Some more cleanup + fix sql

* More fixes to caster chase/combat movement + some cherry picks because why not

- Fix casters always trying to chase to melee range
- Fix casters another case of casters sometimes walking back instead of stopping
- Cleaned up some code
- Cherry picked https://github.com/TrinityCore/TrinityCore/commit/ca25e8d0199730c0976ebc37317e9407aceccc34
- Cherry picked https://github.com/TrinityCore/TrinityCore/commit/96b289cadbf304e427ddbd281d1a6f592af612a7

Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Added parentheses

* Fixed caster combat movement when target is rooted

- Made a few adjustments to chase range and stuff, but nothing set in stone.

* convert uint to int

---------

Co-authored-by: Ludovic Barbier <ludovic.barbier03@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2024-01-03 09:56:24 +01:00
Andrew f9f71fff36 fix(Core/Player): Check if the player can summon the warlock pet on B… (#18064)
fix(Core/Player): Check if the player can summon the warlock pet on BG ress
2024-01-01 14:56:32 +01:00
Andrew 413cde96dd refactor(Scripts/Areatrigger): Move Scholazar Waygate script to SAI (#18054)
* refactor(Scripts/Areatrigger): Move Scholazar Waygate script to SAI

* Update rev_1703449890835634600.sql
2024-01-01 14:01:16 +01:00
Andrew c4a7ef2eb0 refactor(Scripts/TheEye): Update Astromancer's spellscripts to new re… (#18058)
refactor(Scripts/TheEye): Update Astromancer's spellscripts to new register method
2024-01-01 14:00:33 +01:00
Andrew e3fd42f3d4 feat(Core/World): Implement DoForAllPlayers() helper for all online p… (#18060)
* feat(Core/World): Implement DoForAllPlayers() helper for all online players

* Update src/server/game/World/World.cpp

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>

* Update src/server/game/World/World.cpp

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>

* rename

* Update WorldMock.h

* Update WorldMock.h

---------

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2024-01-01 13:57:57 +01:00
sudlud 87c3421262 fix(Scripts/Midsummer): Improve Torch Catching based on sniffs (#18071)
- Update creature 26188 '[PH] Torch Catching Target Bunny' with sniffed values
- correctly randomize torch target positions
2024-01-01 09:06:54 -03:00
Anton Popovichenko dc830932f7 fix(Core): Fix item disappearing on selling item on auction (#18090) 2024-01-01 08:01:22 -03:00
Alethrion b2fcc1babf fix(Core/Unit): Remove delay for Conflagrate aura state (#18068)
Removes ConflagrateAuraStateDelayEvent

Cherry-picked from: https://github.com/TrinityCore/TrinityCore/commit/e27c385b48fce359a168d602dabae8c55fa85563

Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2024-01-01 07:59:23 -03:00
Andrew a11434b24f refactor(Core/GameObject): Move the GameObject state save handling to… (#18080)
* refactor(Core/GameObject): Move the GameObject state save handling to instance level

* Update GameObject.h

* remove leftover

* small improvements
2024-01-01 01:51:33 -03:00
Alexandru-Mihai Maftei ebe89b875f fix(Scripts/ScarletMonastery): Prevent Whitemane from dying before resurrecting Mograine (#18082)
The current code only prevents Whitemane from dying before casting sleep, but the players can inflict enough DPS on her before that, that she can die before resurrecting Mograine.
When this happens, the dungeon is broken and cannot progress.
2023-12-30 12:47:02 -03:00
IntelligentQuantum 6a6cefb512 chore(Scripts/EK): remove useless includes (#18075)
* chore(Scripts/Kalimdor): remove useless includes

* chore(Scripts/EK): remove useless includes
2023-12-28 16:15:16 -03:00
IntelligentQuantum fa884ae385 chore(Scripts/Kalimdor): remove useless includes (#18065) 2023-12-26 06:08:37 -03:00
Andrew be4d90404b feat(Core/Spells): Implement SPELL_ATTR0_CU_BYPASS_MECHANIC_IMMUNITY (#18056) 2023-12-25 03:58:29 -03:00
sudlud 1710d4d1c3 fix(Scripts/Midsummer): Implement Midsummer Bonfire mechanics (#18023) 2023-12-25 03:06:15 -03:00
IntelligentQuantum 4ec284577e chore(Scripts/Northrend): remove useless includes (#18061) 2023-12-25 02:15:56 -03:00
IntelligentQuantum 79a2bb84e9 chore(Scripts/Outland): Remove useless includes (#18049) 2023-12-24 09:37:41 -03:00
Andrew 0ad882338c chore(Scripts): Remove placeholder Ironforge/AlteracMountains files (#18047) 2023-12-24 08:09:07 -03:00
Andrew d83d623792 chore(Scripts/World): Remove unused legacy scripts (#18048) 2023-12-24 08:04:37 -03:00
attacksnack b0ebaf4c96 fix(Scripts/Spells): Fix Ritual of Souls with Improved Healthstone 2023-12-23 23:29:34 -03:00
IntelligentQuantum 258e369ee5 chore(Core): remove useless includes (#18036) 2023-12-23 12:16:27 -03:00
Andrew 330ed952df fix(Scripts/SerpentshrineCavern): Despawn Lurker's pool and fix visua… (#18037)
fix(Scripts/SerpentshrineCavern): Despawn Lurker's pool and fix visual issue on death
2023-12-23 16:12:07 +01:00
IntelligentQuantum 016bb86d3b refactor(Scripts): remove useless includes (#18004) 2023-12-22 18:41:28 +01:00
avarishd 03d06da87b feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_EVADE (#18018)
* feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_EVADE

* .
2023-12-15 09:43:24 -03:00
Andrew 9df2c485fc fix(Scripts/SerpentshrineCavern): Fix Lurker spawn coords and spout s… (#18014)
fix(Scripts/SerpentshrineCavern): Fix Lurker spawn coords and spout shouldnt hit players on water at all
2023-12-14 16:42:20 -03:00
avarishd 06525cdc1e feat(Core/Object): Play radius sound/music. (#18011) 2023-12-13 16:24:52 -03:00
Dan 4d40b03644 fix(Scripts/SSC): play emerge animation on the Lurker Below and make sure whirl doesn't happen during spout (#18009)
* initial

* forgor register hook
2023-12-12 20:13:12 -03:00
Angelo Venturini 18af46d357 fix(Core/SSC): Rancid Mushroom mechanic (#18008)
* fix(Core/SSC): Rancid Mushroom mechanic

* missing clear smart_scripts

* build

* build again
2023-12-12 18:29:05 -03:00
Andrew 00ee7bd920 fix(Scripts/SerpentshrineCavern): fix Hydross not casting Water Tomb … (#18003)
fix(Scripts/SerpentshrineCavern): fix Hydross not casting Water Tomb & Vile Sludge
2023-12-12 08:46:19 +01:00
Andrew a84a56536d fix(Scripts/SerpentshrineCavern): Use proper spells to handle the Lur… (#18002)
* fix(Scripts/SerpentshrineCavern): Use proper spells to handle the Lurker spout rotation

* Update boss_lurker_below.cpp
2023-12-12 08:45:43 +01:00
IntelligentQuantum 9f1abf1214 chore(Core/Entities): remove useless includes (#17994) 2023-12-12 01:36:35 -03:00
Andrew 05ec0d09c3 fix(Scripts/SerpentshrineCaverns): fix double submerge phases (#18001) 2023-12-12 00:27:03 -03:00
avarishd 0ab4931bf5 fix(Scripts/Commands): fix wpgps and add sai option for formating (#17990)
* fix(Scripts/Commands): fix wpgps and add sai option for formating

* ???
2023-12-11 23:54:52 -03:00
Angelo Venturini 10c9a2729b fix(Core/SAI/SSC): Allow Farthest target to set a min distance (#17992) 2023-12-11 19:57:44 -03:00
Dan 8ea3d81d69 fix(Scripts/SSC): make The Lurker Below spout rotate faster again (#17993)
revert rotation speed to 200ms
2023-12-11 19:57:27 -03:00
天鹿 bf87cc5230 fix(Core): Build (#17989)
Update spell_generic.cpp
2023-12-11 09:54:44 -03:00
Andrew 23c407ceb7 refactor(Scripts/Outland): Update Doomwalker to new register model (#17987) 2023-12-11 08:02:03 -03:00
Andrew 54fab715a5 refactor(Scripts/UtgardeKeep): Clean up unused variables (#17985) 2023-12-11 04:31:24 -03:00
Andrew 0e58dfb1e4 fix(Scripts/SerpentshrineCavern): The Lurker should emerge once all a… (#17984)
fix(Scripts/SerpentshrineCavern): The Lurker should emerge once all adds are dead
2023-12-11 04:19:01 -03:00
Andrew 3c923ebc0c fix(Scripts/SerpentshrineCavern): Leotheras should engage once adds a… (#17983)
fix(Scripts/SerpentshrineCavern): Leotheras should engage once adds are dead
2023-12-11 08:13:19 +01:00
Angelo Venturini 31b66ad80a fix(Core/SSC): Fix Lady Vashj summons (#17982) 2023-12-11 02:46:12 -03:00
Angelo Venturini 8c723a183f fix(Core/SSC): Added boss boundaries (#17981)
* fix(Core/SSC): Added boss boundaries for Lady Vashj and Morogrim

* add FLK boundaries

* leftover
2023-12-11 02:35:00 -03:00
Andrew cb57691ce9 fix(Scripts/SerpentshrineCavern): Randomize the Lurker spout direction (#17980) 2023-12-10 21:33:36 -03:00
Angelo Venturini 36109628a9 fix(Core/Spells): Add ignore LOS to Tidal Wave (#17979) 2023-12-10 20:30:28 -03:00
Andrew 310dd3137c fix(Scripts/SerpentshrineCavern): Leotheras inner demons should only … (#17976)
fix(Scripts/SerpentshrineCavern): Leotheras inner demons should only be seen by their summoner
2023-12-10 19:59:02 -03:00