Commit Graph

5612 Commits

Author SHA1 Message Date
Shauren
d29dd1eeb5 Core/Misc: Change all unix time columns in character database to bigint (signed) 2021-04-05 23:47:05 +02:00
Shauren
33b3ebcae6 Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions 2021-03-28 20:22:05 +02:00
Matan Shukry
abaeb12ba3 Scripts/Spells: Implemented druid eclipse system (#26090) 2021-03-24 00:50:28 +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
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
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-
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
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
Shauren
b94851b824 Scripts/Spells: Fixed Fingers of Frost proc passive
Closes #19589
2021-03-13 01:02:48 +01:00
Shauren
efdca47aff Core/Auras: Remove m_effIndex member of AuraEffect and always take it from SpellEffectInfo 2021-03-11 10:32:03 +01:00
Shauren
c1a5672944 Scripts/Spells: Minor travel form corrections
* Added missing visuals when changing forms
* Prevent entering flight forms when in combat
2021-03-08 23:58:40 +01:00
Matan Shukry
183f719f4e Scripts/Spells: Added druid's guardian spell scripts (#26111)
* Incapacitating Roar
* Stampeding Roar
* Thrash
* Berserk
* Brambles
* Bristling Fur
* Tiger Dash
* Galactic Guardian
* Earthwarden
* Guardian Of The Elune
* Tooth and Claw
2021-03-08 23:01:31 +01:00
Matan Shukry
c0f3452286 Scripts/Spells Refactored dh & dh spells to use the new macros (#26200) 2021-03-05 22:23:56 +01:00
Matan Shukry
898f97781c Scripts/Spells: Improve druid travel form script 2021-03-05 00:28:07 +01:00
Matan Shukry
1086007f98 Scripts/Spells: Fixed various paladin spell scripts and removed outdated ones 2021-03-04 22:46:44 +01:00
Shauren
6879440acb Core/Commands: Fixed .bnetaccount gameaccountcreate command generating too long passwords 2021-03-03 17:43:04 +01:00
Shauren
624881bef5 Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id 2021-03-02 21:32:48 +01:00
Matan Shukry
e972f84e7b Scripts/Spells: Removed unused warrior spell scripts (#26160) 2021-02-27 20:40:38 +01:00
Matan Shukry
8665323876 Scripts/Spells: Removed unused dk spell scripts (#26154) 2021-02-27 20:23:37 +01:00
Matan Shukry
1fa33b1dc8 Scripts/Spells: Removed unused warlock spell scripts (#26159) 2021-02-27 13:56:41 +01:00
Matan Shukry
18a82d9801 Scripts/Spells: Removed unused shaman spell scripts (#26158) 2021-02-27 13:51:37 +01:00
Matan Shukry
6b9ff7442e Scripts/Spells: Removed unused rogue spell scriptss (#26157) 2021-02-27 13:50:05 +01:00
Matan Shukry
a681309d58 Scripts/Spells: Removed unused hunter spell scripts (#26155) 2021-02-27 13:28:42 +01:00
Matan Shukry
b8f76334fe Scripts/Spells: Removed unused priest spell scripts (#26153) 2021-02-27 12:55:39 +01:00
ccrs
82b7f47d53 Core/AI: reorder methods in ScriptedEscortAI
plus ninja rename

(cherry picked from commit 0db5516a1a)
2021-02-25 18:50:55 +01:00
jackpoz
a01d397c3d Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools

(cherry picked from commit 24e82fe83d)
2021-02-25 18:50:55 +01:00
Ovah
2a51edc5bc Core/Creatures: Implemented extra flag to use offhand attacks (#21008)
* Fixed initial offhand attack timer so the main and offhand attacks will now act blizzlike instead of getting executed at the same time

Note: since some creature equipment items cannot be identified as weapon since they are only visual items there is no way to detect this automaticly
(cherry picked from commit 869affa893)
2021-02-25 18:50:55 +01:00
Keader
2630a5288a Core/Scripts: Fixed Enervating Brand in Baltharus encounter
Closes #21027
By Mihapro

(cherry picked from commit 6598c5d2f3)
2021-02-25 18:50:55 +01:00
Killyana
29aae591bc DB/Creature: Scourging Crystal
And fix spell script spell_q11396_11399_scourging_crystal_controller
Closes #17596

(cherry picked from commit 00e3023b32)
2021-02-25 18:50:55 +01:00
Matan Shukry
37db083589 Scripts/Spells: Changed palading spell scripts to use RegisterSpellScript and RegisterAuraScript (#26149) 2021-02-24 22:30:22 +01:00
Matan Shukry
ed2a0b610a Scripts/Spells: Remove old paladin spell scripts (#26148) 2021-02-24 22:13:52 +01:00
Matan Shukry
2b672d807f Scripts/Spells: Fix Ferocious Bite damage increase from extra energy (#26093) 2021-02-23 20:05:39 +01:00
Matan Shukry
4302f2ba95 Scripts/Spells: Implemented druid's Skull Bash (#26103) 2021-02-22 22:10:49 +01:00
Matan Shukry
19b733fefc Scripts/Spells: Fix Prayer of Mending (#26020) 2021-02-21 21:12:08 +01:00
Shauren
a680e247ec Scripts/Spells: Convert Mage Fingers of Frost stack dropping script to use new proc attribute 2021-02-18 23:29:04 +01:00
Matan Shukry
3954606086 Scripts/Spells: Implemented Guardian Druid's Gore spell (#26104) 2021-02-17 22:25:10 +01:00
Matan Shukry
907fc00f19 Scripts/Spells: Casting druid spell Prowl will now auto shapeshift into cat form (#26088) 2021-02-15 23:04:04 +01:00