Commit Graph

51 Commits

Author SHA1 Message Date
IntelligentQuantum
2e6213d526 feat(Core/SmartScripts): SMART_ACTION_ATTACK_STOP #10053 2022-01-07 04:19:32 -03:00
IntelligentQuantum
c377c62c7a feat(Core/SmartScripts): Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS (#10037)
* .

* .
2022-01-06 06:46:12 -03:00
IntelligentQuantum
2bc373b4f6 feat(Core/SmartScripts): SMART_ACTION_SET_MOVEMENT_SPEED (#10018) 2022-01-05 14:10:19 -03:00
IntelligentQuantum
e28bdf9bde feat(Core/SmartScripts): SMART_ACTION_SET_HEALTH_PCT 2022-01-05 09:38:14 -03:00
IntelligentQuantum
8fd757a152 feat(Core/SmartScripts): ACTION_GO_SET_GO_STATE 2022-01-04 06:44:02 -03:00
IntelligentQuantum
9faec8ef1b feat(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY 2022-01-04 06:41:19 -03:00
IntelligentQuantum
002e62d689 feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES (#9979) 2022-01-03 08:24:13 -03:00
IntelligentQuantum
8a5b96349b feat(Core/SmartScripts): SMART_TARGET_LOOT_RECIPIENTS (#9967) 2022-01-02 21:54:27 -03:00
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -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
acidmanifesto
0958f2f129 fix(Core/DB/SAI): [Quest] - Weapons of Spirit / Allows Value 3 for react SAI WP Start Consolidated PR (#8926) 2021-11-07 00:21:05 +01:00
acidmanifesto
93bbff4cca feat(Core/SAI): Wp table add in orientation and delay collumn (#8927)
ADD (Core) Wp table add in orientation and delay collumn
TC Cherry pick of TrinityCore/TrinityCore@4b7d19c
2021-11-06 08:43:45 -03:00
Andrius Peleckas
5d73180c61 feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION (#8375)
* feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION
This will give possibility to trigger certain actions on instance scripts or creatures/gobjects

* yet we still love you "blank line" xD
2021-10-14 14:06:28 +02:00
Andrius Peleckas
b5f8b485a8 feat(Core/SAI): implemented boss state handling in SMART_ACTION_SET_INST_DATA + added additional data checks (#8369) 2021-10-13 09:54:33 -03: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
9ab6ba9664 chore(Core/Misc): remove toxic language (#6988) 2021-07-21 23:57:20 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Kargatum
5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-21 03:07:12 +02:00
Kitzunu
2e32a80f24 chore(Core/SmartScript): Fix typo (#6355)
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-06-20 01:29:30 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kitzunu
40f2e5e8c1 fix(Core/LoadSmartAIFromDB): Prevent loading if entryorguid = 0 (#5663)
Co-Authored-By: robinsch <8017650+robinsch@users.noreply.github.com>
2021-05-09 03:33:01 -06:00
Kargatum
4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Nefertumm
0d8aa2e8b1 feat(Core/SmartScripts) Implement SMART_TARGET_VEHICLE_PASSENGER (#3510) 2021-04-03 20:25:36 +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
LannyE
2741a3ea1c Fix Bug(cpp): SmartScriptMgr.cpp - Event Start and Stop not working (#4392) 2021-02-07 12:03:01 -05: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
a2b26272d2 refactor(Core/Game): restyle game lib with astyle (#3466) 2020-10-12 10:08:15 +02:00
Kitzunu
c79a475708 fix(DB/SmartScriptMgr): Move CWZ valid check (#3206) 2020-08-24 17:20:22 +02:00
P-Kito
2514f8fc9a feat(Core/AI): CU_SAI - Custom Target Options (#2879)
NEW:
* SMART_TARGET_PLAYER_WITH_AURA (spellid, negation?, distMax, distMin) - if target.O is set it will resize the list of targets to target.o
* SMART_TARGET_RANDOM_POINT (range, amount (for summon creature), self (creature is middle else use xyz) (ONLY USED FOR SUMMON CREATURE OR MOVE/JUMP TO POS ACTIONS FOR NOW)

MODIFIED:
* SMART_ACTION_SUMMON_CREATURE now possible to spawn multiple creatures with SMART_TARGET_RANDOM_POINT
* SMART_ACTION_MOVE_TO_POS/JUMP_TO_POS now possible to move to a random point with SMART_TARGET_RANDOM_POINT
* SMART_TARGET_PLAYER_RANGE no longer targets GMs or dead targets and when target.o is >0 it will try all possible targets in max instead of min-maxing


Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2020-04-18 16:59:52 +02:00
P-Kito
6a410efa36 feat(Core/AI): CU_SAI - Custom Event Options (#2881) 2020-04-17 00:40:06 +02:00
P-Kito
8aa80eef18 feat(Core/SAI): new Actions + Polar Coords System Offset Relocating (#2880) 2020-04-16 11:39:45 +02:00
Kargatum
4a8f1de538 feat(Core/Misc): remove and replace ACE_Singleton (#2418) 2019-12-21 00:29:29 +07:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Kargatum
824a80005c Refactor(Core/Misc): Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros (#1627)
* Delete macros UNORDERED_MAP
* Delete macros UNORDERED_SET
2019-03-26 00:01:56 +07:00
Stoabrogga
54b23ce209 fix(DB/Core): play event after quest "Hero of the Mag'har"; extend SAI to play music (#1570) 2019-03-19 09:04:40 +01:00
Francesco Borzì
2f1c01a1fd feat(SmartAI): display error on unsupported targets + align TC enums (#1349) 2019-01-28 20:23:35 +01:00
Stoabrogga
acf47073ab feat(SmartAI): Implement action type 115 "SMART_ACTION_RANDOM_SOUND" 2019-01-26 22:16:16 +00:00
Francesco Borzì
206feacab3 feat(SmartAI): improve add quest action (#1333) 2019-01-24 19:07:13 +00:00
Francesco Borzì
c62fec7f77 feat(SmartAI): handle unused SmartActions (#1335)
Emit error when there is a SmartAction in the DB that is not yet supported in AzerothCore.
Emit error when there is a SmartAction in the DB that is not supposed to be used in version 3.3.5a.
2019-01-23 15:51:08 +01:00
Francesco Borzì
8931ae74ba refactor(SmartAI): move AC-only SMART_ACTIONs to avoid conflicts with TC 2019-01-20 19:57:21 +01:00
Francesco Borzì
07d5314a8b refactoring(SAI): add event_param5 and target_param4 (#1324) 2019-01-20 01:02:01 +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
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal
f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00