Commit Graph

4615 Commits

Author SHA1 Message Date
Yunfan Li
7915f79d04 Merge branch 'master' into Playerbot 2023-12-12 20:52:42 +08: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
Andrew
112ad54bad fix(Scripts/SerpentshrineCavern): Fix Hydross not moving before grid … (#17975)
fix(Scripts/SerpentshrineCavern): Fix Hydross not moving before grid loads and boss engaging
2023-12-10 19:06:41 -03:00
avarishd
f476c8a6c9 feat(Core/Hooks): Add OnPlayerJustDied hook (#17973)
feat(Core/Hooks): Add OnPlayerJustDied
2023-12-10 19:06:23 -03:00
Amnney
af03611faf fix(Scripts/Karazhan): fixing the Aran drink routine and reset behavior (#17849)
* fix(Scripts/Karazhan) Fixed drinking behavior

* fix(Scripts/Karazhan) Cleanup comments

* fix(Scripts/Karazhan) Cleanup whitespace
2023-12-10 12:48:43 -03:00
Tristan 'Natrist' Cormier
ac676f87ab chore(Core/Player): remove unused AnticheatSetSkipOnePacketForASH() function (#17947) 2023-12-09 01:09:52 +01:00
Kitzunu
4d935d6d8a fix(Scripts/Commands): Crash on go xyz with invalid mapid (#17962)
fix(Scripts/Commands): Crash on go xyz
2023-12-09 01:06:02 +01:00
sudlud
f2007aa59e refactor(Scripts/Midsummer): use scheduler provided by CreatureAI (#17955) 2023-12-08 23:44:51 +01:00
Dan
2d6c012e1d fix(Scripts/SSC): codestyle fix in SSC after recent PR (#17952)
initial
2023-12-08 00:10:51 +01:00
Dan
3ac77eb379 fix(Scripts/SSC): Leotheras demon form fixes (#17953)
* initial

* add 15% hp to p3 demon

* increase chase range

* correct behaviour

* remover leftover and make target non-static

* whitespace
2023-12-08 00:10:33 +01:00
天鹿
f2b3e51c11 fix(scripts/SerpentShrine): #17918 Errors generated (#17939)
* Add files via upload

* Update boss_lurker_below.cpp

* Update instance_serpent_shrine.cpp

* Update SerpentShrine.sql

* Update SerpentShrine.sql

* Update SerpentShrine.sql

* Add files via upload

* Update instance_serpent_shrine.cpp

* Update serpent_shrine.h

* Update instance_serpent_shrine.cpp
2023-12-07 21:22:07 +01:00
Winfidonarleyan
6faa364ad8 fix(Game/Scripting): add loading missing lfg scripts (#17949) 2023-12-06 16:21:46 -03:00
Andrew
28591caaf8 refactor(Scripts/SerpetnshrineCavern): Clear up unused variables (#17934) 2023-12-03 18:04:25 -03:00
Andrew
0fa6a67815 feat(Core/Scripting): Implement AfterInstanceGameObjectCreate() global hook (#17935) 2023-12-03 18:04:16 -03:00
pedrohfm9
0e04fc2061 fix(Scripts/HellfirePeninsula): fix quest 9410 a spirit guide (#17925) 2023-12-03 13:32:36 -03:00
pedrohfm9
df5d618130 fix(Script/Stormpeaks) fix quest 12862 and 13060 When All Else Fails (#17916)
* fix(DB/Creature): Grunda Bronzewing is now mounted

Grunda Bronzewing is now mounted

* Update Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql

Grunda Bronzewing is now mounted

* Rename Fix-Grunda Bronzewing in Honor Hold is not riding on a golden gryphon.sql to Fix-Grunda.sql

Grunda Bronzewing is now mounted

* Delete Fix-Grunda.sql

* Create fix_quest_12862_13060.sql

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* clean up redundancy

* Update fix_quest_12862_13060.sql

* Update zone_storm_peaks.cpp

* Update src/server/scripts/Northrend/zone_storm_peaks.cpp

* Update zone_storm_peaks.cpp

* fix_quest_12862_13060.sql

* delay spell cast by 1 sec

* Update zone_storm_peaks.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-12-03 13:11:28 -03:00
Andrew
755d439896 fix(Scripts/AlteracValley): Balinda Stoneheart (#17933)
* fix(Scripts/AlteracValley): Balinda Stoneheart

- Convert to taskscheduler
- Use proper spell to summon elemental
- Move elemental to SAI
- Now uses Iceblock

partial cherry pick of 93a01b6d50
2023-12-03 10:35:44 -03:00
Kitzunu
4fb0464b60 fix(Core/Quest): Throw error if quest_template RewardItemId is not se… (#17924)
fix(Core/Quest): Throw error if quest_template RewardItemId is not set in order

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17740
2023-12-03 13:38:51 +01:00
Kitzunu
d0f10a12c0 feat(Scripts/Commands): introduce go creature name (#17910)
* feat(Scripts/Commands): introduce go creature name

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/2315

* Since new command handler the old "go creature" dont take name as argument

* Update cs_go.cpp

* this could be null... so let's avoid stupid crashes

* we only need the first result if there are multiple

* Update cs_go.cpp

* Update rev_1701381015172273800.sql
2023-12-03 02:57:41 +01:00
Winfidonarleyan
eb1ecc38a5 feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
Kitzunu
eb663a436a fix(Scripts/Command): Allow player name/guid in additem (#17915)
* fix(Scripts/Command): Allow player name/guid in additem

* build?

* Revert "build?"

This reverts commit 3f37456f1d41a0db0bae45801c6f90e72ce19292.

* Update cs_misc.cpp

* console isnt a player
2023-12-02 19:59:09 +01:00
Kitzunu
db4b0b0d3d feat(Core/ChatHandler): Add SendErrorMessage helper (#17919)
* feat(Core/Chat): Add SendErrorMessage helper

* lost boy
2023-12-02 19:25:32 +01:00
Kitzunu
5bfeabde81 chore(Core/Misc): rename spellInfo pointers (#17914)
* Rename all
2023-12-02 06:03:15 -03:00
Tristan 'Natrist' Cormier
8eed7ee531 fix(Core/Channel): potential nullptr reference in Channel::SetOwner() (#17906) 2023-11-30 16:25:01 -03:00
Kitzunu
c1a12a64ee fix(Script/Commands): Make sure learn all lang also give you the skill (#17902) 2023-11-29 22:26:40 +01:00
Andrew
4552e89bfd refactor(Scripts/MagisterTerrace): Update Vexallus script (#17892)
* refactor(Scripts/MagisterTerrace): Update Vexallus script

* Update src/server/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
2023-11-29 20:34:11 +01:00
Kitzunu
635288b5c5 fix(Scripts/Commands): Display GUID on gob info (#17900)
* fix(Scripts/Commands): Display GUID on gob info

* close https://github.com/azerothcore/azerothcore-wotlk/issues/8129

* Update cs_gobject.cpp
2023-11-29 20:14:58 +01:00
Kitzunu
e8336919f9 fix(Scripts/Command): ticket comment should allow input (#17891)
fix(Scripts/Command): gm comment should allow input

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17877
2023-11-29 09:38:03 -03:00
Tristan 'Natrist' Cormier
4c94f62144 chore(Core/Account): move AccountMgr::IsGMAccount() to class WorldSession (#17845) 2023-11-28 21:44:48 +01:00
Gultask
d3bef76fae fix(Scripts/Darkshore): Rabid Thistle Bear spawning with StandState Dead (#17875) 2023-11-26 21:22:58 -03:00
Kitzunu
ef1b3c2ea0 chore(Core/Misc): Clean up workarounds (#17870)
* Clean advstd to use std c++20 features
* Use ABORT instead of std::abort

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-11-27 00:07:39 +01:00
Gultask
abf85fb44f fix(Scripts/Quest): Correct respawn logic for Isla Starmane and Rin'ji (#17874)
* Create rev_1694739263824086500.sql

* init

* 2
2023-11-27 00:04:47 +01:00
Andrew
daec8345e0 refactor(Scripts/BlackTemple): Modernize Najentus boss script (#17871)
* refactor(Scripts/BlackTemple): Modernize Najentus boss script

* fix build

* Update ScriptedCreature.h
2023-11-26 23:47:15 +01:00
Andrew
c9b42d6d6c chore(Scripts/BlackTemple): Update Akama, Supremus, Gorefiend and Naj… (#17867)
chore(Scripts/BlackTemple): Update Akama, Supremus, Gorefiend and Najentus to new register method
2023-11-26 20:35:16 +01:00