Commit Graph

132 Commits

Author SHA1 Message Date
Anton Popovichenko
f4658a1df2 fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries. (#17070)
* fix(Core/Scripts): Fix scripts where LoadObjectData can leave arrays boundaries.

* Fix build
2023-08-25 09:15:07 -03:00
UltraNix
c3acf75618 fix(Core/Spells): Taunt always set proper target while channelling sp… (#13948)
* fix(Core/Spells): Taunt always set proper target while channelling spells.

Fixes #13841

* Update.

* Update.
2023-08-06 03:16:05 +02:00
daobashun
fa59b30184 fix(Scripts/IcecrownCitadel): Tirion Fordring attacks the Lich King empty-handed (#15823)
* Fixed Tirion Fordring's final stage attacking the Lich King empty-handed

* Tirion Fordring's uses text in BroadcastText to speak

* Code format changes

* Add data to the data table

* Update rev_1680658371591699800.sql

Change from INSERT to INSERT/INSERT

* Update and rename boss_the_lich_king.cpp to boss_the_lich_king.cpp的

Remove useless comments

* Rename boss_the_lich_king.cpp的 to boss_the_lich_king.cpp

The input method caused an unexpected rename

* Delete the extra rows

* Update boss_the_lich_king.cpp

Delete references that can be omitted
2023-04-26 23:04:37 -03:00
Skjalf
c9973f3a80 fix(Scripts/IcecrownCitadel): Fix Svalna crash (#15862) 2023-04-07 12:57:52 -03:00
Skjalf
e2cfb5c5a9 fix(Scripts/IcecrownCitadel): Fix Putricide crash (#15846) 2023-04-06 18:19:46 -03:00
Skjalf
67dd96e502 fix(Scripts/IcecrownCitadel): Fix Sindragosa's icewall poping up prem… (#15836)
fix(Scripts/IcecrownCitadel): Fix Sindragosa's icewall poping up prematurely
2023-04-05 16:36:18 -03:00
Skjalf
caf54517bf fix(Scripts/IcecrownCitadel): Fix possible crash if bosses engage off… (#15832)
fix(Scripts/IcecrownCitadel): Fix possible crash if bosses engage offline players
2023-04-05 13:40:21 -03:00
Skjalf
28c770a517 fix(Scripts/IcecrownCitadel): Prevent Sindragosa's landing trigger fr… (#15814)
fix(Scripts/IcecrownCitadel): Prevent Sindragosa's landing trigger from firing during combat
2023-04-04 08:34:30 -03:00
Skjalf
572a7ea60d feat(Scripts/IcecrownCitadel): Allow game masters to skip boss checks (#15810) 2023-04-03 23:29:51 -03:00
Skjalf
ea1eed7362 fix(Scripts/IcecrownCitadel): Script Sindragosa's respawn/waypoints (#15792) 2023-04-03 00:07:10 -03:00
qwe900
c8c042d326 fix(Scripts/IcecrownCitadel): Fixing last issue on Nerubs in ICC (#15651)
now they fight after landing
2023-03-29 19:54:46 -03:00
Skjalf
8e697633b8 fix(Scripts/IcecrownCitadel): Fix Nerubar Broodkeeper flickering anim… (#15642)
* fix(Scripts/IcecrownCitadel): Fix Nerubar Broodkeeper flickering animation

partial cherry-pick of f8db738e8d

Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
Co-Authored-By: Houston <69751143+HoustonCore@users.noreply.github.com>
Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>

* Update icecrown_citadel.cpp

* fix the spiders before sindragosa as well

* Update icecrown_citadel.cpp

---------

Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
Co-authored-by: Houston <69751143+HoustonCore@users.noreply.github.com>
Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2023-03-29 01:16:37 -03:00
Skjalf
8dced9fcf1 fix(Scripts/IcecrownCitadel): Fix Blood-Queen Lana`thel reset and fli… (#15601)
fix(Scripts/IcecrownCitadel): Fix Blood-Queen Lana`thel reset and flickering animation
2023-03-27 22:52:18 -03:00
Skjalf
a959942d82 fix(Scripts/IcecrownCitadel): Sindragosa shouldn't kill everything on… (#15602)
fix(Scripts/IcecrownCitadel): Sindragosa shouldn't kill everything on evade
2023-03-27 03:43:38 -03:00
qwe900
dd43ea4849 fix(Scripts/IcecrownCitadel): Lichking "Harvest Soul" Fix (#15573)
Players now not stucking anymore in the strangulating vehicle and getting teleported
2023-03-24 21:11:51 -03:00
Skjalf
825d0dc2bb fix(Scripts/IcecrownCitadel): Prevent the LK from despawning Tirion F… (#15561)
fix(Scripts/IcecrownCitadel): Prevent the LK from despawning Tirion Forddring
2023-03-24 08:03:20 -03:00
Skjalf
9aee5c41e2 fix(Scripts/Misc): Fix bosses not reseting after the despawn update (#15507)
* fix bosses not reseting

* fix lk

* fix tirion not respawning

* up
2023-03-21 15:05:04 -03:00
Skjalf
7b3b22a2e6 fix(Scripts/IcecrownCitadel): Rewrite the Spire Frostwyrms (#15490) 2023-03-19 18:38:32 -03:00
Skjalf
40ff0c607e fix(Scripts/IcecrownCitadel): Fix ICC buff not being reapplied after … (#15407) 2023-03-16 05:20:25 -03:00
Maelthyr
0200a288cd refactor(Scripts/Northrend): conversion to std::chrono (#15269)
Co-authored-by: Maelthyrr <maelthyrr@users.noreply.github.com>
2023-03-07 09:23:33 -03:00
Stefano Borzì
034b521501 feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-03-05 18:47:18 +01:00
Skjalf
efe62bea4a fix(Scripts/IcecrownCitadel): fix Lord Marrowgar bone spikes (#15238) 2023-03-01 17:16:37 -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
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -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
Maelthyr
3024bee3ba refactor(Core/UnitAI): Update target selector (#13169)
* refactor(Core/UnitAI): Update TargetSelector.

Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930

Co-authored-by: Treeston <treeston@users.noreply.github.com>

* fix GGC/CLang errors in scripts

* .

* missing a file and fix a script error

* .

* fix path changes dude to a miss click in the second commit

* .

Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
Co-authored-by: Treeston <treeston@users.noreply.github.com>
2022-12-06 09:27:13 -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
Walter Pagani
b4419512a3 fix(Scripts/ICC): gossip in boss Deathbringer Saurfang (#12381) 2022-10-14 17:35:06 +02:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
Maelthyr
d928d8d96a refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

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

Cherry-pick TC: 74af880217

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

* fix builds error

Cherry-pick TC: 74af880217

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
Maelthyr
dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -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
UltraNix
bbd760cc1a fix(Scripts/IcecrownCitadel): Increases radius of Sindragosa's boundary. (#11579)
Fixes #11439
2022-04-30 21:41:25 +02:00
Kitzunu
778d1bb9fa fix(Scripts/ICC): Change trigger flag for Battle Experience spell (#11466)
* fix(Scripts/ICC): Change trigger flag for Battle Ecperience spell

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

* cherry-pick part of commit (TrinityCore/TrinityCore@5b8e68e)
2022-04-21 19:12:39 +02:00
IntelligentQuantum
ab4ee71762 feat(Core/Maps): AreaBoundary (#10525)
* cherry-picked commit (2da458c56d)
2022-04-15 14:10:41 +02:00
UltraNix
47790c9714 fix(Core/Vmaps): Stop M2s from occluding for spellcast LoS. Original autho… (#11341)
* Core/Vmaps: Stop M2s from occluding for spellcast LoS. Original authors: @Shauren & @HelloKitty

Fixes #11293

* buildfix.

Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2022-04-10 09:24:35 -03:00
Kitzunu
b41967a067 feat(Core/GameObject): Gob flag helpers (#11287) 2022-04-05 13:52:58 +02:00
Kitzunu
edb7cac19b feat(Core/Unit): NPCFlags helpers (#11286)
* cherry-pick commit (TrinityCore/TrinityCore@d611925)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00
Kitzunu
535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (d611925dc7)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
Walter Pagani
e139ed1c0b fix(Scripts/Icecrown): Lich King should not evade attacks on last phase (#11146)
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-03-30 09:47:52 -03: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
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Malcrom
dfac47a562 feat(Core/Creature): Allow 3 ids per spawn point. TESTING (#10169)
* feat(Core/Creature): Allow 3 ids per spawn point.

* Move GetRandomId to a function

* Update id to id1

* Fixed some errors crashing core and text

* Set ids to lowercase for GetRandomId function

* Update src/server/database/Database/Implementation/WorldDatabase.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-14 19:21:50 -04:00