Commit Graph
9644 Commits
Author SHA1 Message Date
Aokromes e0cdf97dcb Core/Pet: Fix pet at rest distance (#17206)
* Core/Pet: Fix pet at rest distance

By MrSmite, closes #10865

* Update TargetedMovementGenerator.cpp
2016-07-20 18:09:40 +02:00
Aokromes 2102f40f4b Script/Quest: Improvements for quest Corrosion Prevention (27347): (#…
…17385)

- Energized! spell should target only the caster and any player around.
- Prevent trigger from gaining threat from beneficial spell casts, getting stuck in a "gaining threat but cannot attack, reset" situation.
- The Power Core Fragment near the zeppelin crash should always be active.
2016-07-20 18:09:14 +02:00
Aokromes 09b34b64e5 Core/DungeonFinder: Add new log to allow to debug some issues
By Spp- on #14331
Enable lfg.allqueued DEBUG log. It will give more detailed info.
2016-07-20 18:08:03 +02:00
Treeston 257a0b5f6f Creature/Loot: Do not display "lootable" sparkles for player even if others in the group still have quest items to be looted from creature. (#16265) 2016-07-20 18:05:51 +02:00
Keader 47a89b8dcc Core/Pet: Fixed pets dont lose auras on join arena (#17185) 2016-07-20 18:04:54 +02:00
Aokromes f35df037b6 Core/Spells: Implement SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER 2016-07-20 18:03:54 +02:00
Aokromes 4c09550b0f another compile fix 2016-07-20 17:12:59 +02:00
Aokromes 6d86976904 compile fix 2016-07-20 17:11:09 +02:00
Aokromes bf5db53da6 Another build fix 2016-07-20 16:53:36 +02:00
Aokromes 8a6cbf2b89 compile fix 2016-07-20 16:48:32 +02:00
Aokromes 4e31162a42 Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. (#16739)
Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429)
2016-07-20 16:44:24 +02:00
Alan Deutscher 7cfe75acf0 Adjustment to Player::SetViewpoint to allow for Mind Vision "hops". (#17041)
* Adjustment to Player::SetViewpoint to allow for Mind Vision "hops".

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Removed redundant TYPEMASK_PLAYER check.

* Moved SetSeer outside of if statement.
2016-07-20 16:36:39 +02:00
Tiuz90 eafbdb2678 [Core/Spells]Warrior, fixed bladestorm aura remove due to weapon swap (#16873) 2016-07-20 16:24:20 +02:00
SnapperRy f7ac30867f Core/Movement: interrupt a creature's current cast when fleeing for assistance, and (if spell is not castable while moving) when running random/fleeing movement generators. (#17271)
Also make sure the creature is alive before updating.

Fixes #12823.
2016-07-20 16:23:41 +02:00
Shauren 05f11a46ba build fix 2016-07-20 16:05:51 +02:00
DDuarte d8bd7aa551 Core/Items: Missing renames 5faaddcf6bba50845f46a98a6387ffcd8abad2b8 2016-07-20 16:04:39 +02:00
DDuarte 3f90a9ac87 Core/Items: Rename some ITEM_PROTO_FLAG
Source: vanilla alpha pdb
2016-07-20 16:04:18 +02:00
Aokromes d202a88b65 Core/GameObjects: Update GameObjectTemplate structure and defined more GO flags 2016-07-20 16:03:06 +02:00
Aokromes ef28a6c817 Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rew…
…arded.

This updates the status of nearby questgivers and prevents them from being stuck in a state that's no longer valid (for example, stuck with yellow question mark until area update).
2016-07-20 15:54:01 +02:00
jackpoz 4aa993607a Core/Player: Fix duel edge case crash
Fix a crash that could be triggered if an aura removed after duel finished would have caused damage to one of the players.
2016-07-20 15:50:04 +02:00
treeston a509a209c6 Revert "PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177."
This reverts commit 73cfbdcf9f2c26b55ab11061834c0b0ce6fc41ce.
2016-07-20 15:49:51 +02:00
treeston 08b78720bb PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177. 2016-07-20 15:49:23 +02:00
Snapper 7185ae680c Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted/stunned.
Prevents creatures from teleporting around when fleeing while stunned/rooted.
2016-07-20 15:46:31 +02:00
jackpoz d9f485273c Core/VMaps: Fix some vmap height edge cases
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
2016-07-20 15:45:05 +02:00
treeston 2f15b10342 AI/PlayerAI: Fix potential edge case crash. 2016-07-20 15:41:57 +02:00
Aokromes 2387591f1a Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing 2016-07-20 15:39:16 +02:00
Aokromes d59e84fcb2 Core/SmartAI: Allow SMART_ACTION_FORCE_DESPAWN on no-SmartAI GameObjects 2016-07-20 15:33:33 +02:00
treeston 34ad561ff5 AI/PlayerAI: Code style cleanup. 2016-07-20 15:23:58 +02:00
Aokromes 00fa7d03ed AI/PlayerAI: Finally implement cast logic for controlled players. 2016-07-20 15:19:53 +02:00
Aokromes 59b4b36bdc Core/World: Remove unused config CONFIG_SIGHT_GUARDER 2016-07-20 14:45:41 +02:00
Aokromes 7cc54c08bb Revert "Merge pull request #16433 from Tonghost/3.3.5"
This reverts commit e3d5299, reversing
changes made to 6d8e39f.
2016-07-20 14:39:58 +02:00
Aokromes 20ac85954b Core/Quests: Remove wrong call to SendQuestComplete() 2016-07-20 14:30:52 +02:00
Aokromes 74cb8608c3 compile fix 2016-07-20 14:16:33 +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
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 17118f4832d527f160dc300a52db7ba6c255bce2)
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 35ab476f1691870a67c8ede78e9c37618f6bd383)
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
Aokromes 11636faadf Core: define CREATURE_FAMILY_NONE to avoid magic numbers in code 2016-07-20 12:49:38 +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
r00ty-tc d219b18c68 Core/Cinematic: Optimize cinematic loading
- Remove pointless cast string->char*->string
2016-07-20 10:59:53 +02:00