Commit Graph

4821 Commits

Author SHA1 Message Date
ariel-
4e08ab8f69 Core/Auras: calculate periodic bonuses before specific mods, fixes Imp. Devouring Plague damage
(cherry picked from commit bd49d37258)
2018-03-12 10:32:06 +01:00
Chaouki Dhib
91a70f9aa2 Core/Movement: minor MotionMaster refactor (#18367)
(cherry picked from commit eca3645d8b)
2018-03-12 10:32:04 +01:00
ariel-
8491172cd4 Core/Spells: proc spells after damage apply, not before. Fixes #13025
(cherry picked from commit 0229cb865e)
2018-03-11 17:08:50 +01:00
ccrs
1c46e7ca84 Core/Pets: Pet Attack Distance
(cherry picked from commit 2d1ef6b5b0)

typo fix
by ccrs
(cherry picked from commit b049caf62f)
2018-03-11 16:42:38 +01:00
Roc13x
a9f75558dc Core/Items: PvP item levels basic implementation (#20160) 2018-03-05 22:50:57 +01:00
DoctorKraft
58930d273f Core/Players: Fixed mounts using MOUNT_FLAG_SELF_MOUNT flag (#21558) 2018-03-05 19:20:42 +01:00
Jeremy
f411b7a90e Core/Player: Implement PvP Talents (#19962)
* SPELL_AURA_119 -> SPELL_AURA_PVP_TALENTS
* Learn Honorable Medallion when pvp rules are enabled
2018-03-04 22:32:08 +01:00
Mihapro
16a7a414ab Core/Creatures: Updated power type handling (#20981)
Closes #17476
Closes #12487
2018-03-04 12:48:22 +01:00
Traesh
f24bbdc5f1 Core/Player: Fixed HasItemFitToSpellRequirements for SPELL_ATTR8_ARMOR_SPECIALIZATION (#21535) 2018-03-04 12:10:16 +01:00
Shauren
75603fe1a0 Core/DataStores: Updated db2 structures to 7.3.5.25996 2018-02-18 16:33:50 +01:00
Shauren
4af15915bc Core/PacketIO: Updated opcodes and packet structures to 7.3.5 2018-02-18 16:33:49 +01:00
Shauren
c9465979c6 Core/Entities: Update updatefields to 7.3.5.25928 2018-02-18 16:33:27 +01:00
Shauren
27cdd4b257 Core/Spells: Fixed logic related to movement while channeling
Closes #18289

(cherry picked from commit 90a5811701)
2018-02-11 15:06:24 +01:00
Shauren
91aa8e1193 Build fix
(cherry picked from commit 713bf944ae)
2018-02-05 23:43:29 +01:00
Shauren
8ed52e9dc3 Core/Scripts: Fixed ENSURE_AI assertion failures when used in Reset()/InitializeAI() hooks with hotswap
Updates #20727

(cherry picked from commit 2fd9dc2edb)
2018-02-05 23:41:39 +01:00
Shauren
b3f9d5e5af Core/Gossip: Revert renaming/changing types part of 853df91048
Closes #21186
2018-02-01 12:09:58 +01:00
joschiwald
dc43a08d36 Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizer 2018-01-28 23:34:14 +01:00
funjoker
c4bf996c7d Core/Spells: Allow skipping automatic removal of auras from spell_area when condition is no longer met (mostly used for cosmetic cutscenes after quest completion) (#21317) 2018-01-28 19:33:33 +01:00
joschiwald
6226189a16 Core/Entities: Created factory methods to create new areatriggers, creatures and gameobjects 2018-01-27 23:02:46 +01:00
Shauren
f963b8a225 Core/Spells: Removed outdated mechanic (spell downranking coef penalty) 2018-01-27 12:21:35 +01:00
ariel-
1248a6b1e0 Core/Player: fix regression with EquippedItemClass requiring spells
(cherry picked from commit 858d45885b)
2018-01-21 22:27:53 +01:00
ariel-
ad8d47b137 Core/Guild: avoid data integrity problems wrapping delete+insert statements in a transaction
(cherry picked from commit 25281ecb31)
2018-01-21 22:01:15 +01:00
ariel-
d9f74278f7 Core/Unit: do not allow judgement spells to bypass damage immunity
3f19eea5e4 follow-up. Without the #16658 regression

(cherry picked from commit c5d1b46569)
2018-01-21 15:15:35 +01:00
ariel-
97980f4e0a Core/Player: recheck shapeshift bonus auras when switching spec.
- Fixes Leader of the Pack stuck when switching specs while shapeshifted

(cherry picked from commit 16c14593dc)
2018-01-21 15:15:35 +01:00
ariel-
2c022a5aa8 Core/Entities: fix interaction of traps with ffa pvp and sanctuary flags
- Traps should select ATTACKABLE not UNFRIENDLY targets (it shouldn't attack unfriendly targets on sanctuary zones for example)
- Made more readable the nasty oneliner in Unit::_IsValidAttackTarget

Closes #6464
Closes #18271

(cherry picked from commit ef227d7e64)
2018-01-21 14:51:49 +01:00
zranger1
79528cd39f Core/Items: Fixed crash with auction house bot seller (#21271) 2018-01-20 16:01:12 +01:00
Seyden
9c857a1b91 Core/PacketIO: Fixed SMSG_SPELL_NON_MELEE_DAMAGE_LOG struct 2018-01-14 21:49:42 +01:00
joschiwald
ed318fdc46 Core/Battleground: Dropped battleground texts from trinity_string and replaced them with proper BroadcastText 2018-01-14 18:48:01 +01:00
ariel-
ff62f22443 Core/Entities: better support of absorb, resist and block procs
2e457b3be4 followup

Closes #18275

(cherry picked from commit 5db308b686)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
2018-01-13 16:49:06 +01:00
ariel-
8cb118009e Core/Spell: restore old proc system behaviour on auras self proc.
- Use Spell::m_triggeredByAuraSpell and compare against trigger aura, it requires scripts to set triggeredByAura parameter.
- Fixed existing scripts lacking it

DB/Spell: Anger Capacitor (Tiny Abomination in a Jar) proc

Closes #18269

(cherry picked from commit 5b56c94e6d)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Spell.cpp
#	src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
#	src/server/scripts/Pet/pet_hunter.cpp
#	src/server/scripts/Spells/spell_dk.cpp
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_hunter.cpp
#	src/server/scripts/Spells/spell_item.cpp
#	src/server/scripts/Spells/spell_mage.cpp
#	src/server/scripts/Spells/spell_paladin.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
#	src/server/scripts/Spells/spell_warrior.cpp
2018-01-13 16:38:07 +01:00
ariel-
90dbf26e12 Core/Spell: spells with ignore hit result should pierce damage immunities
(cherry picked from commit 3f19eea5e4)
2018-01-13 15:47:57 +01:00
ariel-
6d246e4a0a Core/Gameobject: fixed sometimes not found linked trap
Closes #18256

(cherry picked from commit 400a69bf9e)

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
2018-01-13 15:46:05 +01:00
ariel-
acdc2d6d63 Core/Unit: partial cherry picked from commit b6a8045adc 2018-01-13 15:38:38 +01:00
Shauren
bb718b5578 Core/Entities: Remove phasemask 2018-01-10 22:01:40 +01:00
Traesh
5b90538919 Core/Entities: Improved UpdateAreaAndZonePhase() to allow easier building of database phase conditions (#21214)
Closes #18190
Closes #21196
2018-01-10 17:57:12 +01:00
tkrokli
d15afd2ffd Update copyright note for 2018 follow-up
Header file missed in commit c5d3dd90be
- copyright notice was added to PlayerTaxi.cpp in that commit
2018-01-09 20:46:23 +01:00
Shauren
a16d3209fd Core/Items: Try to automatically equip new bags
Closes #17544
2018-01-08 00:45:24 +01:00
joschiwald
5e3e4182c8 Core/Entities: Extended SpawnMask to 64 bit 2018-01-06 19:56:11 +01:00
joschiwald
0d1e251e32 Core/Creature: Added TitleAlt to creature_template 2018-01-05 16:46:51 +01:00
DoctorKraft
2ee6ce6849 Core/Packets: Implemented SMSG_GAME_OBJECT_UI_ACTION (#20919) 2018-01-04 01:15:33 +01:00
joschiwald
78ba1d76dd Core/Spells: Removed obsolete spell fixes 2018-01-03 18:10:47 +01:00
Mihapro
8199eef81c Core/Misc: Added helper function Unit::SetFullPower
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines

Ref #20981
2018-01-03 16:39:32 +01:00
Shauren
ea6de0b565 Core/BattlePets: Misc fixes
* Fixed caged pet item chat message
* BattlePetMgr optimizations: removed copying data all over the place
* Fixed gaining two pets when learned from item for the first time
* Fixed dismiss button
2018-01-02 14:04:09 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
66621a85e9 Core/Quests: Implemented player choice rewards 2017-12-31 23:22:55 +01:00
Traesh
89c91c271b Core/Quests: Implemented player choices
* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
2017-12-31 23:22:55 +01:00
ariel-
5bcf14cdb8 Core/Unit: damage immune improvements (9f5df023b7 follow up)
- Handling checked in sniffs: Spell 63710 Void Barrier vs 49143 Frost Strike
  * Send spell miss immune only if spell consists of damage effects
- Checked with 348 Immolate:
  * No packets sent if damage immune, aura is applied normally

Also... who the fuck uses 0 to compare against pointers

(cherry picked from commit ca1c4525c7)

Core/Unit: fix build

Ctrl-S failure
(cherry picked from commit f3bdd705c0)
2017-12-30 22:56:48 +01:00
ariel-
0c81d70394 Core/GameObject: use a friendly trigger for positive spells.
Fixes an issue with Skadi Harpoons.

Note to self: should actually implement GameObject casting already :/

(cherry picked from commit 3f1d020a2c)
2017-12-30 21:32:08 +01:00
joschiwald
a6594c3831 Core/Spells: Fixed SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT
Closes #20504
Closes #21061

(cherry picked from commit 790a253893)
2017-12-30 16:42:50 +01:00
Shauren
7264ce09b1 Core/Misc: Updated gameobject template fields and GameError enum 2017-12-30 00:26:38 +01:00