Commit Graph

1825 Commits

Author SHA1 Message Date
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
UltraNix
1cc9ea83ab fix(Core/Spells): Mind Control can be dispelled from friendly target. (#9689)
Fixes #9629
2021-12-15 04:29:22 -03:00
Skjalf
8490893647 fix(Core/Scripts): Fix QuestRewarded hook (#9717) 2021-12-15 04:10:38 -03:00
Kitzunu
5685a0e401 refactor(Scripts/Events): convert childrens_week to new system (#9611) 2021-12-14 21:15:16 -03:00
The Legendary Kingdom
5c8acadf14 fix(Core/Spell): Core not handling AURA_INTERRUPT_FLAG_TELEPORTED (#9543)
* fix(Core/Spell): Core is not handling AURA_INTERRUPT_FLAG_TELEPORTED

Actually auras from spells with AURA_INTERRUPT_FLAG_TELEPORTED are not removed
on teleportation. This change makes it handled at teleportation on same map AND
if map changes, but it does not remove the aura when entering world to avoid
such auras being removed at character login.

Closes AzerothCore issue #9542

* delete invalid tabulations

* Move auras removing into the map/distance check above

* Do not remove unnecessary auras, and remove from other condition

* move it outside the 100 yards check, so it removes auras with this flag whenever teleporting

* remove whitespace at EOL

* Move the removal under the 100yards condition

This removes the specified auras
only if teleports more than 100 yards away
and avoids spells such as blink or shadowstep
removing such auras
2021-12-14 20:38:25 -03:00
Skjalf
2384ed1254 fix(Core/Character): Fix OnFirstLogin script hook (#9686) 2021-12-14 20:06:41 -03:00
Skjalf
19a3caa5eb fix(Core/Scripts): Fix bool script hooks not executing code (#9699)
* fix(Core/Scripts): Fix bool script hooks not executing code

* warnings
2021-12-14 19:53:46 -03:00
Kitzunu
d0ee420b3a fix(Core/DatabseWorkerPool): Maria stuff (#9705) 2021-12-14 22:12:36 +01:00
Kitzunu
695f8350af refactor(Scripts/Events): convert hallows_end to new system (#9610) 2021-12-14 15:41:36 -03:00
UltraNix
658a7c2b56 fix(Core/Spells): Do not apply diminishing return on spells casted by mobs. (#9536)
Fixes #9028
2021-12-14 15:17:44 -03:00
UltraNix
de0672e9d8 fix(Core/Pet): Standardize pet run speed at 115% rate. (#9478)
Fixes #9230
2021-12-14 13:36:43 -03:00
Kitzunu
04fd8791e1 refactor(Core/DB): Deprecate MariaDB 10.4 and below (#9675) 2021-12-14 15:15:44 +01:00
Skjalf
b4a14214ca fix(Core/Instances): always put boss minions in combat with zone (#9649) 2021-12-13 18:26:38 +01:00
Kitzunu
4226976b3e refactor(Scripts/Events): convert brewfest to new system (#9612) 2021-12-13 07:04:56 -03:00
Kitzunu
92d7c276c1 refactor(Scripts/Event): convert pilgrims_bounty into new system (#9608) 2021-12-13 05:41:09 -03:00
Kitzunu
2af6e0ee20 refactor(Scripts/Events): convert love_in_air to new system (#9609) 2021-12-13 05:22:16 -03:00
Kitzunu
fa1f9085bb refactor(Script/Spells): convert winter_veil into new system (#9606) 2021-12-13 04:39:27 -03:00
UltraNix
0a0013aaef fix(Core/Guild): Properly updates guild leader using command guild rank. (#9596)
Fixes #9396
2021-12-12 22:18:33 -03:00
Kargatum
e61dbad192 feat(Core/Config): loading modules configs before loading scripts (#9653) 2021-12-12 13:20:39 -03:00
UltraNix
4e70e60427 fix(Core/Spells): Properly handle pet spell auras with infinity cooldown. (#9576)
Fixes #9339
2021-12-12 11:43:22 -03:00
UltraNix
b1303e0e96 fix(Core/Loot): Set skinnable flag only after all loot was taken. Source: TrinityCore. (#9573)
Fixes #9318
2021-12-12 10:31:00 -03:00
UltraNix
4e93671b3c fix(Core/Pets): Properly cast spells on friendly target if not in LoS… (#9570)
* fix(Core/Pets): Properly cast spells on friendly target if not in LoS or out of range.

Fixes #7790
2021-12-12 09:25:10 -03:00
Rochet2
2c0de6aa28 fix(Core/ScriptMgr): Correct whisper hook parameters (#9674)
https://github.com/azerothcore/mod-eluna-lua-engine/issues/74
2021-12-12 07:20:54 -03:00
UltraNix
6cc1d1a497 fix(Core/Pets): Add cooldown on spell cast if pet initially was out of range or not in LoS. (#9539)
Fixes #8425
2021-12-11 23:01:21 -03:00
Noxies
cf4040b4cf fix(Core/Command): cfg check on item restore list (#9659) 2021-12-11 19:12:10 -03:00
Skjalf
1e3ba98fba refactor(Scripts/Command): Simplify command go set state (#9527) 2021-12-11 13:58:59 -03:00
Noxies
5ec50ac119 fix(Core/Commands): Item duplication exploit (#9650) 2021-12-11 13:21:07 -03:00
Malcrom
10ce7a7460 fix(DB/SAI): Quest 9678 "The First Trial" (#9528) 2021-12-11 10:27:29 -03:00
Skjalf
e2a32bb7fc fix(Scripts/MoltenCore): Properly spawn Ragnaros' Sons of Flame (#9642) 2021-12-11 07:56:33 -03:00
IntelligentQuantum
3591f69662 refactor(Core/Packet): Guild (#9411)
* Core/Packet: Guild

* Winfi
2021-12-11 10:00:06 +01:00
Kargatum
fad214efe0 feat(Core/ScriptMgr): replace macro and cleanup (#9598) 2021-12-10 15:05:28 -03:00
Skjalf
2d55974c0c Revert "fix(Core/Spells): Forward core changes (#8841)" (#9631)
This reverts commit 85d2c39a48.
2021-12-10 15:31:48 +01:00
UltraNix
8b200fae91 fix(Scripts/Spells): Fixed logic in Glyph of Prayer of Healing script. (#9502)
Fixes #8645
2021-12-10 09:11:26 -03:00
Kargatum
0f1c0c154d feat(Core/Config): implement loading files optional (#8198) 2021-12-10 11:53:31 +01:00
UltraNix
e5cbba1c4c fix(Core/Spells): Melee spells are not affected by cast haste modifiers. Source: TrinityCore. (#9501)
Fixes #5136
2021-12-10 01:21:49 -03:00
UltraNix
52d8e1b68a fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)
Fixes #9225
2021-12-09 23:45:01 -03:00
schell244
39355fa1ee fix(Core/Players): Update the player's zone and area only after update the player's position server-side (#9419) 2021-12-09 21:58:43 -03:00
acidmanifesto
85d2c39a48 fix(Core/Spells): Forward core changes (#8841) 2021-12-09 18:24:16 -03:00
UltraNix
0300cef119 fix(Core/Auras): Always process hover/waterwalking movement flags on aura removal. (#9416)
Fixes #9056
2021-12-09 18:06:53 -03:00
Kargatum
c8809f15c2 feat(Core/ScriptMgr): correct execute bool hooks (#9574) 2021-12-09 10:58:23 -03:00
UltraNix
52d4c43bcf fix(Core/Spells): Damage spell modifiers do not affect wands. (#9418)
Fixes #9130
2021-12-09 08:11:58 -03:00
Noxies
c95c29838b feat(Scripts/Commands): Item restoration command (#9538)
* Implement item restore command & move itemmove to new item cmd

* Implement LANG_COMMAND_DISABLED

* Prevent command usage if no config is set

* WIP: `.item restore list`

* Fix restore list & create base for restore item

* Send item to player via mail

* Put player as last argument

* Use Postmaster & fix restore list

* Show item name in restore list

* Update HandleItemMoveCommand to be using the api

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>

* Send item instantly if online
2021-12-08 23:57:15 -03:00
Skjalf
8ae8db5283 fix(Scripts/MoltenCore): Solve an issue causing Ragnaros melee checks to be skipped (#9599) 2021-12-08 22:47:35 -03:00
UltraNix
85abfafb2b fix(Core/Battlegrounds): Delay a little bit relocation of dead players. (#9302)
Fixes #8958
2021-12-08 18:10:26 -03:00
UltraNix
6c1846ad8f fix(Scripts/Brewfest): Set proper npc entry to NPC_NORMAL_VOODOO (#9262)
* fix(Scripts/Brewfest): Set proper npc entry to `NPC_NORMAL_VOODOO`

Fixes #8027
2021-12-08 17:31:04 -03:00
Malcrom
e8481791e0 fix(Core/Spell) Green Beam spells should only hit one target (#9593)
* fix(Core/Spell) Green Beam spells should only hit one target

* Update SpellMgr.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2021-12-08 19:48:32 +01:00
Skjalf
4982c4eeb7 fix(Scripts/MoltenCore): Implement Ragnaros' Lava Bursts (#9526) 2021-12-08 15:02:32 -03:00
acidmanifesto
fa1c2eca9d fix(Core/Player): Fix potential freeze on login after skipping cinematics (#9577)
Move to static_cast and matching it up with tc stops the error on console and first login characters from being frozen when skipping cinematics
2021-12-08 11:50:49 -03:00
IntelligentQuantum
caedaa8617 Core/ScriptMgr: Duplicate include (#9511) 2021-12-07 18:37:19 -08:00