Commit Graph

367 Commits

Author SHA1 Message Date
UltraNix
7796cdee33 fix(Core/Spells): Fixed implementation of CAST_FLAG_POWER_LEFT_SELF flag. (#10908) 2022-03-27 01:22:29 -03:00
Skjalf
7377c96cc8 fix(Scripts/BlackwingLair): Razorgore improvements (#10971)
- Rewrite reset events
- Use proper healing spell on phase transition
- Now uses abilities during phase 1
- Phase transition scripted - mobs now run away
2022-03-23 15:42:34 -03:00
UltraNix
da0f2e3ae2 fix(Core/Spells): Nature's Swiftness should not be consumed by instant spells. (#10909) 2022-03-18 18:15:56 -03:00
UltraNix
b025ec999e fix(Core/Spells): Periodic ticks number should not exceed the max one. (#10999)
Fixes #10876
2022-03-16 03:33:44 +07:00
UltraNix
6c60dc3841 fix(Core/Spells): Kill credits given via spells should always be awarded to players 2022-03-15 15:55:55 +01:00
Bogir[rus]
75439773d0 fix and bringing to a unified style warnings of server loading logs to be more visible at server startup (#10970) 2022-03-12 04:57:26 -03:00
Nefertumm
707968ee95 fix(Scripts/BlackwingLair): Nefarian (#10536) 2022-03-09 13:32:09 -03:00
UltraNix
a0d9d59b9d fix(Core/Spells): Fixed damage of Burning Adrenaline. (#10901)
* fix(Core/Spells): Fixed damage of Burning Adrenaline.

Fixes #10772

* Update SpellInfoCorrections.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2022-03-08 09:10:13 +01:00
UltraNix
a74e57fb22 fix(Core/Spells): Implemented SPELL_ATTR0_CU_IGNORE_EVADE. (#10832)
Added channel beam at Razorgore pre-fight.
Fixed #10767
2022-03-06 12:26:00 -05:00
UltraNix
e4d3f57d7c fix(Scripts/Raids): some corrections to Broodlord Supression Room: (#10834)
Supression traps should always hit players.
Supression traps should not be disarmed after Broodlord defeat.
Supression traps should be visible after disarm.
Fixes #10768
2022-03-03 11:29:31 +01:00
acidmanifesto
69e2f2e3aa fix/feat: (Core/PacketIO): updated sound and creature addon (#10813)
* fix\feat: (Core/PacketIO): updated sound and creature addon

updated SMSG_PLAY_SOUND, SMSG_PLAY_MUSIC and SMSG_PLAY_OBJECT_SOUND via tc cherry pick
https://github.com/TrinityCore/TrinityCore/pull/2363 and 0f1f7ef401 by @joschiwald  and @ForesterDev
This so far a attempt to align atleast with sound with tc, and correct a potentional issue of hearing creature sounds that is not in visible range. I notice PlaySound was being defined in some weird dependency as it isnt with tc so I renamed it to Playsound. Notice a isLarge still being used in the creature addon when it was depreciated, so i removed that a that seem to of interfered with visibilitydistanceType.

Co-Authored-By: joschiwald <736792+joschiwald@users.noreply.github.com>
Co-Authored-By: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2022-02-26 10:05:58 -05:00
Nefertumm
33b0183440 fix(Core/Spells): Don't allow to purge Azuregos' Reflect (#10723) 2022-02-22 02:39:29 -03:00
Nefertumm
25c824e8d8 fix(Core/Spells): Azuregos' Mana Storm should not be interruptable (#10721) 2022-02-22 01:23:27 -03:00
Nefertumm
abccbcb4be fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz (#10701)
* fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz
2022-02-16 06:54:08 -05:00
UltraNix
77bab657e5 fix(Core/Spells): Base spell resistances from auras should apply to pets. (#10562)
- Closes #10555
2022-02-15 17:49:13 +01:00
UltraNix
0fea133f09 fix(Scripts/BlackwingLair): Chromaggus should cast the same affliction spell among players. (#10644)
Brood Affliction: Bronze should stun players in random intervals.
- CLoses #10584

Co-authored-by: temperrr <temperrr@users.noreply.github.com>
2022-02-15 01:07:46 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
UltraNix
89deb60d43 fix(Core/Spells): Flasks should not be overridden by elixirs. (#10301)
* fix(Core/Spells): Flasks should not be overridden by elixirs.
2022-02-12 15:51:27 +01:00
UltraNix
61125a1ba1 fix(Scripts/BlackwingLair): Razorgore The Untamed misc improvements (#10205)
- Closes #10151
2022-02-12 13:22:47 +01:00
Nefertumm
8a9a3c6fac fix(Core/Spells): Shadowflame should not be interruptable (#10437)
* Fix(Core/Spells): Shadowflame should not be interruptable
2022-02-11 13:17:42 +01:00
Kitzunu
d505381106 fix(Scripts/Spell): Don't use invalid spells for the Magic Rooster mount (#9797)
* fix(Scripts/Spell): Don't use invalid spells for the Magic Rooster mount

- cherry-pick commit (246a8661fd)

Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com>
2022-02-10 13:40:07 +01:00
Nefertumm
520f0c6a50 fix(Core/WorldBoss): Azuregos rewrite (#10369) 2022-02-10 07:51:35 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Nefertumm
50ef9872af Fix(Core/Crash): possible crash due uninitialized value (#10602) 2022-02-09 09:07:17 +01:00
Kitzunu
ef2440eb44 fix(Core/Spells): Revert an oopsie (#10598) 2022-02-08 19:49:40 -03:00
Kitzunu
fea438c60a refactor(Core/Spells): Move SpellInfoCorrections to its own file (#10587)
* refactor(Core/Spells): Move SpellInfoCorrections to it's own file
2022-02-08 16:05:29 +01:00
Kitzunu
13643c969c refactor(Core/Spell): Use ApplySpellFix with SpellInfo (#9938) 2022-02-08 14:09:15 +01:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
UltraNix
0b02ba87fc fix(Core/Reputations): Faction rep gained by killing mobs is now prop… (#9737)
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.

Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Skjalf
4c5aceedbd feat(Core/Scripting): Implement OnLoadSpellCustomAttr global hook (#10469) 2022-01-31 18:03:42 -03:00
UltraNix
8f8fbd95ce fix(Core/Spells): Implemented SPELL_GROUP_SPECIAL_FLAG_SKIP_STRONGER_SAME_SPELL. (#10307)
Fixed #10263
2022-01-30 21:29:22 -03:00
UltraNix
0c09e88f64 fix(Core/Spells): Removed MECHANIC_POLYMORPH from PX-238 Winter Wondervolt spells. (#10302)
Fixed #9719
2022-01-30 16:56:31 -03:00
Kitzunu
8f249a3d84 fix(Core/Misc): Revert commits causing massive delays (#10408)
* this reverts commit (674b168add)

* this reverts commit (b085ee61eb)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10407
2022-01-28 16:45:47 -05:00
UltraNix
ab121e246e fix(Core/Spells): Removed Focused/Brutal on map change. (#10105)
Fixes #6195
Fixes #9724
2022-01-28 20:06:54 +01:00
UltraNix
fbb50210aa fix(Core/Spells): Reset melee swing timer on cast rather than on finish. (#10101)
Fixes #7216
2022-01-28 18:10:30 +01:00
acidmanifesto
b085ee61eb fix (core): EffectInstaKill Prevents spell animation fix (#10379)
* fix (core): EffectInstaKill Prevents spell animation before deal damage execution

This fixes the issue of spell animations of chain effects of a spell dealing with EffectInstaKill. This was identified as a issue in support of @malcrom 's current scripting efforts. We fix the issue by putting a half second delay and making the delay of a function possible and independent.

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Fix double to float

Co-Authored-By: Malcrom <malcromdev@gmail.com>

* Remove the STD

I put the STD in STUD and all I need is U

* Update src/server/game/Spells/SpellEffects.cpp

per @kitzunu the great

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Spells/SpellEffects.cpp

per @nefertumm the beast

Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>

* Update src/server/game/Spells/SpellEffects.cpp

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update src/server/game/Spells/SpellEffects.cpp

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update src/server/game/Spells/SpellEffects.cpp

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update src/server/game/Spells/SpellEffects.cpp

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update src/server/game/Spells/SpellEffects.cpp

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Notes Added

Co-authored-by: Malcrom <malcromdev@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2022-01-28 11:14:21 -05:00
Beta.Yi
c737b837dd fix(Core/Spell): Summon Arcane Disruptor 2022-01-28 00:29:24 +01:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
UltraNix
2fce4e0f12 fix(Core/Spells): Remove vanish immunity aura on stealth removal. (#10106)
Fixes #2668
2022-01-24 23:19:50 -03:00
UltraNix
850371d704 fix(Core/Spells): Ensures that Moonkin Aura is always casted with Moonkin Form. (#10195) 2022-01-24 22:03:08 -03:00
Kitzunu
1c0019ec18 fix(Scripts/Spell): properly script collapsing cave aura (#10092)
* cherry-pick commit (8d1a5fa126)

Co-authored-by: Sorikoff <46191832+Sorikoff@users.noreply.github.com>
2022-01-24 21:18:47 -03:00
UltraNix
902f33a62b fix(Core/Spells): Implemented spell proc phases. (#9725)
* fix(Core/Spells): Implemented spell proc phases.

Fixes #9634
2022-01-24 15:29:03 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
UltraNix
da82b6abbd fix(Core/Spells): correct teleport distance for Shadowstep/Killing Spree/Warp (#10081)
- Closes #9345
2022-01-24 10:52:24 +01:00
UltraNix
2f8318fd58 fix(Scripts/Hunter): Bestial Wrath shoul not be castable on dead pets. (#9896)
Bestial Wrath should expire while pet is offline.
2022-01-23 23:45:24 -03:00
UltraNix
1cbf52fb3d fix(Core/Spells): Fixed Revive Pet. (#10324)
Fixed #10267
2022-01-23 21:19:52 -03:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
UltraNix
e1617a0044 fix(Core/Spells): Restored special Rolling DoTs mechanic for Corruption and SW:Pain (#10206)
Fixes #9867
2022-01-21 13:39:11 -03:00
Francesco Borzì
9dc88def35 refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-01-17 14:35:07 +01:00