Naios
0c97ef5f74
Core/Unit: Force cancel unit events before invalidating the object on destruction
...
* Closes #16675
2016-08-29 22:03:48 +02:00
treeston
211eee0fce
Entities/Unit: Add overload to NearTeleportTo taking Position const&.
2016-08-26 21:02:25 +02:00
SnapperRy
42a32a3c7c
Core/Unit: do not refresh last damaged timer if hit by SPELL_AURA_DAMAGE_SHIELD.
...
Fixes spells like Retribution Aura, Thorns and Damage Shield that were preventing units from evading.
2016-08-25 22:16:34 +02:00
ariel-
f183ed3c50
Core/Unit: removed ancient workaround changing spell caster based on triggering aura.
...
Keep an eye out for those broken scripts!
Closes #17739
2016-08-21 18:02:36 -03:00
Treeston
6f85422f0b
Core/Spells: Fix orientation- and targeting-related issues if the creature isn't currently engaged in combat. ( #17120 )
...
Also disable spell focus system for vehicle control auras.
Closes #16572
Closes #17016
2016-08-21 11:07:38 +02:00
Shauren
836fe5d1ed
Core/Spells: Fixed possible null pointer dereference
...
Coverity CID 1357406
(cherry picked from commit cc07a491f6 )
2016-08-20 15:51:15 +02:00
Treeston
8deda7ed7f
Entities/Unit: Cleanup refactor. Changes: ( #17819 )
...
+ Unit::m_movedPlayer -> Unit::m_playerMovingMe
+ Player::m_mover -> Player::m_unitMovedByMe
+ Unit::GetMover() -> Unit::GetUnitBeingMoved()
+ Unit::GetPlayerMover() -> Unit::GetPlayerBeingMoved()
+ NEW: Unit::GetClientControllingPlayer()
2016-08-20 12:43:04 +02:00
Chaouki Dhib
d7600f1126
Core/Units: Fixed melee range check ( #17693 )
...
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility.
* Moved melee range logic into its own function
* Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method.
2016-08-15 18:17:07 +02:00
robinsch
dd67f4ed96
Core/Spell: Remove all raid auras on party leave ( #17663 )
...
Core/Spell: Remove all raid auras on party leave
2016-08-14 17:26:03 +02:00
Aokromes
b51409a5d3
Core/Logs: Fine tunning some logs
2016-08-05 21:22:12 +02:00
ariel-
c271e196c8
Core/Spell: fix one logic fail when calculating level penalty
...
(http://wow.gamepedia.com/index.php?title=Spell_power&oldid=1751770#Spells_learned_before_level_20 )
2016-07-30 04:06:37 -03:00
Killyana
0be0606593
Core/Entities: Remove wrong immunity
...
Closes #17363
2016-07-19 22:21:41 +02:00
ForesterDev
22c4e87ebb
Core/Entities: add missing null pointer checks in HandleProcTriggerSpell. CID 1356245 ( #17629 )
2016-07-19 10:46:30 +02:00
ariel-
2feb53ecb6
Core/Entities: implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER, fixes talent Point of no Escape
2016-07-19 02:57:01 -03:00
robinsch
bc358fc381
Core/Spell: Sheath of Light should add remaining ticks to healing done when refreshed ( #17583 )
2016-07-15 19:46:39 +02:00
SnapperRy
a732749d72
Core/Unit: remove emote state when creature attacks another unit ( #17542 )
2016-07-15 18:31:52 +02:00
Meruemu
4a46fee03e
Core/Entities: Fix flag CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN implementation. ( #17548 )
2016-07-11 10:15:05 +02:00
Shauren
14b93c04ee
Core/Units: Fixed autoattack range
...
Closes #17539
2016-07-09 13:03:03 +02:00
Golrag
0b98544286
Core/Unit: Add proc cooldown to all units ( #17546 )
2016-07-08 21:52:30 +02:00
ariel-
cfbfa8158a
Core/Unit: remove duplicate resist roll in Unit::MeleeSpellHitResult ( #17520 )
2016-07-06 08:58:59 +02:00
Aokromes
d34cce1edb
Code/Battleground Opening a game object(banner) under absorb effects … ( #17459 )
...
* Code/Battleground Opening a game object(banner) under absorb effects in battlegrounds should result an interupt
By zwerg, closes #6222
2016-07-04 21:12:36 +02:00
Shauren
e6a52d4aae
Core/Spells: Fixed spell range check
...
Closes #17060
2016-07-01 20:26:49 +02:00
treeston
19fa504ff5
Entities/Unit: Fix speed update packets if player is being moved by something else.
...
Closes #17184
Closes #17254
2016-06-10 19:17:34 +02:00
mik1893
7c25f3cffd
Merge pull request #16969 from tkrokli/cant_do_this_while_moving
...
Core/Movement: enable item use and spell cast when dismounting
2016-06-07 20:45:25 +01:00
jackpoz
1347d7cf7a
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-06-04 15:01:39 +02:00
joschiwald
19aac66bc2
Core/Movement: enable item use and spell cast when dismounting
...
Remove error message and allow spell cast or item use from
mounted state on ground, especially when sitting on
a landed flying mount. Current behavior is that the player
will get the error message "You can't do that while moving"
when trying to cast a spell or pick up an item
while sitting on a flying mount after having landed.
By joschiwald, closes #6236
2016-06-03 17:38:01 +02:00
Trisjdc
34ef05ce0b
Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing
2016-06-02 23:07:27 +01:00
treeston & Keader
25c5570f47
AI/PlayerAI: Finally implement cast logic for controlled players.
2016-05-31 15:05:35 +02:00
Kittnz
adf68a993e
Merge pull request #17186 from sirikfoll/combat
...
Core/Unit Do not allow addition of threat to units in evade mode
by sirikfoll
2016-05-28 09:54:53 +02:00
Shauren
b36da77185
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-05-27 14:45:06 +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
Shauren
9612ac0e27
Core/Spells: Fixed Eclipse after recent proc cooldown changes
...
Closes #17166
2016-05-24 18:37:46 +02: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
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
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
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
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
Shauren
99a6c8469f
Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT
...
(cherry picked from commit d621023192 )
2016-05-08 00:15:29 +02:00
Shauren
66006e3d0d
Core/Movement: Do not launch pathfinding for splines turning on the spot
2016-05-07 00:01:45 +02:00
Ariel Silva
8d09065525
Core/Spells: fix console spam ( #17084 )
2016-05-06 08:17:30 +02:00
treeston
59ac775223
Merge branch '3.3.5-evademore' into 3.3.5 (PR #16834 )
2016-05-05 13:20:52 +02:00
treeston
58486fc19a
align fix
2016-05-05 13:01:40 +02:00
treeston
26b084a90f
CreatureAI: Adjust AI behavior when a charm ends. OnCharmed will be invoked on the creature's base (non-charmed) AI, allowing the AI to react to the creature no longer being charmed.
2016-05-03 13:23:18 +02:00
Rushor
e869ccb297
Merge pull request #16503 from Rushor/evading
...
[3.3.5][6.x]Core/Unit: Do not remove auras from Pets and Guardians after evading
2016-04-25 11:46:00 +02:00
Henry Gordon
1670d310b5
Core/Instances: If a boss kills itself, still save the group to the instance ( #16978 )
...
(cherry picked from commit a4b0088671 )
2016-04-16 16:52:55 +01:00
Vincent-Michael
fe90fdcba1
Core: Removed Whitespaces
...
(cherry picked from commit 3cd19d3b30 )
# Conflicts:
# src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
# src/server/game/Handlers/NPCHandler.cpp
# src/server/game/Server/Packets/ChatPackets.cpp
# src/server/game/Server/Packets/NPCPackets.h
# src/server/game/Server/Packets/PartyPackets.h
# src/server/game/Server/Packets/PetPackets.cpp
# src/server/game/Server/Packets/PetPackets.h
# src/server/game/Server/Packets/TicketPackets.h
# src/server/game/Server/Packets/VoicePackets.h
# src/server/game/Server/Packets/WardenPackets.h
# src/server/scripts/Commands/cs_cheat.cpp
2016-04-16 16:52:23 +01:00
Chaouki Dhib
dc3327f9c5
Core/Movement: Clean up and improvements on Unit::SetSpeed ( #16843 )
...
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
2016-04-16 01:36:32 +02:00
Treeston
22c0a54264
Merge pull request #16896 from Treeston/3.3.5-fixpetaggression
...
Entities/Unit: Fix pet-vs-creature aggression checks
2016-04-16 01:27:45 +02:00