Commit Graph

196 Commits

Author SHA1 Message Date
Maelthyr
dfc6adb081 refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() (#11824)
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
UltraNix
55720eedd3 fix(Scripts/Spells): Sweeping Strikes - improvements. (#11666)
* fix(Scripts/Spells): Sweeping Strikes - improvements.

Fixes #11594

* Buildfix.
2022-05-23 05:49:56 -03:00
UltraNix
bcfaf2daad fix(Scripts/Spells): Replenishment should proc off from Vampiric Touc… (#11772)
* fix(Scripts/Spells): Replenishment should proc off from Vampiric Touch even if target died from Mind Blast.

Fixes #8502

* Update.
2022-05-23 05:45:01 -03:00
Maelthyr
c5368816fa Core/Combat: rename getThreatMgr() to GetThreatMgr() (#11758) 2022-05-18 05:36:57 -03:00
Skjalf
26c66e0d79 chore(Scripts/Spells): Remove a few aura types being passed as spells in the validator (#11576) 2022-04-29 20:17:03 -03:00
Kitzunu
2bef6b497d fix(Scripts/Spells): Validate some spells in spell_generic (#11549)
* fix(Scripts/Spells): Validate some spells in spell_generic

* Update src/server/scripts/Spells/spell_generic.cpp
2022-04-28 15:49:56 -03:00
IntelligentQuantum
c93a84e821 feat(Spell/Scripts): Move Spell gen remove impairing auras to spell scripts (#11104) 2022-04-18 19:35:07 +02:00
IntelligentQuantum
f7760b4ea0 fix(Spell/Scripts): MOVE Drinking to spell scripts (#11105) 2022-04-15 14:16:30 +02:00
ZhengPeiRu21
948911bd7a fix(Scripts/Items): Fix Goblin Bomb Dispenser (#10612)
* fix(Scripts/Items): Fix Goblin Bomb Dispenser

* Update spell_item.cpp

Fix brackets
2022-04-09 11:37:55 -04:00
Kitzunu
535c7451a2 feat(Core/Unit): New helpers for DynamicFlags (#11230)
* feat(Core/Unit): New helpers for DynamicFlags

* cherry-pick commit (d611925dc7)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* oopsie

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-04-01 07:14:29 -03:00
IntelligentQuantum
7a294787d3 feat(Scripts/Spell): Teleporting to Script
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com>
2022-04-01 07:03:22 -03:00
IntelligentQuantum
b680ea3dae feat(Scripts/Spells): Move to spell scripts - Brittle Armor & Mercurial Shield (#11116)
* .

* Update SpellEffects.cpp
2022-04-01 07:02:06 -03:00
UltraNix
14edda6c90 fix(Core/Players): Fixed setting player's zone id to unknown value. (#10996)
* fix(Core/Players): Fixed setting player's zone id to unknown value.

Fixed #10945

* Update.

* Update.
2022-04-01 06:59:12 -03:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
IntelligentQuantum
d1ac62ff6e feat(Core/Spells): Move Spell q1846 bending shinbone to spell scripts (#11106) 2022-03-27 02:06:23 -03:00
IntelligentQuantum
d1ecdc8f61 feat(Core/Spells): Move Spell item dimensional ripper area52 to spell scripts (#11099) 2022-03-27 01:58:58 -03:00
IntelligentQuantum
7410f1a3cb feat(Core/Spells): Move Spell pri lightwell to spell scripts (#11089) 2022-03-27 01:55:59 -03:00
IntelligentQuantum
5719e46236 feat(Core/Spells): Move spell_item_runic_healing_injector to spell scripts (#11088) 2022-03-27 01:53:16 -03:00
UltraNix
9c780588c4 fix(Scripts/Spells): Earthliving Weapon should no proc from Earth Shield. (#11094) 2022-03-21 05:13:37 -03:00
UltraNix
acaa76d9c1 fix(Core/Spells): Heal from Bloodthirst should be affected by healing mods. (#10915) 2022-03-18 18:17:01 -03:00
UltraNix
4511cf5751 fix(Core/Spells): Seed of Corruption detonation should obey LoS (#10916)
- Source: TrinityCore
- Closes #4521
2022-03-18 13:05:20 +01:00
UltraNix
7357c88618 fix(Scripts/Spells): Icewing Marshal should affect not affect players. (#11001) 2022-03-15 22:14:44 -03:00
UltraNix
d2ec0f5d99 fix(Scripts/Spells): revive pets always with full health during battlegrounds (#10647)
- Closes #10632
2022-02-15 12:41:13 +01:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
UltraNix
0fa4a90aa8 fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENE… (#9844)
* fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENERATE_POWER` auras.

Fixes #2042
2022-02-10 15:34:00 +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
TheDdraig
336967b324 Fix (Core/Scripts): Warrior T3 8P Bonus Fix (#10561)
* Fix (Core/Scripts): Warrior T3 8P Bonus Fix

* Update spell_warrior.cpp

* Update spell_warrior.cpp
2022-02-09 13:56:24 -05: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
Nefertumm
634e41fc1c fix(Core/Spells): delete creatures threat list after taming them for t… (#10224) 2022-02-04 15:27:20 +01:00
UltraNix
89d3a4d6b3 fix(Scripts/Pets): Increased Shadowfiend hp. (#10304)
Fixed #4792
2022-02-01 05:54:46 -03: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
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07: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
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
UltraNix
e842119605 fix(Core/Spells): Drop combat on Mind Control cancel. (#10201)
Fixes #9980
2022-01-16 22:26:23 -03:00
Skjalf
96cf1e60e9 fix(Scripts/Spells): fix a crash with Scent of Blood talent (#10078) 2022-01-15 21:10:06 -03:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Nefertumm
b7dcf93be4 Fix(Core/Item): Wraith Scythe scales with spell power (#9901) 2022-01-03 15:05:45 -05: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
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
UltraNix
3ca99c5683 fix(Scripts/Spell): Removed doubled damage from Deep Freeze. (#9810) 2021-12-22 19:53:12 -03:00
IntelligentQuantum
11a734bf2b refactor(Core/Scripts): Spell To Scripts (#9718) 2021-12-21 11:13:45 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +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
UltraNix
466c9e2428 fix(Scripts/Spells): Hunter's Initimidation should not stun pet. (#9493)
Fixes #9253
2021-12-07 13:36:15 -03:00
Noxies
9c178acd42 fix(Script/Spells): Prevent passive spells to proc Omen of Clarity (#9518) 2021-12-06 09:31:30 -03:00
UltraNix
16cac81e5a fix(Scripts/Spells): Drain Soul generates Soul Shard only from targets that yields experience or honor on death. (#9417)
Fixes #9083
2021-12-05 19:53:14 -03:00
UltraNix
79c0beeb51 fix(Scripts/Spells): Omen of Clarity should proc off from more spells. (#9344) 2021-11-30 07:48:19 -08:00
UltraNix
0b551a055c fix(Scripts/Spells): Mind Control should put both caster and target in combat. (#9301)
Fixes #8938
2021-11-29 12:09:39 -03:00