Wyreth
21bd52cb99
Core/SAI: allow to pause/resume waypoint for non-escorting NPCs ( #20684 )
2017-10-22 21:37:38 +02:00
jackpoz
7dc97c0353
Core/SAI: Fix static analysis issue
...
Initialize uninitialized value, move class field from public to private.
2017-10-21 16:42:07 +02:00
Gildor
3eb0cfc687
Core/Misc: Added the possibility to configure the hour at which the server will be return old mails or delete them. ( #20305 )
2017-10-20 23:34:45 +02:00
Keader
b507acf1c0
Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. ( #20621 )
2017-10-20 10:57:47 -02:00
Keader
9f943e284f
Core/Player: Fixed Battleground double kill exploit ( #20618 )
...
Fixed by: Sirikfoll
Close : #20616
2017-10-20 09:36:22 -02:00
kelno
1aafa2c560
Fixed SCRIPT_COMMAND_TALK description, comment was matching the old behavior
2017-10-17 11:58:45 +02:00
Mikhail Redko
558382ed6d
Core/WorldSession: Add RBAC permission for skipping idle connection check ( #20595 )
2017-10-13 22:26:53 +02:00
Chaouki Dhib
5505625b0a
Core/Spells: Add spell radius to 'Feral Charge - Cat' since it's missing in DBC ( #20609 )
2017-10-13 22:12:26 +02:00
Chaouki Dhib
9dbef4b6bb
Core/Spells: Core/Spells: Improve teleport destination for a certain class of spells (Killing Spree, Shadowstep, ...) ( #20434 )
...
Close # 8758
2017-10-12 22:06:27 +02:00
Shauren
1f3cf8bcf4
Core/Mails: Fixed mail_items entries being left in database after deleting expired mails
...
Closes #20194
Closes #20461
2017-10-09 21:22:47 +02:00
Wyreth
ca024f104c
Core/Quests: don't send "Received item" chat message for quest rewards. ( #20465 )
2017-10-09 21:14:09 +02:00
Keader
98c363154a
Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE ( #20546 )
2017-10-07 18:38:11 -03:00
r00ty-tc
55b9a3f65f
Core/Spawns: Resolve crash in BattlegroundAV
...
- Correctly set spawngroup on spawned creatures in Alterac Valley BG
- Sanity check on application of dynamic spawn rates (not for BG/Arena
maps)
- Check that spawndata exists before using it.
Closes #20535
2017-10-05 19:41:54 +02:00
Gildor
82e58a0c6f
Core/Spells: EffectSanctuary should stop attack ( #20492 )
2017-10-04 21:37:05 +02:00
Keader
c1b833a919
Core/Spells: Fixed Cloak of Shadows dispel (removed old hack)
...
Closes #8758
Serverside spell (35729) already handle with it
2017-09-23 10:52:45 -03:00
Treeston
971ed856a4
Core/Scripts: Implemented OnlyOnceAreaTriggerScript ( #20288 )
2017-09-14 22:53:02 -03:00
Keader
42be04898c
Core/Handlers: Fixed changing equipment while charmed with equipament manager
...
Closes #20209
Followup: a1a12ec755
2017-09-14 11:15:28 -03:00
Aokromes
7ed36d353a
Core/Scripting: remove long time dead code
2017-09-11 18:03:57 +02:00
Treeston
47af704f63
Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time.
2017-09-10 01:10:40 +02:00
Shauren
c8fdda7f86
Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit
...
Closes #13630
Closes #20205
2017-09-09 23:31:33 +02:00
Treeston
0f7015012b
Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring.
2017-09-09 21:36:57 +02:00
Treeston
dbabcfbe24
Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289 .
2017-09-09 21:32:34 +02:00
Treeston
a1a12ec755
Core/Player: Prevent changing equipment while charmed. Closes #20209 .
2017-09-05 15:33:44 +02:00
ccrs
c7d565739b
Core/Movement: minor correction on WaypointMovementGenerator
...
remove the CanMove check since it will never trigger
the timer is left there to prevent errors on loading such as leader being created before the other members of the formation making them skip the first movement; purely a workaround
2017-09-03 23:10:24 +02:00
ccrs
5f370a035c
Core: fix noPCH build v2.0
2017-08-30 15:16:32 +02:00
Carbenium
45cb8c90e9
Core: Fix non-PCH build
2017-08-30 01:10:22 +02:00
Treeston
37dff2b7a1
Core/Misc: random refactors
2017-08-27 13:35:03 +02:00
Treeston
f279207d48
Core/Spawn: Move spawn group state management from sObjectMgr to the Map object, which makes it actually function as intended with instances. Woops.
2017-08-26 13:14:25 +02:00
Yehonal
4ee16fb536
Core/Scripts: FOR_SCRIPTS macro shouldn't return early ( #20187 )
...
FOR_SCRIPTS, insteadof FOR_SCRIPTS_RET, shouldn't return
otherwise methods such as void ScriptMgr::OnPlayerEnterMap(Map* map, Player* player) will end prematurely
2017-08-22 21:24:22 +02:00
Treeston
1f57d1ac67
Core/Creature: Fix an oversight in Creature::SelectVictim that was causing creatures to evade when chased by another creature from outside their own aggro range. Closes #19998 .
2017-08-22 13:08:08 +02:00
ccrs
91c0d49c18
Core/Creature: regenerate health
...
There are three possible scenarios regarding regenerating health
- db lock and curhealth set to > 0
- db lock and curhealth set to 0
- dynamic lock (set in scripts and such) overriding db lock
2017-08-21 20:28:18 +02:00
Treeston
92e9376e5e
Core/Creature: temporary summons are now dynamic flagged (oversight in dynspawn). This fixes issues with vehicle kit resets breaking AI.
...
Closes #20137 #20138 #20153 .
2017-08-21 17:40:47 +02:00
Aokromes
fe2db07313
Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
...
By Malcrom
2017-08-20 12:59:02 +02:00
Aokromes
75951f5472
Core/Misc: Removed obsolete comment
2017-08-20 07:16:07 +02:00
Gustavo
22a7956069
Core/Scripts: More fixes in boss Lich King ( #20147 )
...
* Core/Scripts: More fixes in boss Lich King
Fix Valkyr charge spell, they will no longer ignore Z position and become unreachable.
Correct height of Spirit Bomb and added the 3 seconds delay on his explosion.
Set the Trigger inside frostmourne room as active, to avoid problems with reseting the room, e.g: Spirit Bombs not despawning and Wicked Spirits stuck in evade.
Use correct InhabitType for Wicked and Vile Spirits, this avoid a situation where they could spawn falling.
2017-08-17 12:03:56 -03:00
Demonid
7b747848ed
Scripts/Icecrown Citadel: Fixed Lord Marrowgar - Coldflame to not ignore resistances ( #20146 )
...
Closes #13240
2017-08-15 11:49:34 +02:00
ccrs
eb2769996f
Core/Movement: 7fff83d675 followup
...
since MOTION_SLOT_IDLE cannot be expired, signal path done and behave like IdleMotionGenerator
2017-08-12 19:43:37 +02:00
ccrs
ee5cbf28bc
Core/AI: add missing checks on AssistPlayerInCombatAgainst
2017-08-12 18:19:18 +02:00
ccrs
d117a0e4d4
Core/SmatAI: correct MoveInLineOfSight
...
mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits
2017-08-12 17:57:13 +02:00
ccrs
cd4775420a
Core/Movement: 7fff83d675 followup
...
remove home position set from creature PauseMovement, and use it when necessary
change log level on DelayedDelete
2017-08-12 17:35:46 +02:00
sirikfoll
e2565c2597
Core/Misc: Remove Whitespaces
2017-08-11 23:06:37 -03:00
ccrs
7fff83d675
Core/Movement: waypoint movement ( #20121 )
...
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management.
Ref 28050f3 #18020
(taking the good parts and ignoring the incomplete work)
2017-08-12 01:40:25 +02:00
Gustavo
e9cd7af2df
Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau) ( #19897 )
...
* Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau)
Scripted all spells
Corrected behavior of Spectral Blast and Curse of Boundless Agony
Removed wrong wipe behavior
Fix problem where bosses would be stuck with banish
Added Boundaries
Corrected texts
Removed old hacks
Other minor fixes
2017-08-08 22:36:40 -03:00
Treeston
4cf49614e6
Core/Creature: Fix a crash in .npc delete ( closes #20124 ). Also fix an issue breaking vehicles in certain edge case situations.
2017-08-09 00:21:52 +02:00
ccrs
4f43f4d72f
Core/Movement: ee2d7c1d53 followup
2017-08-08 20:29:30 +02:00
ccrs
40903dcd65
Core/Movement: PropagateSpeedChange should only be called on the top (current active) movement generator
2017-08-08 19:49:12 +02:00
ccrs
ee2d7c1d53
Core/Movement: add new helper that cleans the referenced MovementSlot
2017-08-08 19:35:13 +02:00
Demonid
9fa68855d7
Scripts/ICC: Minor Fixes for Lich King ( #20120 )
...
- Fixed Shadow Trap and Defile Targets
- Fixed Shadow Trap Summon Delay and Duration
- Fixed Berserk Timer (15 Minutes)
- Fixed Shadow Trap Despawn when Snowstorm starts
2017-08-08 11:36:46 -03:00
Keader
26b6422ded
Revert "Core/Npc: Remove bytes1 once the npc start a combat"
...
This reverts commit 21b03e7d9b .
2017-08-07 21:55:27 -03:00
Treeston
184c45cfe0
Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.
...
- Rename JustRespawned to JustAppeared, which better matches its behavior anyway.
- Properly invoke JustAppeared for new (re-)spawns - fixes #20111 .
- Fix Thaddius script to work with dynamic_spawning (mostly unrelated to the above) - Feugen/Stalagg should really be a summon group, but I don't have time to fix that right now.
- Fix default value for DynamicEscortNPC to match worldserver.conf.dist.
2017-08-06 16:07:30 +02:00