Kitzunu
f757e93da5
refactor(Core/Misc): Make DeathState enum class ( #17607 )
2023-10-28 10:54:03 +02:00
AG
60e27511c5
fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation ( #17480 )
...
* Bug fixes
- Corrected std::chrono from seconds to milliseconds
- Got rid of leftover code that caused objects to not show up on time
* Removed logic to set gameobject as active
- More alignement with TC.
- Reduces CPU usage drastically
* Revert back to using time_t instead of std chrono
* Invoke SetNoCreate() method to reduce CPU usage drastically
* Remove setActive from static and motion transports
* Fix performance issues
* Added SetFarVisible to WG and some dungeon scripts
- Also removed setActive(true) from creatures in Wintergrasp. As for gameobjects they are set to active upon being damaged/destroyed and removed from active on rebuild (reset)
* Removed comments related to VISIBILITY_COMPENSATION
* Fix log
* Deleted unused files + corrected a check
* Added missing header
* Removed unused parameter
* Removed another unsued parameter
* Changed vector to set for i_visibleNow
- Changed vector to set for i_visibleNow in VisibleNotifer
- Adjusted HaveAtClient to accept Object*
- Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
2023-10-23 05:37:11 -03:00
Kitzunu
2255f492b5
fix(Core/Creature): Update movement in UpdateEntry() ( #17291 )
...
* fix(Core/Creature): Update movement in UpdateEntry()
* Update Creature.cpp
* Update Creature.cpp
* hover
* just replace with updatemovememntflags
* Update Creature.cpp
* Update Creature.cpp
---------
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2023-10-08 10:49:17 -03:00
Kitzunu
b1395b9450
refactor(Core/Creature): Calculate BaseArmor as float ( #17448 )
2023-10-08 08:56:16 -03:00
KJack
a23d5ee50d
feat(Core/Scripting): Implement OnBeforeCreatureSelectLevel() hook ( #17391 )
...
* Add `OnBeforeCreatureSelectLevel()` hook
- allows modules to alter the level of a creature just before it is set
* Fix missing class name.
* Hook should catch even if the level isn't being changed.
* Trim whitespace.
* Revert "Trim whitespace."
This reverts commit 76768d85c0b9878828b71a008e709c1df7ddadc5.
* Fix whitespace
2023-10-01 02:25:06 -03:00
Skjalf
7de2405604
fix(Scripts/Karazhan): Several Aran fixes ( #17394 )
...
- Fix drinking being interrupted by dots
- Fix first super timer
- Fix missing Arcane Explosion emote
- Fix supers being locked by spell interrupt
- Correct drinking to 10% mana down from 20%
2023-09-30 22:13:49 -03:00
AG
2779833768
feat(Core/Grids): Implement visibility notifier ( #15919 )
...
* Cherry-picked from TrinityCore (unable to find author)
2023-09-28 22:28:28 +02:00
Skjalf
ae99ce586a
fix(Scripts/Karazhan): Fix Aran combat movement behavior ( #17359 )
...
* fix(Scripts/Karazhan): Fix Aran combat movement behavior
* Update SmartScript.cpp
2023-09-26 18:27:23 -03:00
Francesco Borzì
5d01b700fd
refactor(Core): remove unused imports ( #17094 )
2023-08-28 13:39:43 +02:00
Gultask
d525949316
fix(Core/Creature): Re-Add IGNORE_ASSISTANCE_CALL flag ( #16387 )
...
init
2023-05-28 13:49:17 -03:00
Gultask
b86cf11499
fix(Core/Creature): Adjust IGNORE ASSISTANCE CALL flag to prevent assistance on initial aggro only ( #16046 )
...
init
2023-04-20 18:16:31 -03:00
UltraNix
ac0581bd43
fix(Core/Pet): Fixed set hunter pet's speed on load. ( #15206 )
2023-03-04 17:41:10 -03:00
Skjalf
fff0e17133
fix(Core/Cooldown): Implement spell cooldown overrides to address cha… ( #15143 )
2023-02-22 23:00:18 -03:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Maelthyr
32587b7659
feat(Core/Unit): Combat pulse ( #14792 )
...
Co-authored-by: Treeston <treeston@users.noreply.github.com >
2023-02-05 17:19:10 -03:00
Skjalf
8aa331b432
fix(Core/Creature): Fix bosses with hard reset flag not respawning an… ( #14862 )
2023-02-04 15:35:53 -03:00
Skjalf
f59ee4ef7c
feat(Core/Creature): Actually despawn creatures on evade with Despawn… ( #14786 )
2023-01-28 18:47:15 -03:00
UltraNix
7f7a2f5a92
fix(Core/Creatures): Critters should start fleeing upon entering comb… ( #14253 )
2023-01-28 11:01:43 +01:00
Angelo Venturini
9e18b86311
fix(Core/Auras): SPELL_AURA_MOD_SCALE should scale additively instead… ( #14425 )
...
...multiplicatively
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-01-02 20:43:20 -03:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01:00
UltraNix
93796bb01d
fix(Core/Creatures): Fixed loading transform auras from DB. ( #13489 )
...
Fixes #13472
2022-10-27 05:23:51 -03:00
Skjalf
7eb096ae0b
fix(Core/Creature): Fix LinkedRespawn not working with id2, etc. ( #13367 )
2022-10-12 14:03:56 -03:00
UltraNix
e390087efd
feat(Core/Items): Implemented elemental weapon damage. Source: Trinit… ( #13050 )
...
...yCore.
2022-10-08 14:34:52 -03:00
UltraNix
0ae8790956
fix(Core/Creatures): Renamed CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE to CREATURE_FLAG_EXTRA_IGNORE_ASSISTANCE_CALL ( #13130 )
2022-10-06 00:18:05 -03:00
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
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
Maelthyr
d0d1671745
feat(Core/Debug): GetDebugInfo implementation ( #12705 )
...
Cherry-pick: 9a924fb9d5
Co-authored-by: jackpoz <giacomopoz@gmail.com >
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2022-08-15 09:43:41 -03:00
Skjalf
e3c7b52253
feat(Core/Creature): Implement SetRegeneratingPower() to disable powe… ( #12535 )
...
feat(Core/Creature): Implement SetRegeneratingPower() to disable power gains
2022-07-25 12:12:27 -03:00
UltraNix
801e68b1dd
fix(Core/Creatures): Added new AI function OnTeleportUnreacheablePlayer to teleport all unreachable players. ( #12193 )
...
* fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_TELEPORT_UNREACHABLE_PLAYERS.
Fixed #11750
* Update.
* Update.
* Update.
2022-07-24 13:10:41 -03:00
IntelligentQuantum
cc52712ac1
refactor(Core/AI): factory functions cleanup ( #11779 )
2022-07-15 16:11:49 +02:00
UltraNix
346150c92a
fix(Scripts/ZulGurub): Hakkar's Blood Siphon ( #12196 )
2022-07-09 11:05:09 -03:00
Skjalf
32ba21d029
feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook ( #12316 )
...
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook
* reverse logic
2022-07-09 00:10:04 -03:00
Skjalf
46789d5df6
fix(Scripts/BlackwingLair): Correct Bone Constructs abilities ( #12180 )
2022-06-26 04:45:15 -03:00
UltraNix
a935e51754
fix(Core/Pets): Mob "soloed" by pet should not grant exp/loot to its … ( #11969 )
...
* fix(Core/Pets): Mob "soloed" by pet should not grant exp/loot to its master.
Fixes #11528
2022-06-19 07:46:23 -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
UltraNix
117a18c961
fix(Scripts/ZulGurub): Renataki - improvements: ( #11967 )
...
Added missing spells and events.
Removed invalid spells
Corrected event timers
Fixes #11620
Fixes #11621
2022-06-16 11:39:09 -03:00
Maelthyr
32334f5f14
refactor(Core/Unit): minor changes for the combat system ( #11904 )
...
Cherry-pick from TC: https://github.com/TrinityCore/TrinityCore/pull/19966
Co-authored-by: Treeston <treeston.nmoc@gmail.com >
2022-06-13 19:40:29 -03:00
Maelthyr
c5368816fa
Core/Combat: rename getThreatMgr() to GetThreatMgr() ( #11758 )
2022-05-18 05:36:57 -03:00
Tralenor
6cf82e3bd6
feat(Core/DB): Add Hooks On creature/game object save to db ( #11246 )
...
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks
* fix Whitespaces in ScriptMgr.h
Co-authored-by: Timothée Moos <t1997.m@gmx.net >
2022-05-06 00:42:49 -03:00
Skjalf
d8d0d5a5e4
feat(Core/Creature): Implement ModifyThreatPercentTemp() function ( #11521 )
...
* feat(Core/Creature): Implement ModifyThreatTemporary function
* feat(Core/Creature): Implement ModifyThreatPercentTemp() function
* fix build
2022-04-24 22:48:37 -03:00
acidmanifesto
4ec69ba3ed
fix (core): inhabit CanSwim revert ( #11475 )
2022-04-22 09:34:37 -04:00
acidmanifesto
93a8d4fb63
fix (core) Remove not need operator || ( #11425 )
...
Since the mysterous why things evade in shallow water root issue was finally determined because of our shallow water calculations was wrong that was corrected by pr https://github.com/azerothcore/azerothcore-wotlk/pull/11419 we can now remove this operator
2022-04-17 13:24:15 -04:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02:00
Kitzunu
edb7cac19b
feat(Core/Unit): NPCFlags helpers ( #11286 )
...
* cherry-pick commit (TrinityCore/TrinityCore@d611925 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2022-04-05 13:52:42 +02:00
UltraNix
ff654397e8
fix(Core/Creatures): Properly reset encounter if boss despawns on evade. ( #11251 )
...
Fixes #8167
2022-04-02 11:46:27 -03: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
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -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
acidmanifesto
77f13636b7
fix (core) Script Names not loaded with manual add ( #11102 )
...
This fixes Script names not being loaded with npcs and gameobjects when manually added with the .npc\gameobject add cmd that would lead the user to restart the server to load up the npc\gameobject with the script that was manually added
2022-03-22 09:49:06 -04:00