Ovahlord
266d1d7717
Core/Creatures: temporarily revert all summon changes in order to keep the master branch functional until the implementation is done
2026-02-28 11:06:35 +01:00
Ovahlord
98d4a57db1
Core/Creatures: moved pre/post summon actions into SummonInfo API and disabled most old TemporarySummon functionalities
2025-08-22 20:26:10 +02:00
Ovahlord
860f6b1bd3
Core/Creatures: implement SummonPropertiesFlags::DespawnOnSummonerLogout and fixed replacing totems when summoning new ones
2025-08-20 07:13:05 +02:00
Ovahlord
ec1ab2a5e7
Core/Creatures: move level and faction initialization into SummonInfo API
2025-08-17 15:12:10 +02:00
Ovahlord
5848eedb24
Core/Creature: implement initial SummonInfo API for handling summons in the future
2025-08-09 15:01:55 +02:00
Shauren
e503f96adb
Core/Spells: Reduce number of CastSpell overloads to 1
2025-08-02 15:22:59 +02:00
Ovahlord
48c21d7161
Core/Spells: reduce differences between branches
2025-08-02 09:39:15 +02:00
Treeston
f95a8bfdca
Core/Common: Tokenizer -> Trinity::Tokenize
2025-07-30 20:51:19 +02:00
Ovahlord
4524c29f2c
Core/Spells: ported spell effect value calculation from cata_classic branch
2025-06-07 11:40:18 +02:00
Ovahlord
164289b3b2
Core/Units: ported namings for UnitFlags and UnitFlags2 and added the check for forbidden flags in database
2025-03-11 18:06:35 +01:00
Ovahlord
2953efb7a3
Core/Movement: ported most movement updates from master branch and corrected behavior of CREATURE_STATIC_FLAG_4_PREVENT_SWIM
2025-03-09 20:49:41 +01:00
Ovahlord
83958342d9
Core/Spells: ported spellMod handling from master branch
2025-03-09 13:20:40 +01:00
Ovahlord
e8588fd5ba
Core/Objects: ported Heartbeat implementation fron master branch
2025-03-09 02:40:05 +01:00
Ovahlord
6b67cd773e
Core/Objects: replaced ObjectUpdateFlags with CreateObjectBits to get closer to how master branch handles their bits
2025-03-09 00:26:00 +01:00
Shauren
bf51eda550
Core/Misc: PackedGuid refactoring to remove ByteBuffer.h include from ObjectGuid
2023-12-04 22:14:02 +01:00
Shauren
7d57ef7299
Core/Random: Changed random functions returning doubles to return floats
...
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 22:00:52 +01:00
Shauren
388c504047
Core/Spells: Named and implemented most of SpellAttr8
2023-10-23 18:07:05 +02:00
Shauren
3c0cf32b43
Core/Spells: Named and implemented most of SpellAttr7
2023-10-21 20:32:32 +02:00
Ovahlord
5c13baf230
Core/Misc: removed unused includes and removed unit include from vehicle.h
2023-10-10 03:01:05 +02:00
Shauren
8acfadc779
Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
2023-10-09 21:05:00 +02:00
Ovahlord
ff575bcef0
Core/Creatures: ported all existing static flag implementations from master branch
2023-08-27 17:16:18 +02:00
Shauren
5f21168911
Core/Spells: Added custom spell cast arg
2023-01-17 23:33:13 +01:00
Shauren
eeb2f63b65
Core/Maps: Fixed retrieving terrain info when on child maps
2023-01-02 15:23:21 +01:00
Shauren
265c2fa508
Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
2022-12-26 13:24:59 +01:00
Shauren
2a39dece9e
Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
2022-12-26 12:33:45 +01:00
Ovahlord
ded90b5077
Core/Objects: fixed another crash in WorldObject::IsValidAssistTarget
2022-10-13 18:19:06 +02:00
Ovahlord
6fa4c22daf
Core/Misc: fixed more crashes related to the caster dependency removal
2022-10-09 10:45:10 +02:00
Carbenium
0ef220fca0
Battlefields: Move BF scripts out of game
...
This commit introduces the usual script interface
for battlefields.
2022-10-09 00:35:07 +02:00
Shauren
0ba58aeb6e
Core/Maps: Move terrain data handling out of Map class
...
Partial port of cmangos/mangos-wotlk@ff5232c648
2022-10-08 00:25:32 +02:00
Shauren
21e9854686
Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
2022-10-07 22:16:46 +02:00
Ovahlord
b6f8a68d61
Core/Spells: fixed duration clamping for haste based periodic auras and added support for rolling any tick over
...
* roll over remaining time until next tick over into a refreshed periodic aura's duration
* this behavior is now being used for stackable spells, all HoTs and DoTs
* fixed adding extra ticks when at certain tick thresholds
* corrected implementation of SPELL_ATTR8_HASTE_AFFECTS_DURATION
* implemented SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC
2022-10-01 13:47:14 +02:00
Shauren
050300771d
Core/Spells: Rename SpellAttr6 to use official attribute names
2022-09-30 10:45:17 +02:00
Shauren
86fbfb77f4
Core/Spells: Implemented SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK
2022-09-30 02:01:13 +02:00
Shauren
a7dc339a6a
SHA-1: 8d16a79dea4c0100d36e13b068c42499a3a48154
...
* Core/Spells: Rename SpellAttr4 to use official attribute names
* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING
* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-09-30 01:16:39 +02:00
Ovahlord
ef3632109d
Core/Spells: ported SpellModOp definitions from master branch
2022-09-17 11:56:54 +02:00
Ovahlord
3de0b005d5
Core/Spells: resolve more cherrypick mistakes
2022-09-15 13:57:16 +02:00
Shauren
946f928ee2
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-09-13 15:40:25 +02:00
Shauren
ea4bc6c02a
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-09-13 14:36:32 +02:00
Ovahlord
6224558c8c
Core/Packets: converted SMSG_SPELL_MISS_LOG to packet class
2022-09-12 12:18:23 +02:00
Ovahlord
e3e4b2cf16
Core/Spells: dropped old dot clipping implementation and restored TC period and duration calculations in preparation of re-implementing it
2022-09-12 09:15:35 +02:00
Ovahlord
6a71b6d053
Core/Units: consider summoned units with a creator guid also as party or raid member
...
the old logic was built on the false assumption that all units like totems have a ownerguid - they do not. They only have a creatorguid. Ownerguids (as the name implies) is only applied on units that the player is actively controlling. 3.3.5 has this implemented in a wrong way while 4.x does not.
*also fixed up more cherrypick mistakes while at it
2022-09-12 09:15:31 +02:00
Shauren
ca7d36873f
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-09-12 09:15:31 +02:00
Ovahlord
099cb8876b
Core/Spells: fixed another cherrypick mistake that was causing ownerless traps to crash
2022-09-12 09:15:29 +02:00
Gildor
862a9fded9
Core/Gameobjects: Improve IsValidAttackTarget faction check for traps that hasn't owner or have NPC owner
2022-09-12 09:15:29 +02:00
Gildor
d45f4b0059
Core/Gameobjects: Traps shouldn't ignore IsImmuneToNPC/IsImmuneToPC and IsInSanctuary rules if has owner
2022-09-12 09:15:28 +02:00
Gildor
eab8e4aefb
Core/Gameobjects: Improve stealth detection
2022-09-12 09:15:27 +02:00
Ovahlord
ec09a4830a
Core/Spells: resolved a couple cherrypick mistakes
2022-09-12 09:15:25 +02:00
brotalnia
7cc33f1bb7
Core/Spells: Return CheckCast result from CastSpell ( #23236 )
...
* Return CheckCast result from CastSpell
* Return cast result from UnitAI methods too.
2022-09-12 09:15:23 +02:00
Shauren
e395af341a
Core/Spells: Fixed crash with some gameobject spell casters
2022-09-12 09:15:22 +02:00
Shauren
54b65fc2ac
Core/Objects: Properly ASSERT when trying to access invalid updatefields
2022-09-12 09:15:22 +02:00