Commit Graph

120 Commits

Author SHA1 Message Date
Kargatum
7f05e20994 fix(Core/Pets): fix crash at pet resurrect (#10120) 2022-01-15 19:08:54 -03:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
UltraNix
2c6a692000 fix(Core/Entities): extend combo point system to all Units (#9816)
- Closes #1140
2022-01-07 11:18:03 +01:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
UltraNix
f593f624b0 fix(Core/Spells): Add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase. (#9765)
* Move EffectInterruptCast to LAUNCH_TARGET Phase.

* Source: TrinityCore.

* Fixes #8484
2022-01-04 13:49:15 +01:00
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -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
Skjalf
e5d650c5f3 fix(Core/Spells): Only check GO state for doors when using SPELL_EFFECT_OPEN_LOCK (#9778)
buttons and other object types may expect other states in order to operate correctly
2021-12-19 10:15:15 -03:00
UltraNix
658a7c2b56 fix(Core/Spells): Do not apply diminishing return on spells casted by mobs. (#9536)
Fixes #9028
2021-12-14 15:17:44 -03:00
UltraNix
e5cbba1c4c fix(Core/Spells): Melee spells are not affected by cast haste modifiers. Source: TrinityCore. (#9501)
Fixes #5136
2021-12-10 01:21:49 -03:00
UltraNix
52d8e1b68a fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)
Fixes #9225
2021-12-09 23:45:01 -03:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
IntelligentQuantum
ab761c9865 fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42:53 -03:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix
647c91605c fix(Core/Spells): Autoshot should not interrupt Volley (#9202)
- Closes #8883
2021-11-23 20:13:06 +01:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Francesco Borzì
1cd8c43447 fix(CI): revert sleep + fix shadowing variable issue (#9106) 2021-11-10 10:18:40 +01:00
Francesco Borzì
acf6aab247 fix(CI): trigger builds on C++ changes (#9103) 2021-11-10 10:08:52 +01:00
UltraNix
e55a93eec8 Core/Spells: Triggered spells should not cause players to stand up (#8986)
- Closes #8764
2021-11-07 20:41:25 +01:00
UltraNix
3cddfb84c1 feat(Core/Spells): Implemented SPELLVALUE_AURA_DURATION. (#8690)
- Closes #8505
2021-10-24 23:06:57 +02:00
UltraNix
96441a91dc fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)
Fixes #8543
2021-10-24 01:23:04 -03:00
Kargatum
bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00
UltraNix
8b70222ae2 fix(Core/Spells): Revive pet cannot be used on alive pets. (#8434)
Fixes #8315
2021-10-14 19:54:18 -03:00
Kitzunu
118a555b06 fix(Core/Spells): Fix all cases of client crash when pressing ESC after a spell being cast (#8497)
* cherry-pick commit (f765e8eb73)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/8143

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

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-10-14 20:32:30 +02:00
UltraNix
13eacaed8d fix(Core/Spells): Always stand up on spell cast. (#8337)
Fixes #7032
2021-10-12 15:15:28 -03: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
Skjalf
99f8634361 fix(Core/Spells): basepoints of spell 'Pick Lock' being wrongly added to player's lockpicking skill when evaluating if a lock can be opened (#8072) 2021-10-04 15:45:06 +02:00
UltraNix
06e50a9690 fix(Core/Achievements): Fixed showing achievement statistics of inspected player. (#8093)
* fix(Core/Spells): Implemented SPELL_ATTR0_CU_NO_PVP_FLAG.

Fixes #7938

* fix(Core/Achievements): Fixed showing achievement statistics of inspected player.

Fixes #7979
2021-10-03 18:12:12 +02:00
Skjalf
23edbfe21d fix(Core/Spells): Ensure gameobjects are still locked/closed when loc… (#8012)
* fix(Core/Spells): Ensure gameobjects are still locked/closed when lockpicking/opening them

* Update src/server/game/Spells/Spell.cpp
2021-10-01 10:25:09 +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
UltraNix
c3259dabcf fix(Core/Spells): Implemented PROC_EX_ONLY_FIRST_TICK (#7933) 2021-09-21 06:02:06 -06: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
Kitzunu
a4a0976d5e fix(Core/Spell): Remove ErrorCube visual (#5713)
* fix(Core/Spell): Remove ErrorCube visual

* cherry-pick https://github.com/trinitycore/trinitycore/commit/3b5014fdae

* cherry-pick small part of f4f7e6324d

Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Treeston <14020072+treeston@users.noreply.github.com>

* brackets

* Update rev_1620443413425226200.sql

* Update rev_1620443413425226200.sql

* It was the S, AN S

* Update SpellMgr.cpp

* Update SpellMgr.cpp

* Revert "Merge branch 'master' into fix-visual"

This reverts commit f0b629a2835c2a2d9aa5696bb7539c1ae9b14d57, reversing
changes made to c06f4465d15e9f71426d796e2fcfe714592c3443.

* Revert "Revert "Merge branch 'master' into fix-visual""

This reverts commit bfdf75bd6f8f06944463249de5d398a9e77c3a79.

* fix build

Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Treeston <14020072+treeston@users.noreply.github.com>
2021-09-15 01:38:10 +02:00
Viste
a9796af174 fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +02:00
Kitzunu
511320c5b4 chore(Core/Spells): redefine & Define some castFlags (#7724) 2021-09-10 10:57:23 +02:00
lineagedr
ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
UltraNix
14b9be2982 fix(Core/Players): healing pet should not reset PvP timer (#7541)
- Closes #6128
2021-08-30 11:05:44 +02:00
UltraNix
45218224b4 fix(Core/Spells): show Execute/Slam misses/dodges/parries in combat log (#7494)
- Closes #7428.
2021-08-26 11:45:22 +02:00
UltraNix
a8c0a2cc89 fix(Core/Movement): (#7008)
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.

Original source: TrinityCore.

- Closes #5086
- Updates #2208.
2021-08-25 12:41:20 +02:00
UltraNix
122fd3ec74 fix(Core/Spells): add SPELL_ATTR0_CU_NO_INITIAL_THREAT to some spells (#7291)
- Closes #7241
2021-08-19 16:40:00 +02:00
UltraNix
1e84e062f4 fix(Core/Spells): Beacon of Light should not cause combat. (#7321)
* fix(Core/Spells): Beacon of Light should not cause combat.

Fixed #7276
2021-08-18 00:24:57 +02:00
UltraNix
faef417d92 fix(Core/Spells): Master's Call used on rooted pet (#7294)
- Closes #7239
2021-08-14 17:41:50 +02:00
UltraNix
004af40cc0 fix(Core): do not start combat with pet's current victim on spell hit if it's not in combat (#7293)
- Closes #7247
2021-08-14 13:51:26 +02:00
UltraNix
300dc16159 fix(Core/Spells): Levitate cannot be casted on mounted targets (#7258)
- Closes #7090
2021-08-11 10:34:50 +02:00
UltraNix
d3d6d0be12 fix(Core/Spells): always select correct item on weapon skill update (#7135)
- Closes #6158
2021-08-07 14:17:14 +02:00
UltraNix
2d56a94016 fix(Core/Spells): Next melee swing spells are supposed to be queued up even when out of range. (#7180)
- Closes #6588
2021-08-06 03:07:36 +02:00
UltraNix
5a93dce915 fix(Core/Spells): Disarmed creatures should no cast spells that requi… (#7171)
* fix(Core/Spells): Disarmed creatures should no cast spells that requires weapon.

Fixed #6404
Fixed #6764.

* codestyle.

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 22:41:51 +02:00
UltraNix
7e6727c12a fix(Core/Spells): Forbid using charge if already charging to someone. (#7172)
Fixed #6453

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-05 21:24:57 +02:00
UltraNix
9a820e2d26 fix(Core/Spells): Master of Elements (#7102)
* Core/Spells: Master of Elements:

Proc now also from arcane spells.
Properly proc from periodic spells.
Fixed #6035.

* You shouldn't be there.

* Buildfix.

* missing sql.
2021-08-02 01:02:38 +02:00