EverWrath/src/server/game/Spells
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
..
Auras fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480) 2023-10-23 05:37:11 -03:00
Spell.cpp fix(Core/Spells): Allow casting ground mounts in water (#17481) 2023-10-10 20:23:45 -03:00
Spell.h fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SU… (#14054) 2023-01-06 00:52:05 +01:00
SpellDefines.h fix: Qaston revert (#13320) 2022-10-05 21:53:20 +02:00
SpellEffects.cpp fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480) 2023-10-23 05:37:11 -03:00
SpellInfo.cpp fix(Core/Spells): Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_… (#17339) 2023-09-25 08:33:23 -03:00
SpellInfo.h feat(Core/Player): Addition of a Hook in CanFlyInZone check (#16590) 2023-09-20 22:40:08 +02:00
SpellInfoCorrections.cpp fix(Core/Spells): Marked for Death affecting wrong spells. (#17406) 2023-10-21 10:28:57 -03:00
SpellMgr.cpp chore(Core/Misc): Correct some fmt outputs (#17091) 2023-08-27 06:23:26 +02:00
SpellMgr.h fix(Core/Spells): Implement ENCHANT_PROC_ATTR_WHITE_HIT (#16771) 2023-07-17 08:19:24 -03:00
SpellScript.cpp fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00
SpellScript.h fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00