Skjalf
cd3151df40
fix(Scripts/RuinsOfAhnQiraj): Implement Rajaxx waves ( #12513 )
2022-07-25 12:12:08 -03:00
UltraNix
d0f70b6cbf
fix(DB/SAI): Fixed completing quest "Into The Realm of Shadows" ( #12515 )
2022-07-25 17:24:51 +07:00
UltraNix
801e68b1dd
fix(Core/Creatures): Added new AI function OnTeleportUnreacheablePlayer to teleport all unreachable players. ( #12193 )
...
* fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_TELEPORT_UNREACHABLE_PLAYERS.
Fixed #11750
* Update.
* Update.
* Update.
2022-07-24 13:10:41 -03:00
Nefertumm
5b0896577f
fix(Core): Crash on smart event: near players ( #12479 )
2022-07-24 13:06:36 -03:00
Nefertumm
f0777d1fd3
fix(Core/AI): validate stored targets ( #12489 )
...
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-07-24 13:06:11 -03:00
ZhengPeiRu21
2d4e93dc3e
fix(Core): SMART_ACTION_SET_HOME_POS should accept a parameter ( #12468 )
2022-07-22 21:20:14 -04:00
Nefertumm
9b6da94510
fix(Core/AI): more AI factory checks ( #12402 )
...
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
Co-authored-by: Treeston <treeston@users.noreply.github.com >
Co-authored-by: Aokromes <aokromes@users.noreply.github.com >
2022-07-19 14:31:03 -03:00
IntelligentQuantum
6ac7dfa26f
refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* ( #11950 )
2022-07-18 11:15:57 +02:00
IntelligentQuantum
cc52712ac1
refactor(Core/AI): factory functions cleanup ( #11779 )
2022-07-15 16:11:49 +02:00
Skjalf
9920e01b2b
feat(Core/Scripting): Add several UnitHooks ( #12365 )
2022-07-11 14:57:38 -03:00
UltraNix
65e02d9422
fix(Core/SmartScripts): Added option to override current running time… ( #12298 )
...
fix(Core/SmartScripts): Added option to override current running timed actionlist.
Fixes #12227
2022-07-03 11:22:25 -04:00
UltraNix
ea24a7b231
fix(Scripts/ZulGurub): Mandokir's Threatening Gaze. ( #12095 )
...
* fix(Scripts/ZulGurub: Mandokir's Threatening Gaze.
Boss can melee attack while casting.
Boss charges after the debuff run out.
Guillotine is casted on hit rather than on launch.
Properly coded Threatening Gaze Charge (with dot/hot exceptions)
Whirlwind is removed during charge.
Fixes #11748
* Update
* missing
* Update
* Update.
* Update.
* Update.
* Update.
* Update.
2022-06-26 04:50:50 -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
UltraNix
117a18c961
fix(Scripts/ZulGurub): Renataki - improvements: ( #11967 )
...
Added missing spells and events.
Removed invalid spells
Corrected event timers
Fixes #11620
Fixes #11621
2022-06-16 11:39:09 -03:00
Maelthyr
32334f5f14
refactor(Core/Unit): minor changes for the combat system ( #11904 )
...
Cherry-pick from TC: https://github.com/TrinityCore/TrinityCore/pull/19966
Co-authored-by: Treeston <treeston.nmoc@gmail.com >
2022-06-13 19:40:29 -03:00
Maelthyr
dfc6adb081
refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() ( #11824 )
...
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
Kitzunu
90fccacad5
feat(Core/Movement): Allow waypoints to use 0 as valid facing value ( #11681 )
...
* feat(Core/Movement): Allow waypoints to use 0 as valid facing value
* cherry-pick commit (4747515872 )
Co-Authored-By: Ovah <18347559+Ovahlord@users.noreply.github.com >
* Update SmartScriptMgr.h
* a
* Update SmartAI.cpp
* Update SmartAI.cpp
* Update SmartAI.cpp
* typo
* Update SmartAI.cpp
* Update SmartAI.cpp
* Compile fix
* compile #2
* Update WaypointMgr.h
* Update SmartScriptMgr.h
* compile fix again
Co-authored-by: Ovah <18347559+Ovahlord@users.noreply.github.com >
Co-authored-by: MDIC <joshua.lee.betts@gmail.com >
2022-05-21 23:42:41 +02: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
Kitzunu
2e13ad75e2
refactor(Core/Spells): make DoCast functions use SpellCastResult ( #11546 )
...
* refactor(Core/Spells): make DoCast use SpellCastResult
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update UnitAI.cpp
* Update UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.cpp
* Update src/server/game/AI/CoreAI/UnitAI.h
2022-05-06 00:43:27 -03:00
IntelligentQuantum
9fa3436cbe
feat(Core/SmartScripts): SMART_EVENT_FLAG_WHILE_CHARMED ( #10286 )
2022-04-23 16:26:42 +02:00
Kitzunu
5def0cdd12
chore(Core/CreatureAI): improve log ( #11468 )
...
* chore(Core/CreatureAI): improve log
* Update CreatureAI.cpp
* Update CreatureAI.cpp
2022-04-23 15:10:07 +02:00
Kitzunu
1501445b0a
chore(Core/Misc): nullptr cleanup ( #11467 )
2022-04-21 19:17:20 +02:00
天鹿
b801274b89
fix(Core/SmartScripts): null crash in SMART_TARGET_PLAYER_DISTANCE ( #11442
2022-04-19 16:17:51 +02:00
UltraNix
f7214e24ea
feat(Core/SmartScripts): Improvements to SMART_EVENT_FRIENDLY_HEALTH_PCT: ( #11171 )
...
* Added new parameter: radius.
* The event can be used with SMART_TARGET_SELF and SMART_TARGET_ACTION_INVOKER target types.
* Closes #5270
2022-04-18 19:35:37 +02:00
IntelligentQuantum
659775548f
feat(Core/SmartScripts): Add an action_param3 to "summon gob" to control when the object will despawn ( #10254 )
...
* cherry-pick commit (TrinityCore/TrinityCore@ca4f1e3 )
2022-04-17 03:48:22 +02:00
IntelligentQuantum
3555f5916d
fix(Core/SmartScripts): don't allow to start a new SAI actionlist while the entity is already running one ( #10230 )
...
* cherry-pick commit (2b1cde2560 )
2022-04-17 03:46:08 +02:00
IntelligentQuantum
e38a17d2da
feat(Core/SmartScripts): SMART_EVENT_EVENT_PHASE_CHANGE ( #10054 )
...
* cherry-pick commit (619a5534c5 )
2022-04-17 01:55:52 +02:00
acidmanifesto
db360f0cfb
Fix (Core\DB) Hostil to Hostile spelling fix ( #11399 )
...
* Fix (Core) Hostil to Hostile spelling fix
* sql cmd adjustment as well
* AliGnZ
* Further Hostil to Hostile Correction
Per @Si1ker Research via https://github.com/azerothcore/azerothcore-wotlk/pull/11399#issuecomment-1099506373
2022-04-16 11:00:38 -04: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
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
UltraNix
ff654397e8
fix(Core/Creatures): Properly reset encounter if boss despawns on evade. ( #11251 )
...
Fixes #8167
2022-04-02 11:46:27 -03: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
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
IntelligentQuantum
dec0081f6c
fix (Core/SmartScripts): allow to start waypoint movement for a creature that is in combat
2022-03-27 11:34:36 -04:00
IntelligentQuantum
dfa2198d98
feat(Core/SmartScripts): SMART_EVENT_ACCEPTED_QUEST, SMART_EVENT_REWARD_QUEST ( #10210 )
2022-03-27 15:19:27 +02:00
UltraNix
df89bbafe4
fix(Scripts/Vehicles): The next player entering Salvaged Siege Engine… ( #10987 )
...
… should control turret if it's not occupied.
2022-03-27 01:16:12 -03:00
Grimgravy
c797cb0b93
fix(Scripts/Quest): improved Overwhelmed! ( #10387 )
2022-03-25 12:44:25 +01:00
Skjalf
7377c96cc8
fix(Scripts/BlackwingLair): Razorgore improvements ( #10971 )
...
- Rewrite reset events
- Use proper healing spell on phase transition
- Now uses abilities during phase 1
- Phase transition scripted - mobs now run away
2022-03-23 15:42:34 -03:00
SilentCLD
624d41763a
fix(Core/SAI): allow scripts to target the summoner of a TempSummon ( #10819 )
...
Fixes #10760
Fixes #10123
2022-03-15 08:44:09 +01:00
Bogir[rus]
75439773d0
fix and bringing to a unified style warnings of server loading logs to be more visible at server startup ( #10970 )
2022-03-12 04:57:26 -03:00
Nefertumm
556cbd8f58
feat(Core/Gossips): override BoxMoney from DB ( #10414 )
2022-03-10 13:55:29 +01:00
acidmanifesto
a7d17a5bb6
fix (core\db): SAI Error Reporting ( #10698 )
...
* fix (core\db): SAI Error Reporting
* formatting
2022-02-15 17:00:33 -05:00
IntelligentQuantum
38a33e7ef0
feat(Core/SmartScripts): Warn when an unused parameter is set in the database ( #10124 )
2022-02-15 18:02:39 +01:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
UltraNix
5febb28b4c
fix(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY, SMART_ACTION_DISABLE_EVADE and SMART_ACTION_GO_SET_GO_STATE are valid actions. ( #10538 )
2022-02-11 22:33:18 +01:00
Kitzunu
13643c969c
refactor(Core/Spell): Use ApplySpellFix with SpellInfo ( #9938 )
2022-02-08 14:09:15 +01:00
Kargatum
de13bf426e
feat(Core/DBLayer): replace char const* to std::string_view ( #10211 )
...
* feat(Core/DBLayer): replace `char const*` to `std::string_view`
* CString
* 1
* chore(Core/Misc): code cleanup
* cl
* db fix
* fmt style sql
* to fmt
* py
* del old
* 1
* 2
* 3
* 1
* 1
2022-02-05 00:37:11 +01:00
Kargatum
3a0a9ba088
feat(Core/Common): move EventMap to separated files, add support chrono ( #10209 )
2022-02-04 15:12:45 +01:00