Commit Graph
1619 Commits
Author SHA1 Message Date
robinsch c406fb2a73 Core/Spell: Remove all raid auras on party leave (#17663)
Core/Spell: Remove all raid auras on party leave
2016-08-15 00:03:33 +02:00
Aokromes cb4861a7ad Core/Movement: Do not launch pathfinding for splines turning on the spot 2016-08-10 20:27:54 +02:00
Aokromes 340b0227bf Core/Logs: Fine tunning some logs 2016-08-07 21:28:07 +02:00
ariel- aa53a0d71b Core/Spells: Define some aura types
(cherry picked from commit 802ebbe36a57103814ee0ad90378f29f2585a2d7)

Conflicts:
	src/server/game/Spells/Auras/SpellAuraDefines.h
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
2016-08-01 03:54:32 -03:00
ariel- 61c72215c3 Core/Auras: Renamed spell aura 333 to better describe its purpose
(cherry picked from commit c2f6c4d2bd6f06e382c27ca256fcffaa3f0d498b)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2016-08-01 03:54:31 -03:00
ariel- badef62df4 Core/Spells: ported helper function from 3f28fd304d833eadefff8d343ab45caf8d0575c2
Core/Spells: Reimplemented automatic spell learning
2016-08-01 03:54:31 -03:00
ariel- d21eb7542a 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 12:19:04 +02:00
ariel- fa8662e617 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.
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
	src/server/scripts/Kalimdor/zone_azshara.cpp
	src/server/scripts/Kalimdor/zone_durotar.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
2016-07-23 07:02:25 -03:00
Aokromes f32aca84ab Compile fix 2016-07-23 00:26:39 +02:00
Aokromes 7a4c33bc66 Core/Entities: implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER, fixes talent Point of no Escape 2016-07-22 21:59:03 +02:00
Aokromes 9d5ff93e27 Core: Removed Whitespaces 2016-07-22 21:40:34 +02:00
Killyana ae7c54eb34 Core/Entities: Remove wrong immunity
Closes #17363
2016-07-20 19:53:25 +02:00
Aokromes f0c90fe8ca partialy revert previous commit 2016-07-20 19:29:16 +02:00
SnapperRy b6be6556f6 Core/Unit: remove emote state when creature attacks another unit (#17542) 2016-07-20 19:21:27 +02:00
Meruemu 8cdb25f134 Core/Entities: Fix flag CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN implementation. (#17548) 2016-07-20 19:19:33 +02:00
Shauren 8a5e7eba70 Core/Units: Fixed autoattack range
Closes #17539
2016-07-20 19:12:44 +02:00
Aokromes 0cb8e628d2 Core/Unit: Add proc cooldown to all units
It will break something?
2016-07-20 19:12:00 +02:00
ariel- b56a40436b Core/Unit: remove duplicate resist roll in Unit::MeleeSpellHitResult (#17520) 2016-07-20 18:41:30 +02:00
Aokromes 0f5b2fd792 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-20 18:32:05 +02:00
Shauren fa7026cee3 Core/Spells: Fixed spell range check
Closes #17060
2016-07-20 18:26:18 +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
Aokromes 2387591f1a Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing 2016-07-20 15:39:16 +02:00
Aokromes 00fa7d03ed AI/PlayerAI: Finally implement cast logic for controlled players. 2016-07-20 15:19:53 +02:00
Aokromes 74cb8608c3 compile fix 2016-07-20 14:16:33 +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
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
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
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
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
Aokromes 6e68a60e6d Core/Unit: Do not remove auras from Pets and Guardians after evading 2016-07-19 16:21:41 +02:00
Aokromes a65ac56b74 Core/Entities: Ported byte field offset naming from 6.x 2016-07-19 15:08:35 +02:00
Aokromes a71da1c603 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-07-19 13:33:04 +02:00
Aokromes eaf9d524e8 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.
2016-07-19 11:51:41 +02:00
Aokromes 14d3e15c1f Core/AI: Add better support for tracking DynObjs
By Krudor
2016-07-12 21:59:21 +02:00
Shauren f6824d1207 Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT
(cherry picked from commit d621023192a6480aa0f338908a353002fc6accf1)
2016-05-12 09:19:01 +02:00
Ariel Silva fb87f7d445 Core/Spells: fix console spam (#17084) 2016-05-12 09:17:57 +02:00
treeston 7dfa86b878 align fix 2016-05-12 09:17:40 +02:00
treeston 5671f50933 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-12 09:16:31 +02:00
Henry Gordon 4158049767 Core/Instances: If a boss kills itself, still save the group to the instance (#16978)
(cherry picked from commit a4b00886718148dd021871ead5ac8a1e8a64285f)
2016-05-12 08:48:25 +02:00
Shauren a7f68c489a Properly rename the stand state method... 2016-05-12 08:27:48 +02:00
Shauren a12493fd84 Core/Misc: Renamed getStandState to minimize differences between branches 2016-05-12 08:27:29 +02:00
ariel- 65aec5f8f7 Merge remote-tracking branch 'tc/3.3.5' into 4.3.4
Note: additional hand-picked ports from 6.x to fix build

Conflicts:
	sql/updates/world/2016_02_22_00_world.sql
	sql/updates/world/2016_02_22_01_world.sql
	sql/updates/world/2016_02_22_02_world.sql
	sql/updates/world/2016_03_07_00_world.sql
	src/server/authserver/Realms/RealmList.cpp
	src/server/authserver/Realms/RealmList.h
	src/server/authserver/Server/AuthSession.cpp
	src/server/game/Accounts/AccountMgr.cpp
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
	src/server/game/Chat/Chat.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Scripting/ScriptLoader.cpp
	src/server/game/Scripting/ScriptLoader.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/World/World.cpp
	src/server/game/World/World.h
	src/server/scripts/CMakeLists.txt
	src/server/scripts/Commands/cs_gm.cpp
	src/server/scripts/Commands/cs_misc.cpp
	src/server/scripts/Commands/cs_rbac.cpp
	src/server/scripts/Commands/cs_ticket.cpp
	src/server/scripts/Commands/cs_wp.cpp
	src/server/scripts/EasternKingdoms/CMakeLists.txt
	src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp
	src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
	src/server/scripts/Kalimdor/CMakeLists.txt
	src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
	src/server/scripts/Kalimdor/zone_orgrimmar.cpp
	src/server/scripts/OutdoorPvP/CMakeLists.txt
	src/server/scripts/Spells/spell_dk.cpp
	src/server/scripts/Spells/spell_hunter.cpp
	src/server/shared/CMakeLists.txt
	src/server/worldserver/CMakeLists.txt
	src/server/worldserver/Main.cpp
	src/tools/mmaps_generator/CMakeLists.txt
2016-03-11 18:32:07 -03:00
ariel- 95b6332bef Revert "Core/Auras: Should not remove other targets' aura if it keeps on same phase than caster"
Was causing assertion fails in UnregisterSingleTarget, further research into the issue is needed.

This reverts commit d44dd09737.

Reopens #42
2016-03-06 03:40:06 -03:00
treeston fe707db96f Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh. 2016-03-03 20:57:03 +01:00
ariel- d44dd09737 Core/Auras: Should not remove other targets' aura if it keeps on same phase than caster
Closes #42
2016-03-03 01:57:46 -03: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 0953bcf73f01ab5d85bb8665fbf8451d0ed460b3)
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