Commit Graph

1270 Commits

Author SHA1 Message Date
Skjalf
a5a66207c4 feat(Core/Scripting): OnBuildValuesUpdate hook (#9961) 2022-01-01 23:37:04 -03:00
Skjalf
8216318f92 feat(Core/Conditions): Implement CONDITION_TYPE_CREATURE_RESPAWN (#9927) 2022-01-01 20:18:37 -03:00
Skjalf
1806792625 fix(Core/Players): fix trailing whitespaces being added as settings (#9960) 2022-01-01 17:35:15 -03:00
Kitzunu
a9cbd35cd2 fix(Core/Achievement): Don't count bought back items as a new item for ACHIEVEMENT_CRITERIA_TYPE_RECIEVE_EPIC_ITEM (#9798)
* cherry-pick commit (a58955d88c)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-01-01 15:08:59 -03:00
UltraNix
4a36897873 fix(Core/Spells): Dungeon and world bosses are always subject to spell school lockouts. (#9638)
Fixes #9633
2022-01-01 02:28:21 -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
Skjalf
b97cf91a15 fix(Core/Scripting): fix a loop in the affected mod spell hook (#9948) 2021-12-31 12:03:39 -05:00
Kitzunu
69683a3472 chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768) 2021-12-31 12:00:40 -03:00
IntelligentQuantum
0556f0b3d5 refactor(Core/Packets): Totem (#9451)
* Totem

* Update WorldSession.h
2021-12-31 10:23:38 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03:00
Skjalf
24ab99919a feat(Core/Scripting): Implement OnIsAffectedBySpellModCheck hook (#9903) 2021-12-30 17:39:13 -03:00
IntelligentQuantum
53a6fb7513 refactor(Core/Packets): Bank packets (#9627) 2021-12-30 16:00:24 -03:00
Noxies
bbf08c1aaa fix(Core/TemporarySummon): Implement TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE (#9915) 2021-12-30 08:05:46 -03:00
Kargatum
c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
UltraNix
a54c84f349 fix(Core/Players): Removed old and invalid Player::SetInWater funct… (#9739)
* fix(Core/Players): Removed old and invalid `Player::SetInWater` function.

Updates #8729

* buildfix.
2021-12-28 09:34:45 -03:00
IntelligentQuantum
f88203a73a fix(Core/Player): Arena AFK (#9733) 2021-12-28 07:37:47 -03:00
Skjalf
58302e4196 feat(Core/Player): Implement player specific settings (#9483) 2021-12-26 08:39:15 -03:00
Kargatum
455372bda4 feat(Core/SavingSystem): remove old player saving system (#9779) 2021-12-24 08:37:45 -03:00
UltraNix
d0f8cf3dd4 fix(Core/Loot): Proeprly handle UNIT_DYNFLAG_LOOTABLE flag. (#9761)
Fixes #9741
2021-12-24 06:04:43 -03:00
UltraNix
6a88b48f98 fix(Core/Movement): Always stop moving on new chase movement generator init. (#9622)
Fixes #9421
2021-12-24 05:00:11 -03:00
Skjalf
a72d299f68 fix(Core/Player): Solve the issue with creature not offering low level quests (#9862) 2021-12-23 15:26:58 -03:00
UltraNix
07c93c2dfa fix(Core/Movement): Fixed adding wrong flag on root. (#9803)
* fix(Core/Movement): Fixed addind wrong flag on root.

Fixes #5891
2021-12-22 13:54:23 -03:00
Cláudio Costa
81cf9e3aa7 fix(Core/Player): Quest Question marks (#9683)
* fix(Core): Quest Question marks

* extra changes

* changes for players with repetable quests
2021-12-22 08:37:01 -03:00
Kitzunu
8f707fbf34 fix(Core/Load): Comment continue (#9836) 2021-12-21 19:22:06 -03:00
IntelligentQuantum
11a734bf2b refactor(Core/Scripts): Spell To Scripts (#9718) 2021-12-21 11:13:45 -03:00
IntelligentQuantum
838c88f45a refactor(Scripts/Commands): convert cs_misc to new system (#8939) 2021-12-21 19:32:21 +07:00
Kitzunu
7617ae4645 refactor(Core/Misc): fmod() to std::fmod() (#9796)
- prefer std functions over C functions
2021-12-21 01:16:59 -03:00
Skjalf
ea1ffd6894 feat(Scripts/Commands): Implement item refund command (#9811) 2021-12-20 16:11:45 -03:00
Skjalf
e7b5bb2420 feat(Core/Player): Split Dungeon Finder quest rates (#9788) 2021-12-19 19:29:26 -03:00
IntelligentQuantum
f7ff583b7e feat(Core/SmartScripts): SMART_ACTION_DISABLE_EVADE (#9772)
* Update SmartScriptMgr.h

* Update SmartScript.cpp

* Update SmartAI.h

* Update SmartAI.cpp
2021-12-19 18:30:55 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
acidmanifesto
800c28b8c2 fix(Core/Creature): Remove empty spell ids from CreatureAddon.auras vector (#9783) 2021-12-19 14:12:08 -03:00
Skjalf
e5d650c5f3 fix(Core/Spells): Only check GO state for doors when using SPELL_EFFECT_OPEN_LOCK (#9778)
buttons and other object types may expect other states in order to operate correctly
2021-12-19 10:15:15 -03:00
Skjalf
9265d346be fix(Core/GridNotifiers): fix tempsummons not finding nearby creatures (#9749)
* fix(Core/GridNotifiers): fix tempsummons not finding nearby creatures

* fix lord valathak being summoned along mor
2021-12-19 07:53:53 -03:00
UltraNix
3b8e3eb609 fix(DB/Gameobjects): Spirit Candle should properly give buff to nearby players (#9690)
Fixes #8815
2021-12-17 18:29:08 +01:00
Kitzunu
8e1e305e8d feat(Core/Creature): Log temporary auras on creatures (#9670)
* cherry-pick commit (54f9456764)

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2021-12-17 18:07:18 +01:00
Kitzunu
4a6db8f8c6 fix(Core/Object): Add infinite gob check (#9667)
* cherry-pick commit (b0db728c49)

Co-authored-by: Kittnz <5845231+kittnz@users.noreply.github.com>
2021-12-17 18:06:57 +01:00
Kitzunu
9eab6d373d fix(Core/Guilds): Implement guild bank gold limit matching client (#9666)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-17 18:06:32 +01:00
UltraNix
0dd59e66d3 fix(Core/Quests): implement QUEST_SPECIAL_FLAGS_NO_REP_SPILLOVER (#9661)
Fixes #9552
2021-12-17 18:06:15 +01:00
UltraNix
a4ff3f6101 fix(Core/Movement): despawn mini pets on flight take (#9624)
Fixes #9510
2021-12-17 18:05:12 +01:00
Skjalf
24f4e08708 chore(Core/Cache): Remove an assert breaking 1v1 arena module (#9651) 2021-12-17 00:27:59 -03:00
UltraNix
2feb26d828 fix(Core/Units): Modify health dependent aura states on update rather than immediately on death. (#9641) 2021-12-16 22:41:01 -03:00
Kitzunu
89a1b5c9f4 fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CL… (#9615)
* fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT

* cherry-pick commit (b3b7f0761d)

* fix build
2021-12-16 20:29:33 -03:00
acidmanifesto
2afd3a420c (Core\DB) Create Logging Game Event Creatures\Gameobjects (#9731)
Add loggin for game_event_creature/game_event_gameobject contains creature/gameobject not found in table creature/gameobject table.
Also Clean Up SQL for reported missing guids per game_event_creature/game_event_gameobject that was reported in the DBerrors.log
2021-12-16 11:02:57 -05:00
Branel
cac265525c fix(Core/Player): Interrupt flag capturing even if damage is absorbed. (#9445) 2021-12-16 09:43:09 -03:00
UltraNix
0f83d52f43 fix(Core/Trainers): add new column ReqSpell to npc_trainer table (#9490)
Prevent learning gnomish and goblin engineering recipes at same time.
Fixes #5390

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2021-12-16 11:18:21 +01:00
Kitzunu
cbdc39ce1e fix(Core/Spells): Implement SPELL_EFFECT_FORCE_CAST_2 (#9613)
* cherry-pick commit (5cdc870acc)
2021-12-15 21:46:16 -03:00
Skjalf
086b20edbc fix(Core/Unit): fix quest items not dropping if they are the only thi… (#9723) 2021-12-15 13:26:02 -03:00
UltraNix
d87d0a2ae8 fix(Core/Pets): Improved Revive Pet should affect dead despawned pet. (#9625)
* fix(Core/Pets): Improved Revive Pet should affect dead despawned pet.

Fixes #9589
2021-12-15 05:32:16 -03:00