Kitzunu
2255f492b5
fix(Core/Creature): Update movement in UpdateEntry() ( #17291 )
...
* fix(Core/Creature): Update movement in UpdateEntry()
* Update Creature.cpp
* Update Creature.cpp
* hover
* just replace with updatemovememntflags
* Update Creature.cpp
* Update Creature.cpp
---------
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2023-10-08 10:49:17 -03:00
avarishd
4e5077ed80
fix(Core/Spells): Script Shaman T8 Elemental 4P Bonus ( #17424 )
...
* fix(Core/Spells): Script Shaman T8 Elemental 4P Bonus
* 🧙♂️ ✨
2023-10-08 09:31:54 -03:00
Kitzunu
b1395b9450
refactor(Core/Creature): Calculate BaseArmor as float ( #17448 )
2023-10-08 08:56:16 -03:00
Kitzunu
a4e4d6ddb2
feat(Core/Player): Implement commentator tag ( #17449 )
...
* feat(Core/Player): Implement commentator tag
* remove redundant session check
2023-10-08 09:07:17 +02:00
Kitzunu
5357a31a01
chore(Core/Misc): warhead -> acore ( #17447 )
2023-10-08 09:06:57 +02:00
IntelligentQuantum
90b16ca065
fix(Core): GridCleanUpDelay Log ( #17436 )
...
Update World.cpp
2023-10-07 07:36:11 -03:00
avarishd
91c6bdd540
fix(Core/Spells): Script Lord Valthalak's Amulet ( #17431 )
...
* fix(Core/Spells): Script Lord Valthalak's Amulet
* cs
2023-10-07 07:34:35 -03:00
Andrew
2873736145
feat(Core/Player): Move SaveSkills() to the public scope ( #17418 )
2023-10-05 03:38:10 -03:00
KJack
a23d5ee50d
feat(Core/Scripting): Implement OnBeforeCreatureSelectLevel() hook ( #17391 )
...
* Add `OnBeforeCreatureSelectLevel()` hook
- allows modules to alter the level of a creature just before it is set
* Fix missing class name.
* Hook should catch even if the level isn't being changed.
* Trim whitespace.
* Revert "Trim whitespace."
This reverts commit 76768d85c0b9878828b71a008e709c1df7ddadc5.
* Fix whitespace
2023-10-01 02:25:06 -03:00
Skjalf
7de2405604
fix(Scripts/Karazhan): Several Aran fixes ( #17394 )
...
- Fix drinking being interrupted by dots
- Fix first super timer
- Fix missing Arcane Explosion emote
- Fix supers being locked by spell interrupt
- Correct drinking to 10% mana down from 20%
2023-09-30 22:13:49 -03:00
KJack
c25d0b38e8
feat(Core/GameObject): Implement OnGameObjectModifyHealth() hook ( #17374 )
2023-09-28 22:39:57 +02:00
AG
2779833768
feat(Core/Grids): Implement visibility notifier ( #15919 )
...
* Cherry-picked from TrinityCore (unable to find author)
2023-09-28 22:28:28 +02:00
Sven Bledt
b80aaebb5a
fix(Core/Quest): AllowableRaces to uint32 for custom Racemasks ( #17372 )
...
* fix(Core/Quest): AllowableRaces to uint32 for custom Racemasks
* Update data/sql/updates/pending_db_world/uint32_quest_template.sql
* ready for merge
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-09-27 22:05:28 +02:00
Skjalf
ae99ce586a
fix(Scripts/Karazhan): Fix Aran combat movement behavior ( #17359 )
...
* fix(Scripts/Karazhan): Fix Aran combat movement behavior
* Update SmartScript.cpp
2023-09-26 18:27:23 -03:00
Skjalf
a8e514ea39
fix(Core/Unit): Threat from energize effects should be proportional t… ( #17352 )
...
fix(Core/Unit): Threat from energize effects should be proportional to the amount of power gained
2023-09-26 17:30:35 -03:00
Kitzunu
2d3e9a8f23
fix(Player/Achievement): fix crash ( #17357 )
...
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17330
2023-09-25 21:01:19 +02:00
Skjalf
14ed5860e1
fix(Core/Spells): Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_… ( #17339 )
...
fix(Core/Spells): Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY
(cherry picked from commit 7c6d92012a )
Co-Authored-By: xvwyh <43143822+xvwyh@users.noreply.github.com >
2023-09-25 08:33:23 -03:00
Skjalf
c7b7b7dc07
fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet ( #17342 )
...
* fix(Scripts/Spells): Fix Glyph of Voidwalker applying to every pet
* Update src/server/game/Entities/Pet/Pet.cpp
2023-09-25 08:07:09 -03:00
Skjalf
4a0b879ee3
fix(Scripts/Karazhan): Fix Shade of Aran Blizzard and use proper spel… ( #17329 )
...
* fix(Scripts/Karazhan): Fix Shade of Aran Blizzard and use proper spells to summon elementals
* Update boss_shade_of_aran.cpp
* Update boss_shade_of_aran.cpp
* Update rev_1695546719351253200.sql
* missing sql
2023-09-25 06:41:21 -03:00
Skjalf
84d4d60cfc
fix(Scripts/Karazhan): Fix Julliane awarding no loot ( #17334 )
...
* fix(Scripts/Karazhan): Fix Julliene awarding no loot
* Update bosses_opera.cpp
2023-09-25 06:38:01 -03:00
Skjalf
cc60bc0c35
fix(Scripts/Spells): Fix Healing & Mana injectors not giving bonus to… ( #17348 )
...
* fix(Scripts/Spells): Fix Healing & Mana injectors not giving bonus to engineers
* Update SpellEffects.cpp
* Update spell_item.cpp
2023-09-25 06:10:23 -03:00
Grimgravy
6990a1d2a4
fix(Scripts/Quest): improve Catch the Wild Wolpertinger! ( #17333 )
2023-09-24 16:23:58 -03:00
Mickaël Mauger
1a84ab6983
fix(Core/Unit): Fix CanSwim method not accurate for players ( #17320 )
2023-09-23 20:49:20 +02:00
Ludwig
fcd58da08c
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_RAID ( #17316 )
2023-09-22 00:54:08 +02:00
Ludwig
056ea323f3
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_ROLL_DISENCHANT ( #17319 )
2023-09-22 00:50:39 +02:00
Ludwig
f633eb8592
fix(Core/Achivement): Implement ACHIEVEMENT_FLAG_AVERAGE ( #17263 )
2023-09-21 18:56:28 +02:00
Stefano Borzì
168192b731
fix(CI): cppcheck failure step ( #17240 )
...
* feat: add cppcheck for scripts
* fix: cppcheck step failure
* trigger cppcheck build, it should fail
* fix: cppcheck should succeed
* fix: cppcheck
2023-09-21 12:43:57 +02:00
AG
540eda2af9
fix(Core/Unit): Added bluewall AoE check ( #17064 )
...
* Added bluewall AoE check
- AoE spells/abilities done by non-flagged players now has no effect on pvp flagged players.
* Crash fix
* Update Unit.cpp
Allow spells with flag "SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK" to pass this check.
2023-09-20 22:48:23 +02:00
Tralenor
0796df57ac
feat(Core/Player): Addition of a Hook in CanFlyInZone check ( #16590 )
...
---------
Co-authored-by: tmoos <tmoos@meteomatics.com >
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2023-09-20 22:40:08 +02:00
TuriansNotBad
89ba87495e
fix(Core/Position): Normalize Position.GetRelativeAngle ( #16825 )
...
Normalize GetRelativeAngle
Normalize angle returned by both Position.GetRelativeAngle functions.
2023-09-17 21:35:34 +02:00
Matthew M Dean
bc6a744538
fix(Core/Item): Reduce amount of excessive logging for enforeDBCAttributes ( #16508 )
...
bypass code block if enforceDBCAttributes is set to false
2023-09-17 21:00:37 +02:00
Kitzunu
1621da00da
chore(misc): Mordenize maths ( #17273 )
2023-09-17 17:00:53 +02:00
Skjalf
0bf559f975
feat(Core/Instance): Add TaskScheduler to the InstanceScript class ( #17284 )
...
feat(Core/Instance): Add TaskScheduler to the instancescript class
2023-09-17 10:56:02 -03:00
Kitzunu
f1111be152
chore(misc): cleanup ( #17274 )
2023-09-17 10:19:09 -03:00
Skjalf
71de2e5c26
fix(Core/GameObject): Also send EventInform() calls for GAMEOBJECT_TY… ( #17283 )
...
fix(Core/GameObject): Also send EventInform() calls for GAMEOBJECT_TYPE_CAMERA
- This allows object and zone AI to process events called by camera objects as well (previously only possible through event_scripts)
(cherry-picked from commit 6904073c9c )
2023-09-17 10:18:13 -03:00
Angelo Venturini
be5db26d24
fix(Scripts/MagtheridonLair): Magtheridon Debris ( #17249 )
...
* fix(Core/Scripts): Magtheridon Debris
* unhack
* cleanup
* eof line
* unused variable
* more cleanup
2023-09-17 07:43:10 -03:00
Kitzunu
b84596fcab
chore(Scripts/DK): Move CheckCast to spell_dk_raise_ally script ( #17221 )
...
* chore(Scripts/Spell): Move CheckCast to spell_dk_raise_ally script
* Update spell_dk.cpp
* Update spell_dk.cpp
2023-09-17 03:05:10 +02:00
Kitzunu
fbf7ba2191
chore(Core/enumutils): regenerate enumutils ( #17087 )
...
* chore(misc/enumutils): update enumutils
* fix build
* latest update
2023-09-16 14:26:08 +02:00
Benjamin Jackson
358a1e71e0
refactor(DB/Player): Unify two player stat tables. ( #17188 )
...
* Init.
Change query table names, move data to existing table.
* Combine two player stat loading functions.
2023-09-15 02:35:26 +02:00
Ludwig
8ba8f0fe9e
fix(Core/Achievement): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK ( #17180 )
...
* fix(Core): Implement ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
* fix(Core): LoadAchievementCriteriaData(): Add ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
- fixes minor oversight of ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK implementation
- this enables DB achievement_criteria_data check for ACHIEVEMENT_CRITERIA_TYPE_OWN_RANK
2023-09-14 22:27:39 +02:00
Gultask
e422583132
feat(Core/SmartAI): Implement a few more stuff ( #17090 )
...
* init
* init2
* attempt to fix WP delays
* init3
* init4
* buildfix
* Create rev_1693093120417899200.sql
* workflow
* Underbat
* castflag power mana
* did not work
* Update SmartScriptMgr.cpp
* ugly
* port range to new system
* attempt
* simplify cast
simplify cast
add iteration for aura_not_present
recalc timer if already castig spell
* Update SmartScript.cpp
* attempt
* attempts
* HP PCT
* missing aura to targetselector
* Update rev_1693093120417899200.sql
* Update SmartScriptMgr.h
* Update SmartScriptMgr.h
* Update SmartScript.cpp
* remove not_attacking, fix behind_me
* revert is_behind_me
* Update SmartScriptMgr.h
* Update underbog.cpp
* Update underbog.cpp
2023-09-10 13:12:55 +02:00
Kitzunu
f6d11d526b
fix(Core/AuctionHouse): fix crash in BuildListAuctionItems ( #17222 )
...
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17150
2023-09-08 23:09:35 -03:00
Skjalf
8d08a861aa
feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook ( #17209 )
...
* chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up
* Revert "chore(Core/Loot): Move OnAllowedForPlayerLootCheck() hook call up"
This reverts commit f841ef9da313976179fb788d9573ff8ced05ecb9.
* feat(Core/Scripting): Implement OnAllowedToLootContainerCheck() hook
* Update GlobalScript.cpp
2023-09-08 01:52:02 -03:00
Anton Popovichenko
52d07bbfae
fix(Core/InstanceMap): Stop using deleted player in RemovePlayerFromMap ( #17069 )
2023-09-05 06:36:34 -03:00
Kitzunu
1ed1cd0c73
fix(Core/Player): Allow to swap bags when they are filled ( #17086 )
2023-09-05 06:35:15 -03:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
Kitzunu
3eb2463c69
chore(Core/Misc): Correct some fmt outputs ( #17091 )
2023-08-27 06:23:26 +02:00
Christopher Galbraith
aea540181b
fix(Spell): set torment of the worgen to have 3% proc chance ( #17005 )
...
Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com >
2023-08-26 17:35:56 +02:00
pvp100
856d17ac36
fix(Core/MiscHandler): Dungeon requirements Message ( #16701 )
...
* fix(DB/Gameobject): fix towercanno error location in Flamewatch Tower
adjusted wintergrasp towercanno position
* fix(Core/MiscHandler): dungeon access requirements message parameter
requirements level variable always 0
requirements item cannot get from locale
Co-authored-by: aviar <aviar@sina.com >
* revert: random edits
---------
Co-authored-by: aviar <aviar@sina.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2023-08-25 09:16:47 -03:00
Synful-Syn
6b583089f3
fix(Core/Spell): Stop Blink from the falling player to move upward by 1y and stop moving backward when facing a wall ( #16657 )
...
* blink-bad-warps
* Change formatting of an if
2023-08-25 09:14:27 -03:00