Commit Graph

5306 Commits

Author SHA1 Message Date
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
Shauren
39652f9445 Core/Conversations: Fill more updatefields with correct data 2021-03-08 20:30:32 +01:00
Shauren
d80593061f Core/PacketIO: Fix structure for SelectedAzeriteEssences and name unknown conversation fields 2021-03-08 00:11:29 +01:00
Traesh
56e9560661 Core/Spells Handle auras 328 & 396 (SPELL_AURA_TRIGGER_SPELL_ON_POWER_*) 2021-03-05 23:25:51 +01:00
Robingad
1d7590072c Core/Spells: Take SPELLMOD_CRIT_DAMAGE_BONUS into account also for healing spells (#26151) 2021-03-05 22:08:32 +01:00
Matan Shukry
931a3871f8 Core/Movement: Don't rely on client for water state detection 2021-03-05 00:28:07 +01:00
Shauren
36496c7172 Core/PacketIO: Fix suppressing building SMSG_UPDATE_OBJECT packets 2021-03-04 20:47:54 +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
Shauren
49532eda5f Core/Spells: Refactor getting spell mod values to separate function 2021-03-02 21:12:08 +01:00
Robingad
995fb23bc1 Core/Scripts: Add SpellInfo argument to ScriptMgr::ModifySpellDamageTaken (#26141) 2021-02-28 18:42:36 +01:00
Shauren
3e3b93b509 Core/Scenes: Add support for encrypted scenes 2021-02-27 21:49:35 +01:00
Ovah
ee2ebfe87d Core/Auras: implemented SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH (#26176) 2021-02-27 20:55:59 +01:00
Shauren
ec9f5be6a6 Core/Phasing: Implemented setting personal guid on PhaseShift 2021-02-27 01:44:44 +01:00
Shauren
c9344c145a Core/Auras: Implemented SPELL_AURA_PHASE_ALWAYS_VISIBLE 2021-02-26 22:10:34 +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
Treeston
03ab9bc6fa woops (ref 76a4c7d)
(cherry picked from commit b4df977ca6)
2021-02-25 18:50:55 +01:00
Treeston
2c0b94a000 Some misc streamlining/cleanup:
- std::chrono overloads for SummonCreature
- Removed misleading const qualifier from SummonCreature (it wasn't being honored)
- Rename parameters of SummonCreature to follow convention
- EventProcessor has a new method (AddEventAtOffset) that adds an event...at an offset. Genius.

PS: Hi there Keader.
(cherry picked from commit 76a4c7d974)
2021-02-25 18:50:55 +01:00
Matan Shukry
428fbcb133 Core/Players: Always clear old action bars on specialization change, even if new specialization doesn't have anything on its bars (#26134) 2021-02-23 20:08:21 +01:00
Matan Shukry
03f1d3cedf Core/Auras: Implemented SPELL_AURA_MOD_POWER_GAIN_PCT (#26132) 2021-02-23 17:36:36 +01:00
Matan Shukry
a76c08843f Core/Auras: implement mana cost modification aura (#26085) 2021-02-21 23:08:51 +01:00
Shauren
51a9d2a9c2 Core/Auras: Implemented new spell modifier type to change aura stack size on apply 2021-02-21 18:36:18 +01:00
Shauren
834d78638a Core/Players: Rename player flag PLAYER_ALLOW_ONLY_ABILITY to PLAYER_FLAGS_HIDE_ACCOUNT_ACHIEVEMENTS 2021-02-21 16:11:35 +01:00
Shauren
ac1ef5efbe Core/Auras: Implemented SPELL_AURA_DISABLE_ATTACKING_EXCEPT_ABILITIES 2021-02-21 16:10:48 +01:00
Shauren
1b8ef46808 Core/Auras: Reimplement SPELL_AURA_DISABLE_CASTING_EXCEPT_ABILITIES to properly allow casting listed spells 2021-02-21 16:10:22 +01:00
Shauren
b811da080c Core/Auras: Implemented SPELL_AURA_MOD_COMBAT_RATING_FROM_COMBAT_RATING 2021-02-21 16:07:01 +01:00
Shauren
84cb6718ee Core/Auras: Implemented SPELL_AURA_MOD_CRIT_CHANCE_VERSUS_TARGET_HEALTH and SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER 2021-02-21 15:43:58 +01:00
Shauren
983e565650 Core/Auras: Restore old SPELL_AURA_MOD_HOT_PCT implementation from 3.3.5 branch 2021-02-21 15:39:14 +01:00
Shauren
c57b012ee4 Core/Auras: Implemented SPELL_AURA_SET_FFA_PVP 2021-02-21 15:37:11 +01:00
Shauren
ffbbc1d8e5 Core/Auras: Implemented SPELL_AURA_MOD_AUTOATTACK_RANGE and SPELL_AURA_MOD_AUTOATTACK_CRIT_CHANCE 2021-02-21 15:35:33 +01:00
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
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
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
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
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
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
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
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