Commit graph

83 commits

Author SHA1 Message Date
Angelo Venturini
ad4ce0895f
fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
Angelo Venturini
be423a91b5
fix: Crash (#13241) 2022-10-03 16:14:43 -03:00
IntelligentQuantum
cbd3fd0967
refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Maelthyr
1f472bddd3
refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
UltraNix
91daa6cb78
fix(Scripts/Spells): Prevent from stacking basic campfires on each ot… (#13037)
fix(Scripts/Spells): Prevent from stacking basic campfires on each other.

Fixes #9369
2022-09-25 10:44:33 -03:00
Skjalf
9e7aae74ac
fix(Scripts/Spells): Fix Itch (26078) not applying Vekniss Catalyst (#12930) 2022-09-03 04:01:39 -03:00
UltraNix
314e6a84f7
fix(Scripts/Spells): Fixed T3 4P Frostfire Regalia bonus not proccing. (#12583) 2022-08-01 17:53:53 -03:00
Skjalf
5b14267159
fix(Scripts/Spells): Script spell Itch (AQ20) and improve Consume (AQ20) (#12502) 2022-07-25 12:13:06 -03:00
Skjalf
565e39ac55
fix(Scripts\Spells): Consume (AQ) (#12448) 2022-07-20 13:49:39 -03:00
Maelthyr
d928d8d96a
refactor(Core/Unit): PC&NPC Immunity (#11986)
* initial

* refactor(Core/Unit): PC & NPC Immunities

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* fix builds error

Cherry-pick TC: 74af880217

Co-authored-by: Treeston <treeston.nmoc@gmail.com>

* Fix nef combat, and replace SetFlag by SetUnitFlag

* fix combat with jedoga

Co-authored-by: Treeston <treeston.nmoc@gmail.com>
2022-06-18 08:16:45 -04:00
天鹿
e09622b191
fix(Core/Item): Fix TrinketUpdate (#11571)
* Update spell_generic.cpp

* Add files via upload

* Update and rename rev_1650656505854517188.sql to rev_1651226361653358110.sql

* Update and rename rev_1651226361653358110.sql to rev_1651231168158458211.sql

* Update rev_1651231168158458211.sql
2022-06-14 23:15:00 -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
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
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
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
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
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
8b7df23f06
feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07: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
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
Kitzunu
2ca0104b63
fix(Script/Spell): Gryphon/Wyvern Pet - Mounting Check Aura (#8481) 2021-11-25 09:31:55 -03:00
Nefertumm
61c7488698
fix(Core/Spells): possible crashes within class spells (#9168) 2021-11-21 11:41:51 -03:00
Kitzunu
87a6d224ec
refactor(Scripts/Spells): convert spell_generic into new system (#9044)
* refactor(Scripts/Spells): convert spell_generic into new system

* whitespace

* fix build
2021-11-13 00:18:05 +01:00
Skjalf
3240d27d6f
fix(Scripts/Spells): Holiday food items should give their buff after 10 seconds, not when the eating aura expires (#9132) 2021-11-12 11:14:10 -03:00
sschepens
b7f8083915
feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
Nefertumm
4cad90be86
fix(Core/Spells): Potential crashes in spell_generic and spell_item (#8810) 2021-11-09 07:10:03 -03:00
Nefertumm
babb7d6c69
fix(Core/Spells): Exploit with silithyst aura (#9014) 2021-11-06 23:51:54 -03:00
Ragelezz
6baf498a17
fix(Core/Spells): Silithyst (#8656) 2021-10-22 13:40:57 +02:00
UltraNix
db0c27fe43
fix(Core/Combat): Removed some invalid code about auto-acquiring a nearby target if primary target is not detectable by creature. (#8624)
Spells with sanctuary always delete hostile references (if not during encounter).
Update visibility should be always forced in case of invisibility/stealth auras.
Restored old Shadowmeld code.
Fixes #4764
Fixes #7125
2021-10-21 15:54:36 -03:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
Skjalf
e458ab0d5f
fix(Scripts/Spells): Fix pets not being resurrected by BG Spirit Healers (#8421) 2021-10-12 22:56:00 -03:00
Skjalf
1e57b6fb99
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash (#8322) 2021-10-10 16:07:14 +02:00
UltraNix
66809383d1
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash - Part II. (#8376) 2021-10-10 15:56:42 +02:00
UltraNix
3223f90bcb
feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
jestermaniac
1dd53b17f9
fix(DB/Spells): Contagion of rot (#8021)
Co-authored-by: John Smith <mostdefinitelyanagger@outlook.com>
2021-09-27 23:21:51 +02:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
Viste
a9796af174
fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +02:00
Kitzunu
fa03541563
chore(Script/Misc): add comments to some scripts (#7011) 2021-07-24 19:37:45 +02:00
Kitzunu
4ace9f17de
fix(Core/Spell): handle 5,000 Gold with SpellScript (#6996) 2021-07-24 00:40:20 +02:00
Francesco Borzì
3b752dd796
refactor(Scripts/Spells): code cleanup (part 9) (#6946) 2021-07-22 01:12:28 +02:00
Kitzunu
a75e34c793
feat(Core/Spell): AssertSpellInfo (#6115)
* feat(Core/Spell): AssertSpellInfo

(cherry picked from commit e52878b6b5)
(cherry picked from commit 8c44259fae)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Update SpellMgr.h
2021-06-03 07:39:48 +02:00