Commit Graph

30447 Commits

Author SHA1 Message Date
Aokromes
74cb8608c3 compile fix 2016-07-20 14:16:33 +02:00
Shauren
5942d4da0a Core/Scripts: build fix 2016-07-20 14:15:04 +02:00
Aokromes
d3083df169 Core/Guilds: Fix Guild::HandleSetMemberNote logic according to method declaration. (#17078)
This change has no effect on server behavior.
2016-07-20 14:02:11 +02:00
Shauren
e58f0e805c Core/Units: Renamed and documented UNIT_FLAG_DISABLE_MOVE to prevent people from trying to use this flag to root a creature leaving them wondering why it doesn't do anything 2016-07-20 13:56:16 +02:00
Trond B Krokli
d716e6049a [3.3.5] Core/Spell: restore old pet values after dismount (#16551)
* Core/Spell: restore old pet values after dismount & re-summon
Original PR #15667 by ghost

Closes #873
2016-07-20 13:54:49 +02:00
Shauren
85e2bf54eb Core/Loot: Fixed resaving looted items from containers
Closes #15299
2016-07-20 13:51:07 +02:00
Shauren
1aed8daf9a Core/Spells: Implemented SPELL_ATTR1_DISMISS_PET
Closes #7372
2016-07-20 13:50:29 +02:00
Aokromes
006d89310b Core: updated creature type flags enum (#17128)
Core/Misc: Update CreatureTypeFlags enum according to TrinityCoreWiki
2016-07-20 13:47:25 +02:00
sirikfoll
712baeba27 Core/Unit Do not allow addition of threat to units in evade mode 2016-07-20 13:29:22 +02:00
treeston
1bd85c1a9b Conditions/ConditionMgr: Add a comment so MitchesD can go away. 2016-07-20 13:29:05 +02:00
Shauren
f11a9a31c2 Core/Containers: Warning fixes and RandomResizeList with predicate optimization 2016-07-20 13:28:41 +02:00
Aokromes
0c6b29d466 Update CMakeLists.txt 2016-07-20 13:28:09 +02:00
Alan Deutscher
fabc7f02dd Core/Spells Make certain spells (e.g. Mind Control) properly flag the caster for PvP (#17145)
* This issue was caused by PvP-flagging being done calculated after the target's flag was turned off by becoming a pet.
2016-07-20 13:22:13 +02:00
Shauren
0233ced55e Core/Auras: Implemented auras SPELL_AURA_PREVENT_DURABILITY_LOSS and SPELL_AURA_PREVENT_DURABILITY_LOSS_FROM_COMBAT
(cherry picked from commit 17118f4832)
2016-07-20 13:21:47 +02:00
Aokromes
218fe7ba24 Core/Spells: Perform proc roll after all conditions passed to only consume spellmods when the aura is allowed to proc in the first place 2016-07-20 13:16:27 +02:00
Shauren
5c6802d509 Core/Spells: Fixed flat SPELLMOD_DAMAGE_MULTIPLIER calculation
(cherry picked from commit 35ab476f16)
2016-07-20 13:04:59 +02:00
Aokromes
7fcaf84c49 Core/Spells: Fixed spell mod application order 2016-07-20 13:03:43 +02:00
ForesterDev
43e1534a7b improve error message 2016-07-20 12:57:45 +02:00
joschiwald
65184de143 Makes travis happy 2016-07-20 12:55:52 +02:00
joschiwald
1e092ee8e2 Scripts/Freya: removed obsolete code 2016-07-20 12:53:39 +02:00
Aokromes
11636faadf Core: define CREATURE_FAMILY_NONE to avoid magic numbers in code 2016-07-20 12:49:38 +02:00
vincent-michael
dadd81afe0 Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
2016-07-20 11:01:10 +02:00
mik1893
13c5e4be65 Core/Spells: Fix Blood Tap activation when Blood Rune is in cooldown as Death Rune (#17132) 2016-07-20 11:00:56 +02:00
mik1893
4f6c7158a1 Core/Unit: Pet shouldn't be notified for DOT damage on the owner (#17133)
- Fix by @MrSmite
- Closes #16894
2016-07-20 11:00:40 +02:00
Vincent-Michael
d9f17a6c22 Build/GCC: Enforce version 4.7.2
(cherry picked from commit ede8f0ca0a)
2016-07-20 11:00:26 +02:00
Vincent-Michael
3afec9dc88 Build: Added 1.61 Boost version to FindBoost
(cherry picked from commit e43b871137)
2016-07-20 11:00:13 +02:00
r00ty-tc
d219b18c68 Core/Cinematic: Optimize cinematic loading
- Remove pointless cast string->char*->string
2016-07-20 10:59:53 +02:00
Aokromes
0db05c610c Coverity: Correct two static analysis catches
#1355242 - Uninitialized scalar field
 #1355240 Resource leak in object
2016-07-20 10:59:10 +02:00
treeston
330167da7a Seriously, who doesn't support std::string instead of char* in 2016? 2016-07-20 10:49:52 +02:00
treeston
7279304c7c Add a LOG_WARN when attempting to summon a non-existing summon group. 2016-07-20 10:49:36 +02:00
treeston
ee10877d52 Allow BossAI::_DespawnAtEvade to work on creatures other than the boss itself (optional argument). 2016-07-20 10:48:44 +02:00
treeston
ef80fbd6c0 Core/Scripts: Added reasonable default params to GetCreatureListWithEntryInGrid/GetGameObjectListWithEntryInGrid for ease of use. Also, entry = 0 means no filter now, since we lacked an easy way to get a list of all creatures in grid. 2016-07-20 10:48:23 +02:00
treeston
334a705860 This discussion is more effort than it takes to change it. 2016-07-20 10:47:32 +02:00
treeston
221201dd3f Core/AI: Add DoCastSelf helper.
(I have no idea why I never bothered to do this before, really. It had crossed my mind a few times.)
2016-07-20 10:47:14 +02:00
treeston
35596cee5c Too many damn stars in that damn argument list. 2016-07-20 10:46:50 +02:00
Aokromes
d3dae41ded Core/Movement: Fix issues where creatures cancel spell casts chasing target and Implement SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING 2016-07-20 10:46:07 +02:00
treeston
dbd1d58f9d Creature/CreatureAI:
- Default range for DoZoneInCombat: 50.0f -> 250.0f.
- Add optional second arg to SummonList::DoZoneInCombat to specify range.
- Also a bunch of random NULL -> nullptr cleanup.
2016-07-20 10:39:10 +02:00
Aokromes
d69137b6c7 Fix sql 2016-07-20 10:38:13 +02:00
Shauren
0bf6e30f44 Build fix 2016-07-20 10:30:36 +02:00
Aokromes
f5ff21418b Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-07-20 10:28:44 +02:00
Shauren
a4498c7cab Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-07-20 10:25:03 +02:00
Aokromes
817eb007db Compile fix 2016-07-19 19:01:13 +02:00
Aokromes
78c2b11747 Core/Movement: Implement 3 missing opcodes
From wowsource.
2016-07-19 18:51:50 +02:00
Aokromes
551990fb4c Compile fix, partialy revert a3ca833d0d need help to port
dc3327f9c5
2016-07-19 18:09:05 +02:00
Aokromes
41b26981bb Core/Spells: Fix wrong totem placement 2016-07-19 17:50:53 +02:00
Aokromes
cd9acb7d05 Core/Spells: Fixed overwriting summon requests 2016-07-19 17:15:06 +02:00
Aokromes
a3ca833d0d Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
2016-07-19 17:01:15 +02:00
Aokromes
6e68a60e6d Core/Unit: Do not remove auras from Pets and Guardians after evading 2016-07-19 16:21:41 +02:00
Aokromes
28a7ce2007 Core/Spell: Magic Absorption Calculation 2016-07-19 16:16:53 +02:00
Aokromes
0c5007efe9 Core/Misc: Fix issues reported by static analysis 2016-07-19 16:11:21 +02:00