Meji
5d5ca30b23
Core/Spells: Allow implicit targeting of serverside WorldObjects ( #28827 )
2023-03-12 17:12:36 +01:00
Shauren
cbdb255958
Partial revert of "Core/Spells: Moved SpellVisual functions from Unit to WorldObject" - client only accepts unit guids in these packets (orphan visuals not reverted)
...
This partially reverts commit 54f607641a .
2023-02-25 16:24:44 +01:00
Shauren
b6965b2c30
Core/Objects: Move EventProcessor update to WorldObject::Update
2023-02-05 16:24:13 +01:00
Shauren
3df16c12b7
Core/Scripts: Move EvadeReason outside of CreatureAI class
2023-01-19 21:23:06 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
704142f15a
Core/Maps: Fixed retrieving terrain info when on child maps
2022-12-31 18:22:40 +01:00
Shauren
9a96d32350
Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes)
2022-12-30 21:50:16 +01:00
Seyden
24d21301a6
Core/Objects: ignore database visibility conditions for personal clones ( #28548 )
2022-12-30 17:57:58 +01:00
Seyden
61c51b76c0
Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier ( #28500 )
...
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-12-27 16:39:05 +01:00
Seyden
9ab0679781
Core/Objects: Implement FindNearestCreatureWithOptions helper function ( #28488 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-12-26 20:13:13 +01:00
Shauren
c3f385c48f
Core/Phasing: Reduce differences between branches in GridNotifiers
2022-12-25 00:44:12 +01:00
Seyden
64a1c7735e
Core/Creatures: Implemented AttackableBySummoner summon properties flag ( #28489 )
2022-12-22 23:45:35 +01:00
Shauren
21940405e0
Core/Battlegrounds: Made Battleground inherit ZoneScript
...
Closes #28480
2022-12-20 01:03:58 +01:00
Shauren
1c52c31274
Core/Spells: Added custom spell cast arg
2022-12-14 00:32:57 +01:00
Shauren
2d205506bf
Core/Spells: Fixed spell effect value truncation when value is a large integer
2022-12-14 00:24:24 +01:00
Shauren
e98e1283ea
Core: Updated to 10.0.2
2022-12-04 15:13:20 +01:00
Shauren
8630a55c58
Core/Movement: Rename splineElevation in MovementInfo to stepUpStartElevation (official name)
2022-11-12 21:42:37 +01:00
Teleqraph
9a3e29d416
Core/Object: Implement FindNearestCreatureWithAura ( #28410 )
...
* Game/Object: Implement NearestCreatureEntryWithLiveStateAndAuraInObjectRangeCheck class and FindNearestCreatureWithAura method
* moved arguments
2022-10-30 22:29:03 +01:00
Shauren
2c79ce6791
Core/Conditions: Add const to condition checking functions
2022-10-24 00:15:43 +02:00
Shauren
879c0cccfc
Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests
2022-10-21 22:11:00 +02:00
Gosha
c1a9d7a3bc
Core/PacketIO: Use ByteBuffer from UpdateData instead of copying to it after ( #28347 )
...
(cherry picked from commit 81bf8de989 )
2022-10-13 12:37:18 +02:00
Gosha
423f81fbda
Core/Objects: Fix flags overflow for InvisibilityType because TOTAL_INVISIBILITY_TYPES (38) can't fit in 32 bits flag ( #28343 )
2022-10-07 16:08:20 +02:00
Meji
4b06b8ec1e
Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature ( #28284 )
2022-10-01 00:11:52 +02:00
Shauren
6713fa4c93
Core/Scripts: Added CalcCastTime spell script hook
2022-07-29 20:24:28 +02:00
Shauren
16a06346ae
Core/Maps: Move terrain data handling out of Map class
...
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-07-23 19:13:33 +02:00
Shauren
073a036d84
Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
2022-07-19 23:18:19 +02:00
Shauren
775be0682a
Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
2022-07-18 22:45:03 +02:00
Shauren
61263bf74d
Core/Spells: Corrected unit flag checked with SPELL_ATTR6_CAN_TARGET_UNTARGETABLE
2022-06-17 12:54:34 +02:00
Shauren
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-05-25 22:14:32 +02:00
Shauren
94aac14b4d
Core/Spells: Rename SpellAttr6 to use official attribute names
2022-05-06 20:23:13 +02:00
Shauren
d71ca7a8f5
Core/Spells: Implemented SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK
2022-05-02 18:20:17 +02:00
Shauren
738f285432
Core/Spells: Rename SpellAttr5 to use official attribute names
...
* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
2022-05-02 01:11:38 +02:00
Shauren
88d7b58a3d
Core/Spells: Rename SpellAttr3 to use official attribute names
...
* Implemented SPELL_ATTR3_NO_AVOIDANCE
* Implemented SPELL_ATTR3_ONLY_PROC_OUTDOORS
* Implemented SPELL_ATTR3_ONLY_PROC_ON_CASTER
* Implemented SPELL_ATTR3_PVP_ENABLING
* Implemented SPELL_ATTR3_SUPPRESS_CASTER_PROCS
* Implemented SPELL_ATTR3_SUPPRESS_TARGET_PROCS
2022-04-30 16:57:32 +02:00
Shauren
dda375b986
Core/Spells: Rename SpellAttr2 to use official attribute names
...
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren
c88b602a2c
Core/Spells: Rename SpellAttr1 to use official attribute names
...
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-04-25 22:16:56 +02:00
Shauren
a31e681944
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-04-24 18:40:10 +02:00
Shauren
41a04a0c49
Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
2022-04-24 00:16:13 +02:00
Shauren
5558769405
Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
2022-04-16 12:15:37 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
HelloKitty
194a0daed5
Core/Object: Fix WorldObject::SetZoneScript unsafe cast to InstanceMap ( #27877 )
...
(cherry picked from commit e9992066a5 )
2022-03-26 16:01:01 +01:00
offl
661a24b7b1
Core/Misc: Rename UNIT_FLAG_TAXI_FLIGHT to UNIT_FLAG_ON_TAXI
...
Ref #26912
(cherry picked from commit a50ce8755b )
2022-03-15 23:32:27 +01:00
offl
c4906ce60b
Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE ( #26913 )
...
(cherry picked from commit c4741a131a )
2022-03-15 23:03:26 +01:00
ccrs
5b6bcbff1a
Core/Game: include addtional parameter in Object::GetPlayerListInGrid
...
(cherry picked from commit d49b6af71f )
2022-03-12 14:48:32 +01:00
Meji
74645553be
Core/Objects: Units possessing another ones must use the detection of the latter ( #26702 )
...
* Core/Objects: Units with invisibility auras can see units that cannot detect them
* Core/Objects: A unit that possess another one, uses the detection of the latter
* GCC: Avoid ambiguous 'else'
Closes #23528
(cherry picked from commit ad4bc7cc1f )
2022-03-12 01:17:00 +01:00
Giacomo Pozzoni
9bcff210f9
Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z ( #26092 )
...
Use a fixed offset 0.5f instead of full collision height when retrieving floor Z as a full collision height ended up on the floor above a few times. It makes more sense to cast the ray just a bit higher up than using a full collision height (which by default is 2.0f)
(cherry picked from commit f96aab2186 )
2022-03-06 22:24:01 +01:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
Shauren
8e2d1e328e
Core/Spells: Pass cast item level to triggered spells
...
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
Seyden
79c6054369
Core/Objects: Use player as summoner for personal clones ( #27716 )
...
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
Aqua Deus
d22d461633
Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS ( #27715 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-02-07 20:53:32 +01:00