Commit Graph

65 Commits

Author SHA1 Message Date
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
Kitzunu
434b98e60b fix(Scripts/Spells): Remove some magic numbers (#13193) 2022-10-01 11:44:43 -04:00
Angelo Venturini
47f9f4917a fix(Core/Item): Renataki's Charm of Beasts (#13124) 2022-09-28 00:22:08 -03:00
Grimgravy
e273d6f4f0 fix(Scripts/Quest): improved egg freezing (#12575) 2022-09-21 17:03:43 +02:00
UltraNix
0ae93c1c94 fix(Scripts/Item): Winter Veil Disguise Kit cannot be used during pre… (#12883)
...paration phase.
2022-09-06 21:38:50 -03:00
UltraNix
a70762910a fix(Core/Spells): Sleep aura from Magic Dust should be removed if tar… (#12020)
* fix(Core/Spells): Sleep aura from Magic Dust should be removed if target is too high level.

Fixes #11947

* Update.
2022-06-22 13:52:29 -04: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
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
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
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -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
5719e46236 feat(Core/Spells): Move spell_item_runic_healing_injector to spell scripts (#11088) 2022-03-27 01:53:16 -03:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
Nefertumm
b7dcf93be4 Fix(Core/Item): Wraith Scythe scales with spell power (#9901) 2022-01-03 15:05:45 -05:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Kitzunu
0f7091c7e1 fix(Script/Item): Deviate Fish effects (#9163)
* fix(Script/Item): Deviate Fish effects

* cherry-pick commit (a9db8a9b9a)
2021-11-20 14:13:42 -03:00
Kitzunu
6a430cd2f9 fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2021-11-20 09:59:52 -03:00
Kitzunu
0850dea4df refactor(Scripts/Spells): convert spell_item into new system (#9057)
* refactor(Scripts/Spells): convert spell_item into new system

* fix build

* fix return
2021-11-13 13:01:38 +01:00
Nefertumm
4cad90be86 fix(Core/Spells): Potential crashes in spell_generic and spell_item (#8810) 2021-11-09 07:10:03 -03:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
Skjalf
27659d11a3 fix(Scripts/Spells): Blessing of Ancient Kings crash (#8871) 2021-11-01 13:28:35 +01:00
Nefertumm
7c363c9040 fix(Core/Crashfix): Add nullptr checks for Blood Draining enchant (#8778) 2021-10-28 06:23:29 -03:00
Nefertumm
5f28d35c37 fix(Core/Spell): Recall destination for Insignia trinkets using CFBG (#8679) 2021-10-24 12:04:24 +02:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
jestermaniac
d4c4608db8 fix(Scripts/Spells): Linken's boomerang (#8179)
* fix(Scripts/Spells): Linken's boomerang

* Update rev_1633027575141830731.sql
2021-10-14 13:25:16 +02: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
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
a8ca50fc47 fix(Scripts/Items): Powerful Anti-venom (#7854) 2021-09-18 14:45:55 -06:00
UltraNix
be4377f540 fix(Scripts/Items): Goblin Bomb Dispenser (#7190)
- Closes #6609
2021-08-06 16:27:18 +02:00
UltraNix
ba85988d31 fix(Scripts/Item): Gnomish Death Ray. (#7062)
- Closes #5648
2021-07-23 13:13:49 +02:00
Kitzunu
5d66e57181 chore(Core/Spell): SpellId's should always be uint32 (#6466)
* chore(Core/Spell): SpellId's should always be uint32

* Update spell_item.cpp
2021-06-25 02:11:36 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
UltraNix
f4c226423d feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00
r0m1ntik
66ca61025d fix(Core/Spell): Val'anyr periodic healings proc and move to new proc system (#4216) 2021-03-21 22:40:50 -04:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Stifler82
08c2ddbee2 fix(Core/Spell): Anti-Venom (#4711) 2021-03-07 13:12:59 +01:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554 refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Kitzunu
b43c5c9bf3 fix(Core/Spell): Instant Statue (#4319)
* fix(Core/Spell): Instant Statue

* make sure GetCaster() is not null

* values

* unit not player

* scriptName

* Update spell_item.cpp

* feat(Core/Spell): Implement ValidateSpellInfo

* Cherry-pick from 2b5d7eef3a & a0a158b5b8

* Revert "feat(Core/Spell): Implement ValidateSpellInfo"

This reverts commit 7690f02b49c82c65de3e92307063211a2e9941f5.

* Revert "Revert "feat(Core/Spell): Implement ValidateSpellInfo""

This reverts commit 8ffbb46fafe1f2d1597b4295b9e5fcec822d1181.

* Update spell_item.cpp

* dependant on https://github.com/azerothcore/azerothcore-wotlk/pull/4323

* untargetable
2021-02-02 16:08:52 +01:00
Kitzunu
0d52b4ca4a feat(Core/Spell): Implement ValidateSpellInfo (#4323)
* feat(Core/Spell): Implement ValidateSpellInfo

* cherry-pick from 2b5d7eef3a & a0a158b5b8

* sLog->outError

* cleanup

* convert to ValidateSpellInfo

* fix error log

* improve sLog->outError

* remove non related spells stuff from Validate

* remove the last

* build

* build x2
2021-02-01 18:57:25 +01:00
Kitzunu
8851152815 fix(Core/Item): Implement mount speed mod items (#4258) 2021-01-30 00:46:59 +01:00
Kitzunu
da4edd547d chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00
Francesco Borzì
d4a58700d4 refactor(Core): apply clang-tidy modernize-use-override (#3817) 2020-12-06 18:04:55 +01:00
Kargatum
5e20b46812 refactor(Core/Scripts): restyle scripts lib with astyle (#3467) 2020-10-11 10:35:34 +02:00
Kitzunu
6ede23d177 fix(Core/AuraScript): Soul Feast should apply on some Valithria mobs (#3355)
* fix(Core/ItemScript): Shadow's Edge should give stacks on some Vali mobs

* make the logic more beautiful

* update name to IsException

* build

* IsException -> isException

* Keep it to a standard :)

* indentation

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-15 21:09:50 +02:00