Commit Graph

19310 Commits

Author SHA1 Message Date
Shauren
9246189b98 Core/Spells: Implemented SPELL_ATTR1_DISMISS_PET
Closes #7372
2016-05-26 16:04:16 +02:00
treeston
c0cc4f7c68 Merge remote-tracking branch 'Golrag/LoS_object_size' into 3.3.5 (PR #15807) 2016-05-26 15:59:49 +02:00
ForesterDev
fb0881398a Core: updated creature type flags enum (#17128)
Core/Misc: Update CreatureTypeFlags enum according to TrinityCoreWiki
2016-05-26 10:56:50 +02:00
sirikfoll
7d769006aa Core/Unit Do not allow addition of threat to units in evade mode 2016-05-26 00:23:29 -03:00
treeston
759aae56ad Conditions/ConditionMgr: Add a comment so MitchesD can go away. 2016-05-25 23:41:40 +02:00
Aokromes
862d068cde * DB/Graveyards: Added a comment field to describe the graveyards in graveyard_zone 2016-05-25 19:08:52 +02:00
Shauren
0fbfa8ead0 Core/Containers: Warning fixes and RandomResizeList with predicate optimization 2016-05-24 18:51:31 +02:00
Shauren
9612ac0e27 Core/Spells: Fixed Eclipse after recent proc cooldown changes
Closes #17166
2016-05-24 18:37:46 +02:00
Keader
b88d49be24 Changing remove aura method 2016-05-21 09:40:03 -03:00
Shauren
1e1fcd6847 Core/Auras: Fixed cooldowns for procs calling PreventDefaultAction() in aura proc script
* This also fixes proc cooldows unneccessarily being sent to client
* Also removes the need for cooldown hacks when the proc trigger is selected randomly like for Deathbringer's Will
2016-05-20 21:09:03 +02:00
mik1893
5b8e68ee63 Core/Spells: Proc handler script converions (#17122)
* Blazing Speed (Mage)
* Blessed Recovery (Priest)
* Druid Forms Trinket
* Idol Of Mutilation
* Nature's Guardian (Shaman)
* Nether Protection (Warlock)
* Piercing Shots and Bonus 4P T9 Hunter
* Lightning Shield (Shaman)
* Acclimation (DK)
* Move DK T10 4P Melee Bonus
* Move DK Improved Blood Presence triggered heal (DK)
* Rogue T10 2P Bonus
* Illumination (Paladin)
* Soul Preserver
* Death Choice trinket
* stack trinket scripts (ToC25 Caster Trinket, Lightning Capacitor, Thunder Capacitor)
* Battle Experience (ICC - Gunship)
* Blood Reserve (enchant proc)
* Darkmoon Card Greatness
* Charm of the Amani Witch Doctor
* Mana Drain
2016-05-20 19:27:15 +02:00
Alan Deutscher
e7a12edb83 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-05-18 11:06:24 +02:00
Shauren
6cf1446d39 Core/Auras: Implemented auras SPELL_AURA_PREVENT_DURABILITY_LOSS and SPELL_AURA_PREVENT_DURABILITY_LOSS_FROM_COMBAT
(cherry picked from commit 17118f4832)
2016-05-17 17:47:55 +02:00
Shauren
46c35ce651 Core/Misc: Warning fixes (/W4)
(cherry picked from commit c9ba5ce591)
2016-05-17 17:44:49 +02:00
Shauren
d4b648054a Core/Spells: Perform proc roll after all conditions passed to only consume spellmods when the aura is allowed to proc in the first place
(cherry picked from commit 97d2fcf6a1)
2016-05-17 17:41:48 +02:00
Shauren
dc1654b6c3 Core/Spells: Fixed flat SPELLMOD_DAMAGE_MULTIPLIER calculation
(cherry picked from commit 35ab476f16)
2016-05-17 17:37:50 +02:00
Shauren
804bfb1f10 Core/Spells: Fixed spell mod application order
Closes #10250

(cherry picked from commit 22dc8b6871)
2016-05-17 17:25:28 +02:00
ForesterDev
8eac30448f improve error message 2016-05-17 13:46:13 +04:00
joschiwald
ab2466ac01 Makes travis happy 2016-05-16 21:17:16 +02:00
joschiwald
d812505fc2 Scripts/Freya: removed obsolete code 2016-05-16 18:45:44 +02:00
ForesterDev
d5dd8e8926 fix build 2016-05-16 19:16:40 +04:00
ForesterDev
ae62ff7225 fix build 2016-05-16 18:31:02 +04:00
ForesterDev
5e831d4a27 Core: define CREATURE_FAMILY_NONE to avoid magic numbers in code 2016-05-16 16:54:25 +04:00
vincent-michael
a01fd52267 Core/Quests: Fixed issue reported by static analysis
Coverity defect ID: 1355241
2016-05-15 18:08:59 +02:00
mik1893
868dcb001c Core/Spells: Fix Blood Tap activation when Blood Rune is in cooldown as Death Rune (#17132) 2016-05-15 11:26:50 +02:00
mik1893
4de1426d08 Core/Unit: Pet shouldn't be notified for DOT damage on the owner (#17133)
- Fix by @MrSmite
- Closes #16894
2016-05-15 11:26:27 +02:00
r00ty-tc
94f7bec736 Core/Cinematic: Optimize cinematic loading
- Remove pointless cast string->char*->string
2016-05-14 18:39:34 +02:00
r00ty-tc
7a3584298a Coverity: Correct two static analysis catches
#1355242 - Uninitialized scalar field
 #1355240 Resource leak in object
2016-05-14 18:16:06 +02:00
treeston
a012b37d66 Seriously, who doesn't support std::string instead of char* in 2016? 2016-05-14 18:04:21 +02:00
treeston
4d4d2f5665 Add a LOG_WARN when attempting to summon a non-existing summon group. 2016-05-14 18:00:07 +02:00
Treeston
2ae85d86d3 Merge pull request #17037 from Keader/TargetedMovementGeneratorFix
Core/Movement: Fix issues where creatures cancel spell casts chasing target and Implement SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING
2016-05-13 23:20:47 +02:00
treeston
6040e30fa3 Allow BossAI::_DespawnAtEvade to work on creatures other than the boss itself (optional argument). 2016-05-13 22:24:01 +02:00
treeston
0d5adf356e 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-05-13 00:56:52 +02:00
treeston
b52a6b8570 This discussion is more effort than it takes to change it. 2016-05-12 21:42:31 +02:00
treeston
ab0abdbde5 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-05-12 18:46:12 +02:00
treeston
afbda04767 Too many damn stars in that damn argument list. 2016-05-12 11:02:54 +02:00
Nawuko
bf2cee8cce Core/Movement: Fix issues where creatures cancel spell casts chasing target and Implement SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING 2016-05-11 20:54:50 -03:00
treeston
b7f2c87d37 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-05-11 23:24:26 +02:00
Shauren
c03e7ecd05 Build fix 2016-05-11 20:56:12 +02:00
Shauren
ef7df65256 Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-05-11 20:38:24 +02:00
treeston
4b15369378 Core/Spells: Check TRIGGERED_DONT_REPORT_CAST_ERROR flag in SendCastResult rather than CheckCast.
Fixes and closes #16836.
2016-05-11 18:33:43 +02:00
r00ty-tc
de918a0f64 Core/Maps - Improvements to Cinematic function
- Moves to own class for reading, storage and player subclass
 - Proper destruction handling for player (ensure cinematic is ended)
 - Timeout for cinematic if it reaches past the end without completing
 - boost::filesystem::path used for path/filename transform
 - Correct for assert trigger under certain circumstances
 - Other changes previously suggested
2016-05-11 11:56:25 +02:00
treeston
7e48a02398 Merge branch '3.3.5-commandfixes' into 3.3.5 (PR #16335) 2016-05-11 02:14:19 +02:00
Naios
f50c4b71a1 Core/Game: Remove some unnecessary export macros 2016-05-10 19:22:22 +02:00
Naios
d4d199d765 Core/Common: Move the query callback header to the database project
* Also renames the header to it's correct name QueryCallback
2016-05-10 18:16:13 +02:00
treeston
0e1eb460d6 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.
2016-05-10 15:09:18 +02:00
Kittnz
f5c142482f Merge pull request #16481 from sirikfoll/muru
Script/SWP Full rework of the M'uru encounter
2016-05-09 22:36:13 +02:00
Kittnz
42611e65d0 Merge pull request #16474 from Asterc/Isle
[3.3.5][6.x] Core/Battleground Script for Isle of Conquest Bosses
2016-05-09 22:25:36 +02:00
sirikfoll
20b3feb559 Implement Quest Riding the Red Rocket 2016-05-09 15:33:37 -03:00
Kittnz
190c75c566 Merge pull request #16476 from Eliminationzx/FixWrongTotemPlacement
[3.3.5][6.x] Core/Spells: Fix wrong totem placement
2016-05-09 20:16:37 +02:00