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
Shauren
e2687b31ed
Core/Entities: Ported byte field offset naming from 6.x
2016-04-12 20:06:04 +02:00
treeston
7b1560fccb
Entities/Unit: Finally fix no-path evasion.
...
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health.
- If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH.
- Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants.
2016-04-10 19:49:40 +02:00
Shauren
3f7e6af49e
Properly rename the stand state method...
2016-04-08 22:32:15 +02:00
Shauren
6dfc4771a1
Core/Misc: Renamed getStandState to minimize differences between branches
2016-04-08 22:21:13 +02:00
treeston
bf4d8ad310
Entities/Unit: Fix aggression checks when testing player pets vs neutral creatures. Pets will no longer be able to attack unattackable creatures in some situations. Fixes and closes #16659 .
2016-04-02 15:42:14 +02:00
joschiwald
052603a7e8
fixed build
2016-03-20 20:49:37 +01:00
chaodhib
303f0a4430
Fix MSG_MOVE_SET_* opcodes. The GUID of the concerned unit was missing from the packet.
2016-03-13 15:34:23 +01:00
treeston
fe707db96f
Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh.
2016-03-03 20:57:03 +01:00
treeston
bfac62c5c9
Fix some behavioral weirdness resulting from 79a945d5 - thanks ccrs.
2016-02-28 01:56:13 +01:00
treeston
5354b585e3
Unit/AI: Move CharmedPlayerAI logic from the SetCharmedBy/RemoveCharmedBy hooks to Player::Update -> Unit::UpdateCharmAI to guarantee thread safety and prevent race condition crashes.
2016-02-27 23:48:10 +01:00
Shauren
85c912c404
Core/Misc: Added Convenience methods removing auras by predicate
...
(cherry picked from commit 0953bcf73f )
2016-02-25 21:01:38 +01:00
Treeston
4e4b2b9a13
Merge pull request #16644 from Treeston/3.3.5-customcharmai
...
Core/UnitAI: Rework creature-controlled player behavior.
2016-02-24 13:39:31 +01:00
treeston
2f14664340
Core/UnitAI: Rework creature-controlled player behavior.
...
- Removed hacked control mechanism, use proper PlayerAI instead
- Port old hacky code to new SimpleCharmedPlayerAI class
- Make adjustments to aforementioned code to fix bugs:
- Properly clean up movement after charm ends
- Only try to attack a target if charmer is engaged in combat
2016-02-23 13:41:56 +01:00
ariel-
405917e70f
Core/Unit: Fix typo introduced in 6f2b086048
2016-02-21 00:38:21 -03:00
treeston
98860911e2
Check to make sure we aren't dispelling a buff for _all_ dispel types, not just magic. Closes #15321 .
2016-02-13 11:44:37 +01:00
treeston
cfed2d7a3d
Merge remote-tracking branch 'Eliminationzx/FixJumpDestOrientation' into 3.3.5 (PR #16450 ) with some minor CS adjustments
2016-02-10 17:41:19 +01:00
Rushor
5c0b0add27
Core/Unit: Do not remove auras from Pets and Guardians after evading
...
* this adds free space for further adjustments
* this fixes #14347
2016-02-10 14:33:58 +01:00
Elimination
ff80f249a7
Fix jump dest orientation
2016-02-10 20:25:29 +07:00
ccrs
983bbe4a4c
Core/Spells: Rogue Honor Among Thieves
2016-02-10 14:12:58 +01:00
treeston
53d6431c19
Creature/AI: Fix incorrect evade logic ( closes #16461 )
2016-02-03 21:34:17 +01:00
treeston
f0b9ee157b
Fix warning.
2016-01-30 00:48:47 +01:00
Treeston
af62cf5939
Merge pull request #15033 from tkrokli/absorb_ignoring_damage
...
Unit/CalcAbsorbResist: Sanctified Wrath should pierce absorb effects
2016-01-28 13:32:53 +01:00