Commit Graph

2401 Commits

Author SHA1 Message Date
IntelligentQuantum
e57582accb Core/Packet: WorldState (#9435)
* Core/Packet: WorldState

* Test

* WRONG

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-03 11:50:56 -05:00
Kitzunu
317e793b12 refactor(Core/Misc): atan2() to std::atan2() (#9793)
- prefer std functions over C functions
2022-01-03 13:24:06 -03:00
Malcrom
f03b87f7e1 fix(Scripting/Spawning/Pathing) An'owyn, Ghostlands (#9935)
* fix(Scripting/Spawning/Pathing) An'owyn, Ghostlands

* Update zone_ghostlands.cpp

* Update zone_ghostlands.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-01-03 12:17:21 -04:00
Kitzunu
f04709a326 refactor(Core/Misc): ceil() to std::ceil() (#9791)
- prefer std functions over C functions
2022-01-03 10:11:39 -03:00
Kitzunu
61649b7e6d fix(Scripts/Spells): fix logic mistake in spell_generic (#9799)
- chery-picked from commit (25e01b0402)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>

Co-authored-by: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-01-03 09:55:37 -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
Noxies
e71d902027 fix(Core/DB): adjust commands sec level to follow wiki (#9978)
* sql: update gm list to security 3

* gm list SEC_ADMINISTRATOR fallback

* Update `gm on/off` to SEC_MODERATOR fallback

* update code style
2022-01-02 19:28:03 -03:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Skjalf
980f420746 fix(Core/Scripting): Solve issue with client crashes on login (#9971) 2022-01-02 12:36:14 -03:00
Francesco Borzì
6d7b024deb fix(Core/Object): macOS build (#9968) 2022-01-02 09:08:33 -03:00
dantav
ea3e140f94 fix(Core): Suppress status opcode after gossip (#9962)
Co-authored-by: Dan Tavares <dantavar@publicisgroupe.net>
2022-01-02 08:26:46 +01:00
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
Skjalf
1a75b3ef0d fix(Scripts/Silithus): Solve issues with bosses despawing too fast (#9914) 2021-12-29 09:23:34 -03:00
Kargatum
c81891fc11 feat(Core/AI): convert SelectAggroTarget to enum class (#9893) 2021-12-28 19:13:12 -03:00
Noxies
3412c3e219 fix(Scripts/Silithus): Wind Stone summons roleplay & despawn (#9899) 2021-12-28 10:46:39 -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
Kitzunu
c9f54ddfb3 refactor(Scripts/Pets): Move Mojo to SAI (#9662) 2021-12-25 15:46:50 -03:00
Malcrom
5abfe27365 fix(Script) Quest "Deactivating the Spire" (#9874)
* fix(Script) Quest "Deactivating the Spire"

* Update go_scripts.cpp

* Update go_scripts.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2021-12-25 12:50:52 +01: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
Noxies
21a5968349 fix(Scripts/Silithus): Wind stone summons (#9859) 2021-12-23 15:51:54 -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
IntelligentQuantum
0c1880f694 feat(Scripts/Commands): additem (#9759) 2021-12-23 11:55:03 -03:00
Noxies
9c4f1035cf fix(Scripts/MoltenCore): Ragnaros targetting dead player 2021-12-23 11:10:28 -03:00
UltraNix
3ca99c5683 fix(Scripts/Spell): Removed doubled damage from Deep Freeze. (#9810) 2021-12-22 19:53:12 -03:00
Skjalf
a576dcbcce fix(Scripts/Commands): fix additem (#9843) 2021-12-22 15:44:47 -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