Commit Graph

11686 Commits

Author SHA1 Message Date
joschiwald
3039f4bf86 Fixed nopch build again 2018-01-14 20:44:06 +01:00
joschiwald
6eff69818b Fixed nopch build 2018-01-14 20:39:12 +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-
843a190052 Core/Spell: register items received through SPELL_EFFECT_SUMMON_CHANGE_ITEM for quest credit
- Also sends proper SMSG_ITEM_PUSH_RESULT packet

Closes #3505

(cherry picked from commit 503259e6fe)
2018-01-13 15:51:11 +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
joschiwald
61ce48e782 Core/Battleground: Simplified Battleground::SendPacketToTeam 2018-01-12 19:27:15 +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
Shauren
b3baa7f4bc Build fix 2018-01-09 22:43:37 +01:00
Shauren
208ae9e69f Core/DataStores: Added somewhat generic db2 hotfix generator 2018-01-09 21:37:26 +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
Treeston
24211b7648 RBAC.h sync from f45c211 2018-01-09 18:15:30 +01:00
Shauren
e72e132a44 Core/Maps: Treat scenario maps as instanceable
Closes #18476
2018-01-09 00:02:10 +01:00
Shauren
a16d3209fd Core/Items: Try to automatically equip new bags
Closes #17544
2018-01-08 00:45:24 +01:00
joschiwald
f0666ad35b Fixed warning 2018-01-06 22:55:29 +01:00
joschiwald
5e3e4182c8 Core/Entities: Extended SpawnMask to 64 bit 2018-01-06 19:56:11 +01:00
Golrag
769db08a67 Core/PacketIO: Enabled SMSG_CANCEL_SCENE 2018-01-06 19:45:16 +01:00
Shauren
dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +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
Shauren
50af6fd0f8 Core/PacketIO: Fixed SMSG_TRANSFER_PENDING structure 2018-01-03 23:11:51 +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
d9639e8d1f Nopch fix 2 2018-01-02 15:03:12 +01:00
Shauren
379eadcff6 Nopch fix 2018-01-02 14:08:35 +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
Shauren
5dd686c080 Core/Locales: Optimize locale loading - move the strings 2017-12-31 16:01:06 +01:00
joschiwald
dc29473120 Core/RBAC: Fixed permissions conflict with 3.3.5 branch 2017-12-30 23:15:15 +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
ariel-
6d7abb8181 Core/Spell: do not fail triggered Charge effects in case a root is present.
Fixes Master's call when pet is rooted

(cherry picked from commit 5daabe303e)
2017-12-30 20:47:04 +01:00
joschiwald
f00f3c414e Core/Spells: Removed obsolete code 2017-12-30 20:44:26 +01:00
ariel-
169243852d Core/Globals: Load spellspecific and aurastate after loading spell ranks
Was breaking functionality (eg: stacking scroll auras)

(cherry picked from commit b99ca19eea)
2017-12-30 20:34:55 +01:00
Shauren
7fd83b8c0f Nopch build fix 2017-12-30 18:01:36 +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
Rochet2
ff28ff500d Core/Pools: fix pool memory usage (#21138)
Change vector to unordered map to save memory and startup time
2017-12-30 16:15:41 +01:00
Shauren
7264ce09b1 Core/Misc: Updated gameobject template fields and GameError enum 2017-12-30 00:26:38 +01:00
Shauren
7bb62cd23d Core/DataStores: Updated db2 structures to 7.3.2.25480 2017-12-30 00:26:37 +01:00
Shauren
20a3c9eed2 Core/PacketIO: Update opcodes to 7.3.2 2017-12-30 00:23:43 +01:00
Shauren
90834606a2 Core/Entities: Update updatefields to 7.3.2.25383 2017-12-29 12:57:56 +01:00
Shauren
965f4de083 Core/Units: Encapsulate UNIT_CHANNEL_* fields 2017-12-29 12:57:55 +01:00
Shauren
b49fa9658a Tools/Patcher: Properly sign certificate bundle 2017-12-29 12:50:12 +01:00
Mihapro
02022d3cd6 Core/Player: Automatically learn riding spells for certain race/class combinations
* Paladins, Warlocks, Druids and Worgens automatically learn Apprentice Riding at level 20
* Death Knights start with Journeyman Riding
* Demon Hunters start with Artisian Riding + Flight Master's License
2017-12-28 23:34:33 +01:00