Commit Graph

54 Commits

Author SHA1 Message Date
Dan 8e28b64ccf fix(Scripts/HellfireRamparts): modernise boss scripts for Hellfire Ramparts (#16250)
* first two bosses

* add vazruden+nazan

* dumb mistake fix

* remove double summon say from Omor

* new attempt at scheduling talking

* fix boolean condition for speaking

* debug

* revert debug

* initial

* diff comment
2023-05-13 14:50:46 -03:00
Dan 154fa624f0 fix(Scripts/ShatteredHalls): fixes to Warbring O'mrogg combat scripts and timers (#16091)
* initial attempt at combat fix

with modernising

* fixes to scheduler

first Draft PR commit. Scheduler now works with boolean in capture list of lambda function.

* whitespaces

* debug

* debug2

* debug3

* debug4

* add omrogg equip query and debug5

* remove tabs

* Update data/sql/updates/pending_db_world/omroggequip.sql

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>

* grouped taskscheduler

* added more groups

* adjust timer

* better handling

* v2 (too many commits)

* fixed melee

* clean up debug info

removal of yells

* more debug

* attempt at fix

* some changes to scheduling

* final

* whitespaces and extra lines

* better formatting

* final whitespace fix

* context fix

* dumb fix

---------

Co-authored-by: Gultask <100873791+Gultask@users.noreply.github.com>
2023-05-13 14:01:22 -03:00
Gultask fec1692716 fix(DB/SAI): Rework Trash SAI for Blood Furnace (#16123)
* init

* Update rev_1682710323496877200.sql
2023-05-10 06:29:01 -03:00
Skjalf 590dcca82b chore(Scripts/BloodFurnace): Clean up unused code in Broggok script (#16145)
* chore(Scripts/BloodFurnace): Clean up unused code in Broggok script

* Update boss_broggok.cpp
2023-05-01 01:09:44 -03:00
Gultask c3948567e2 fix(Scripts/ShatteredHalls): Update Grand Warlock Netherkurse (#16063)
init
2023-04-23 09:06:08 -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 65f031c340 refactor(Scripts/BloodFurnace): Modernize Broggok script (#14982) 2023-02-12 23:43:33 -03:00
Skjalf 2da4f1ab05 fix(Scripts/HellfireRamparts): Omor the Unscarred shouldn't move (#14751) 2023-02-13 00:58:32 +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 28b6014d12 fix(Scripts/HellfireRamparts): Removed invalid spells from Omor the U… (#14538) 2023-02-04 19:56:49 -03:00
UltraNix 263c5e1214 fix(Scripts/BloodFurnace): The Maker should cast Domination instead o… (#13892) 2023-01-31 22:53:41 +01: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 ae2e3a4e35 fix(Scripts/MagtheridonsLair): Fixed Blast Nova timers. (#14776) 2023-01-28 11:07:22 +01:00
UltraNix 9798ccd8c5 fix(Scripts/Hellfire Ramparts): Nazan should walk on the surface afte… (#14539)
fix(Scripts/Hellfire Ramparts): Nazan should walk on the surface after descending.

Nazan should keep using Fireball after descending.
Nazan should chase its victims properly after descending.
Fixes #14468
2023-01-07 20:18:04 +01:00
UltraNix 38a3774c63 fix(Scripts/BloodFurnace): Fixed Broggok not casting Poison Cloud. (#13894)
Fixes #13825
2022-12-06 12:48:38 -03:00
UltraNix ac65434f3f fix(Scripts/HellfireRamparts): Nazan should descend when Vazruden rea… (#13876)
fix(Scripts/HellfireRamparts): Nazan should descend when Vazruden reaches 35%.

Fixes #13741
2022-12-06 09:40:38 -03:00
UltraNix b7f81ab372 fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each o… (#13878)
fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each other's target.

Fixes #13747
2022-12-06 09:40:14 -03: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 d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

* refactor(Core/Unit): PC & NPC Immunities

Cherry-pick TC: https://github.com/TrinityCore/TrinityCore/commit/74af880217fc567c9949d7557408718af889402f

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* fix builds error

Cherry-pick TC: https://github.com/TrinityCore/TrinityCore/commit/74af880217fc567c9949d7557408718af889402f

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* Fix nef combat, and replace SetFlag by SetUnitFlag

* fix combat with jedoga

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-18 08:16:45 -04:00
UltraNix bbd760cc1a fix(Scripts/IcecrownCitadel): Increases radius of Sindragosa's boundary. (#11579)
Fixes #11439
2022-04-30 21:41:25 +02:00
IntelligentQuantum ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (https://github.com/TrinityCore/TrinityCore/commit/2da458c56d024aac04468ce2af454a83ad790bf6)
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 d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
Kargatum c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
Francesco Borzì cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01: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
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
Francesco Borzì 4103fca5a4 fix(Core/ObjectGuid): prevent creating copies when looping objects (#6852) 2021-07-10 15:54:16 +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
Footman c32cd06a78 fix(Core/Movement): fix multiple creature movement issues (#5097) 2021-04-09 20:56:19 +02:00
Kitzunu 4765ab3d59 fix(Core/Script): Rename Pinnacle & Ramparts scripts (#5175) 2021-04-07 21:57:28 +02:00
Kitzunu f9d708b450 feat(Core/Instance): Add instance validation for creature scripts (#4596) 2021-04-05 15:34:26 +02:00
Kitzunu 28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01: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
Kargatum 5e20b46812 refactor(Core/Scripts): restyle scripts lib with astyle (#3467) 2020-10-11 10:35:34 +02:00
Kitzunu 1f89282b22 refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

* NULL to nullptr

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 11:55:09 +02:00
Stoabrogga 03c791e127 fix(Core/CreatureScript): Grand Warlock Nethekurse (#2507) 2019-12-25 09:33:44 +01:00
Viste e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Kargatum b6cb9247ba Refactor(Core/Gossip): Replacing old macros with new (#1338)
* Correct support new macro
2019-03-25 21:10:57 +07:00
Stoabrogga 7a9f09341f chore(PCH): remove "ScriptPCH.h" from cpp scripts (#1423)
remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
2019-02-10 14:50:44 +01:00
Nefertumm dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Kaev 05cd8c8c61 Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00