Commit Graph

63 Commits

Author SHA1 Message Date
Dan
3e19b5e637 fix(Scripts/Underbog): modernise boss scripts (#16149) 2023-06-04 23:42:40 -03:00
Skjalf
8d6392d60f fix(Scripts/Underbog): Rework Swamplord Muselek (#14724)
* fix(Scripts/Underbog): Rework Swamplord Muselek

* Update boss_swamplord_muselek.cpp

* update to bossai

* Update outland_script_loader.cpp

* Update boss_swamplord_muselek.cpp

* Update boss_swamplord_muselek.cpp

* prevent chase movement while walking backwards

* Update boss_swamplord_muselek.cpp
2023-05-13 14:44:20 -03:00
UltraNix
2a1d706a2f fix(Scripts/Underbog): Underbat's Tentacle Lash should be casted only … (#14566)
* fix(Scripts/Underbog: Underbat's Tentacle Lash should be casted only on targets behind the bat.

Fixes #13972

* buildfix.
2023-05-12 09:15:02 -03:00
Dan
11eab9c3a6 fix(Scripts/TheSlavePens): port SAI from bosses to C++ (#16169)
* fix

* add sql 1

* add sql 2

* remove extra lines

* remove dumb stuff

keywords in "comment" were messing up the statement

* same story

todo: get better at SQL

* better formatting + two sql statements together

* remove old sql query

* last fix

* fixes to header enum

* fix sql

to have a more universal format

* E e

* final sql fix
2023-05-12 08:20:31 -03:00
Skjalf
9c6a561404 fix(Scripts/Steamvault): Despawn Thespia's adds on death (#15898)
* fix(Scripts/Steamvault): Despawn Thespia's adds on death

* stuff
2023-04-09 17:37:12 -03:00
Skjalf
78384368ba fix(Scripts/Steamvault): Rework Mekgineer Steamrigger (#15896) 2023-04-09 16:26:35 -03:00
Skjalf
a695d00932 fix(Scripts/Steamvault): Rework Kalithresh (#15883) 2023-04-08 21:56:09 -03:00
Gultask
57874f9d40 fix(Scripts/Steamvault): Correct timers and add missing events (#15840) 2023-04-05 23:47:22 -03:00
UltraNix
ce066a4781 fix(Scripts/SlavePens): Added waypoint movement to Quagmirran. (#15582)
* fix(Scripts/SlavePens): Added waypoint movement to Quagmirran.

Fixes #8559

* buildfix.
2023-04-04 08:30:59 -03:00
UltraNix
fa249abb55 fix(Scripts/Steamvault): Improved Door Controller event. (#15580)
Fixes #15547
2023-03-29 01:28:42 -03:00
Gultask
d87a9dc58f fix(Scripts/Steamvault): Correct Timers for Thespia and add missing line (#15640)
* Update boss_hydromancer_thespia.cpp

* Create thespia.sql

* Update boss_hydromancer_thespia.cpp

* Lightning cloud is random as well

* DoCast
2023-03-29 00:28:15 -03:00
Skjalf
0f9a4e15d5 refactor(Scripts/Steamvault): Modernize boss/instance scripts (#15224) 2023-03-04 15:42:29 -03:00
Kitzunu
bd6034e1a9 refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-13 21:39:40 +01:00
Skjalf
0dbb8c814c refactor(Core/InstanceScript): refactored load and save methods (#14977)
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com>
2023-02-12 15:53:48 -03:00
UltraNix
fbaa48e233 fix(Scripts/Underbog): Underbog Shambler's Allergies should periodica… (#14563) 2023-02-10 22:14:49 -03:00
Skjalf
bf30c66ba4 feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
Skjalf
b4e3f1310b feat(Core/Unit): Add KillSelf overload (#14785)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-28 17:57:23 -03:00
UltraNix
312c1eac3e fix(Scripts/Underbog): Fixed Fungal Decay spells. (#14543)
Fixes #13977
2023-01-07 20:29:03 +01:00
UltraNix
8cb88cce52 fix(Scripts/The Underbog): Rewritten The Black Stalker's Levitate mec… (#14541)
* fix(Scripts/The Underbog): Rewritten The Black Stalker's Levitate mechanic.

Fixes #13988

* buildfix.

* Update src/server/scripts/Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp

Co-authored-by: offl <offl@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-01-07 20:28:22 +01:00
Angelo Venturini
b7e002ebae fix(Core/Scripts): Rewrite Hungarfen (#14426) 2023-01-02 20:43:42 -03:00
UltraNix
f4ccf15091 fix(Scripts/Underbog): Moved Gha'zan script to C++ file. (#13887)
* fix(Scripts/Underbog)L Moved Gha'zan script to C++ file.

Added scripted waypoints.
Fixes #13793

* Update.

* missing player include

* Update.

Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
2022-12-11 03:57:38 +01:00
Maelthyr
c1c9dc6105 refactor(Core/ScriptedAI): few improvements with threat methods (#13146)
improve threat scripts

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
2022-11-12 13:29:28 +01:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
Maelthyr
5ede1177c5 refactor(Core/Combat): implement compatiblity layer for ResetAllThreat() (#11778)
* implement ResetAllThreat()

* .
2022-05-17 12:01:25 -03:00
Christopher Galbraith
f32aa0992c fix(Scripts/Ahune): Removed hardcoded emotes (#11674)
* Added missing entries for Ahune in creature_text. Removed hardcoded emote text and pointed towards DB.

* fixed missing semi-colons

* add new line at end

* fixed SQL

* added broadcast_text values

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-08 10:20:43 +02:00
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
Kitzunu
b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +02:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kitzunu
d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Kargatum
c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
UltraNix
b8345a2f98 fix(Core/DungeonFinder): Seasonal bosses are available only via Dunge… (#8056)
* fix(Core/DungeonFinder): Seasonal bosses are available only via Dungeon Finder tool.

Fixes #7889

* Update.

* Buildfix.

* Missing.
2021-10-14 13:22:37 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kitzunu
2f449326e0 refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
UltraNix
44babc3c3a fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572) 2021-05-08 12:39:09 -06:00
UltraNix
f4c226423d feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00
Kitzunu
f9d708b450 feat(Core/Instance): Add instance validation for creature scripts (#4596) 2021-04-05 15:34:26 +02:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
dbc0ff6554 refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Kitzunu
da4edd547d chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Francesco Borzì
d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00
Andrius Peleckas
ab5933effa fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call (#3426) 2020-10-17 14:59:22 +02:00