Commit Graph

12699 Commits

Author SHA1 Message Date
Shauren
5ed75bb2d3 Core/Auras: Implemented SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE 2021-02-21 15:32:52 +01:00
Shauren
fea8306aa3 Core/Auras: Implemented SPELL_AURA_REMOVE_TRANSMOG_COST and SPELL_AURA_REMOVE_BARBER_SHOP_COST 2021-02-21 15:24:22 +01:00
Shauren
e533d53da8 Core/Spells: Define new spell attribute 2021-02-21 15:21:07 +01:00
Shauren
4ee565b2c8 Core/Auras: Implemented SPELL_AURA_MOD_PERIODIC_DAMAGE_TAKEN 2021-02-21 15:20:18 +01:00
Shauren
bd7c714c97 Core/Auras: Rename many old aura types to their new meaning 2021-02-21 15:16:55 +01:00
Shauren
512931646a Core/Auras: Refactor logic determining which spell aura type values need to be sent 2021-02-20 14:53:33 +01:00
Shauren
04bf6b500d Fix build 2021-02-20 14:30:44 +01:00
Shauren
31d3080091 Core/Players: Corrected shield block value calculations 2021-02-20 14:00:48 +01:00
Shauren
411631743a Core/Auras: Do not warn about nonexisting proc spells when spell id is 0 and aura is a dummy 2021-02-18 23:30:28 +01:00
Shauren
54c5cc97f5 Core/Auras: Implemented new spell proc attribute PROC_ATTR_USE_STACKS_FOR_CHARGES to drop stacks instead of charges 2021-02-18 23:28:26 +01:00
Shauren
456b5be8e4 Core/PacketIO: Fix sending unit power values 2021-02-17 14:37:47 +01:00
Shauren
166497988b Core/PacketIO: Add missing update field filtering for player fields 2021-02-17 14:37:18 +01:00
Shauren
e2b7a9d3e5 Core/PacketIO: Corrected logic for filtering out disallowed fields when force sending specific ones 2021-02-17 14:36:47 +01:00
Shauren
92e010f60c Core/PacketIO: Refactor generated updatefield code (use type alias) 2021-02-17 14:35:51 +01:00
Matan Shukry
d2641c4924 Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner (#26102) 2021-02-17 00:42:53 +01:00
jackpoz
08ac99744b Core/Maps: Fix memory leak in BoundaryUnionBoundary
Add missing destructor in BoundaryUnionBoundary to avoid reporting a memory leak (even if it's used only in a global variable)

(cherry picked from commit 724499cf9c)
2021-02-15 19:13:25 +01:00
Killyana
e8b1bb5ca5 Core/Reputation: Fix reaction with rival factions
Closes #9469
Ref #20661

(cherry picked from commit e85a48179e)
2021-02-15 19:13:25 +01:00
Killyana
33279199d4 Spell: Remove a phase hack for The Eye of Acherus
Npcs are now spawned on phase 2, some spawns still missing on phase 1 and 2, need to wait for future commits.

(cherry picked from commit f3a00a1822)
2021-02-15 19:13:25 +01:00
ccrs
58de8141e5 Core/Creature: 2d1ef6b5b0 followup
closes #20532

(cherry picked from commit caefe2b43e)
2021-02-15 19:13:25 +01:00
ccrs
92026abee1 Scripts/World: update guard scripts
Also remove deprecated method from Creature

(cherry picked from commit 299323ce5d)
2021-02-15 19:13:25 +01:00
lachtanek
0099154316 Core/Pooling: Fixed less and less objects from pools being spawned the longer the server is running (#20949)
Closes #11141

(cherry picked from commit de80cd2e0d)
2021-02-15 19:13:25 +01:00
Aokromes
8be737efa0 Core/BG: Fix enum order which counts as array index to spawn creatures on Alterac Valley
fixes wrong monsters being spawned on horde towers and nodes [spawns seasoned units by default, which should only happen after turning in enough armor scraps]

By Riztazz

(cherry picked from commit 090bdc8eb3)
2021-02-15 19:13:25 +01:00
ccrs
88c3a184cc Core/Movement: some corrections on WaypointMovementGenerator
- Since a timer can be set on MovementGenerator::Pause, dont update it till the movespline is Finalized
- Don't set HomePosition on every Update, check if movespline is Finalized
    * This is still doesnt feel correct, should it only be called on WaypointNode Start?

(cherry picked from commit 2ce9a0a094)
2021-02-15 19:13:25 +01:00
Gustavo
56cd9de144 Core/Spells: Don't save channeled auras (#20923)
(cherry picked from commit 5b7e4efcc4)
2021-02-15 19:13:25 +01:00
Shauren
ece3c91d6e fix build 2021-02-15 00:30:24 +01:00
Shauren
331b9ccd6a Core/Entities: Regenerated updatefields code with latest generator fixes 2021-02-15 00:19:35 +01:00
Matan Shukry
7159de62b6 Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn 2021-02-13 14:08:16 +01:00
Matan Shukry
c261b16a32 Core/Spells: Add const to triggeredByAura argument on Unit::CastSpell(GameObject* go,... overload for consistency 2021-02-13 14:08:16 +01:00
Shauren
49992508a4 Core/Movement: Refresh collision height on shapeshifting 2021-02-11 22:59:28 +01:00
Shauren
409ca262b3 Core/Movement: Updated MovementFlags2 for 9.0.2 2021-02-11 22:03:30 +01:00
Matan Shukry
e0278f0537 Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE (#26055)
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE
* Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr
2021-02-10 21:18:01 +01:00
Matan Shukry
b4bdc4eea6 Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there (#26036) 2021-02-09 23:06:45 +01:00
Shauren
9e9fb667ec Core/Creatures: Fixed crediting loot and quests for creatures using level scaling
Closes #26058
2021-02-09 17:40:47 +01:00
Jeremy
e9357dc7f2 Core/Auras: Implement SPELL_AURA_BATTLEGROUND_PLAYER_POSITION_FACTIONAL (397) & SPELL_AURA_BATTLEGROUND_PLAYER_POSITION (398) (#25988) 2021-02-08 23:11:40 +01:00
Shauren
086f337d15 Core/Misc: Define new area flag 2021-02-07 21:13:37 +01:00
Robingad
964340bb76 Core/Auras: Handle SPELL_AURA_MOD_AUTOATTACK_DAMAGE
(cherry picked from AshamaneProject/AshamaneCore@92bbcfde0b)
2021-02-07 19:43:13 +01:00
Traesh
e11067a398 Core/Auras: Handle SPELL_AURA_MOD_SCHOOL_MASK_DAMAGE_FROM_CASTER
(cherry picked from commit AshamaneProject/AshamaneCore@458d0f2a53)
2021-02-07 19:43:13 +01:00
Shauren
cb47605235 Core/Players: Implemented secondary stat diminishing 2021-02-07 19:19:06 +01:00
Shauren
5a7560e57c Fix nopch build & warning 2021-02-06 21:57:04 +01:00
r00ty-tc
f3ac10f36f Core/Spawn: Limit saved/stored respawn time.
- Limit to time_t maximum, for the compiled-for architecture.

Closes #20834

(cherry picked from commit 3446424540)
2021-02-06 21:41:51 +01:00
jackpoz
852c9e9108 Core/Misc: Fix static analysis issues
(cherry picked from commit a80c95a1c7)
2021-02-06 21:41:51 +01:00
jackpoz
1c24819741 Core/Misc: Fix static analysis issues
(cherry picked from commit 97f33dc779)
2021-02-06 21:41:51 +01:00
jackpoz
a68ab3241a Core/Misc: Fix static analysis issues
(cherry picked from commit 7e73f5f1ed)
2021-02-06 21:41:51 +01:00
Shauren
b37163b5e2 Core/Quests: Correct criteria tree quest objective update conditions
* Apply same raid group restriction as normal objectives
* Check that player is on quest before updating criteria
* Remove non-GM requirement
2021-02-06 20:03:37 +01:00
Osleyder Gonzalez Acosta
7c58a13cc9 Core/DataStores: Update correct version check of the loaded DB2 files. (#26011) 2021-02-06 20:01:34 +01:00
BAndysc
17676d4d41 Core/SAI: Add missing AreaTrigger to SmartScript::GetBaseObject 2021-02-06 19:20:07 +01:00
Shauren
65df9d424d Core/Trainers: Remove all "hidden" rank based requirements for learning spell from trainers and always only rely on trainer_spell.ReqAbility fields in database 2021-02-06 18:30:07 +01:00
Matan Shukry
0cae71eac5 Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units (#26028)
* Added object type into checker that is used by grid search to early eliminate alive units when looking for corpses
* Removed script 'spell_hun_pet_carrion_feeder'. Ability doesn't exist anymore
2021-02-05 21:29:00 +01:00
Matan Shukry
b832ed2479 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40) (#26029) 2021-02-05 19:05:06 +01:00
Shauren
875fd4107f Core/SAI: Added SAI support for new areatriggers 2021-02-05 18:12:55 +01:00