Matan Shukry
a8fb7109b7
Core/Maps: Refactor duplicated code from all ***CellRelocation and CheckGridIntegrity into single templated function ( #26231 )
2021-03-28 15:26:28 +02:00
Shauren
0461826689
Core/Loot: Properly clear tracked looted objects with item loot
...
Closes #22538
2021-03-28 14:18:34 +02:00
Matan Shukry
1c852af7f2
Core/Spells: Implement SPELL_EFFECT_TELEPORT_TO_RETURN_POINT ( #26217 )
2021-03-28 00:22:34 +01:00
Смердокрыл
3ef50d6a1b
Core/Vehicles: Named new vehicle seat flag B - passenger mirrors anims
...
Closes #23982
2021-03-27 12:36:55 +01:00
Matan Shukry
cfb32584b0
Core/Auras: Prevent recursive infinite loops with spell mod auras affecting each other ( #26165 )
2021-03-27 02:16:52 +01:00
Shauren
3f47939969
Core/Auras: Corrected logic used to determine if a spellmod should affect another spell, empty family name or class mask should not apply to any spell
2021-03-27 00:25:50 +01:00
Robingad
f8255b1541
Core/Script: Implement CalcCritChance hooks for spell and aura scripts ( #26116 )
...
(cherry picked from commit AshamaneProject/AshamaneCore@4e0a3f4343 )
2021-03-25 21:28:22 +01:00
Shauren
834cd15540
Core/PacketIO: Fixed building SMSG_UPDATE_OBJECT for array fields sharing the same initial bit index after ClearChanged was called on one of them
2021-03-25 20:17:35 +01:00
Shauren
07a47947e2
Core/Spells: Defined and implemented new spell interrupt flags
2021-03-24 23:36:53 +01:00
Matan Shukry
abaeb12ba3
Scripts/Spells: Implemented druid eclipse system ( #26090 )
2021-03-24 00:50:28 +01:00
Matan Shukry
2420f4e7a1
Core/Scripts: Implemented new aura script hook OnEnterLeaveCombat
2021-03-23 00:46:47 +01:00
Shauren
88f4d30445
Core/Units: Corrected values of UnitData::Resistances (should be total value)
2021-03-21 22:19:43 +01:00
Matan Shukry
b574be08ae
Core/Auras: Implemented aura to increase armor by percentage of primary stat
2021-03-21 22:19:43 +01:00
Shauren
d889b4b0e8
Core/Players: Added Player::GetPrimaryStat retrieving intended primary stat for current specialization
2021-03-21 20:00:22 +01:00
Shauren
ff203b3be2
Core/Auras: Defined one more aura type SPELL_AURA_ALLOW_INTERRUPT_SPELL (484)
2021-03-21 17:51:55 +01:00
Shauren
29169181cd
Core/Spells: Defined more spell attributes
2021-03-21 17:51:23 +01:00
Shauren
9b5a46ca2b
Core/Auras: Defined and implemented many new interrupt flags
2021-03-21 12:05:32 +01:00
Shauren
6db27c58b9
Core/Spells: Updated spell shapeshift form flags enum
2021-03-19 23:48:33 +01:00
Shauren
69e0b9a985
Core/Auras: Update AuraState enum and implement missing new ones
2021-03-16 20:48:42 +01:00
Shauren
566f9f368d
Scripts/Icecrown Citadel: Corrected spell ids used by Professor Putricide
2021-03-16 18:36:40 +01:00
Shauren
c7d1cf7457
Core/Spells: Fixed startup crash and log any future attempts to apply data corrections to nonexisting spell effects
2021-03-16 00:07:34 +01:00
Matan Shukry
0c73895826
Scripts/Spells: corrections to Death Knight spell Blood Mastery ( #26082 )
2021-03-15 22:53:30 +01:00
Shauren
6585666e6e
Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
2021-03-15 21:03:06 +01:00
jackpoz
8313053a3b
Shared/Metric: Fix crash on shutdown
...
Fix crash on shutdown with metrics enabled but InfluxDB stopping before worldserver
(cherry picked from commit 45b2bcfaf2 )
2021-03-15 20:17:31 +01:00
ForesterDev
7bd3914663
Scripts/Commands: modify command .dismount to target any selected player ( #19788 )
...
- change security lvl for command .dismount to 2 (gamemasters). For players there is /dismount command
Closes #19788
(cherry picked from commit 661dfee80e )
2021-03-15 20:17:31 +01:00
ariel-
f199eac72c
Core/GameObject: refactor dismounting on use
...
(cherry picked from commit 98236dfa88 )
2021-03-15 20:17:31 +01:00
jackpoz
2364aa59d8
Core/Spells: Fixed Naxx Anub Scarab Summoning Spell
...
Reduce spell radius of 28864 and 29105 from 100 yards to 10 yards to spawn scarabs closer
(cherry picked from commit 72e97d330b )
2021-03-15 20:17:31 +01:00
ariel-
f20a904b74
Core/Spells: allow auras to proc from partial blocks
...
Closes #21065
(cherry picked from commit 3722a96f4f )
2021-03-15 20:17:31 +01:00
ariel-
0486ff8350
Core/GameObject: implement dismount on use of certain GOs
...
- The fact of player dismounting was entirely client-sided, with no server code enforcing it.
Closes #19979
(cherry picked from commit 2ce3f3a7b8 )
2021-03-15 20:17:31 +01:00
Gustavo
044110d423
Core/Entities: add extra use of UPDATETYPE_CREATE_OBJECT2 ( #20955 )
...
(cherry picked from commit 51c4196acf )
2021-03-15 20:17:31 +01:00
ariel-
f60b0ead83
Core/Scripts: more nopch
...
(cherry picked from commit deebac9639 )
2021-03-15 20:17:31 +01:00
ariel-
1891edb455
Core/Scripts: nopch fix
...
(cherry picked from commit 7fb70e74f2 )
2021-03-15 20:17:31 +01:00
ariel-
33fbd7c773
Core/Scripts: fix drink auras
...
(cherry picked from commit 5fc4d36a1f )
2021-03-15 20:17:31 +01:00
ariel-
794a3e4388
Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
...
- Made SpellInfo::GetMaxTicks and AuraEffect::GetTotalTicks return the same number without mods (dumped arbitrary default return value of 6 and arbitrary 30 sec limit)
- They should be streamlined whenever SPELL_AURA_48 is implemented
(cherry picked from commit 7dff0e3246 )
2021-03-15 20:17:31 +01:00
ariel-
8eb3e6c243
Core/Scripts: more travis
...
(cherry picked from commit 2d07d4f7b3 )
2021-03-15 20:17:31 +01:00
ariel-
6042126916
Core/Scripts: travis fixes
...
(cherry picked from commit ea0224e3bd )
2021-03-15 20:17:31 +01:00
ariel-
44c8ccadd7
Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts
...
(cherry picked from commit a36e804ae4 )
2021-03-15 20:17:31 +01:00
ariel-
d9b145615d
Core/Auras: periodics refactor part 4: ported periodic dummy auras to scripts
...
(cherry picked from commit 193bd3b452 )
2021-03-15 20:17:31 +01:00
ariel-
97e869e8b3
Core/Auras: periodics refactor part 3: move more switch hacks to scripts
...
- Incidentally fixed some spells which were supposed to be removed by proc instead of healing to full
(cherry picked from commit 16e20711d2 )
2021-03-15 20:17:31 +01:00
ariel-
fd786c03a3
Core/Auras: periodics refactor part 2: Move UpdatePeriodic to AuraScripts
...
(cherry picked from commit 0510bf7afe )
2021-03-15 20:17:31 +01:00
ariel-
5f9e0d92d5
Core/Auras: periodics refactor part 1:
...
- Don't skip ticks if diff is greater than amplitude
- Fixed spells without ampltude in DBC
(cherry picked from commit 5d91beb1db )
2021-03-15 20:17:31 +01:00
Golrag
fe362cf2c9
Core/Entities: Some changes to LoS z checking & MotionMaster::MoveJumpTo (PR #20970 )
...
- Use Midsection height for LoS checking.
- Changed MotionMaster::MoveJumpTo to use correct z. This change also makes sure the _owner will jump towards the given angle. Instead of jumping to a unintended angle if the first one is not in LoS.
(cherry picked from commit 95456ab5d8 )
2021-03-15 20:17:31 +01:00
Shauren
16135b5096
Core/Spells: Changed channel triggered spells to inherit positive/negative status from main spells
...
Closes #18259
Closes #21041
(cherry picked from commit 6122006b0c )
2021-03-15 20:17:31 +01:00
ariel-
88ae43fa51
Core/Misc: minor typo and codestyle fixes
...
- Replace NULL uses in new code with nullptr
- Fix wrong (accumulated) load time log when loading calendar invites
- Make Creature::CanRegenerateHealth const as its just a getter
- Mark OnlyOnceAreaTriggerScript::OnTrigger as final in case someone wants to override that (you are supposed to use protected _OnTrigger hook)
(cherry picked from commit 78a1c687a2 )
2021-03-15 20:17:31 +01:00
Meji
72f99531b7
Core/Players: Update the location of the cinematic camera only if there is an active cinematic ( #26215 )
2021-03-15 00:06:26 +01:00
Shauren
41c342113f
Fix build
2021-03-14 15:41:02 +01:00
Jeremy
2d84912ce9
Core/GameObjects: Add GameObjectPlaySpellVisual ( #26044 )
2021-03-14 15:40:42 +01:00
Shauren
08e017b351
Core/AdventureMap: Handle CMSG_ADVENTURE_MAP_START_QUEST
2021-03-14 14:46:07 +01:00
Shauren
da77b300f4
Core/Spells: Small refactor to ServersideSpellName to make private parts actually private
2021-03-14 14:45:01 +01:00
Shauren
56438d0cdd
Core/Players: Remove error log from Player::GetQuestObjectiveData as that function is now used with quest objectives retrieved by their id, not from quest
2021-03-14 14:44:16 +01:00