Commit Graph

22720 Commits

Author SHA1 Message Date
Keader
6020c66fbf Core/Spells: Fixed Cloak of Shadows dispel (removed old hack)
Closes #8758
Serverside spell (35729) already handle with it
2017-09-25 16:40:17 +02:00
Aokromes
3c7f9e53f1 Core/Guild: Use correct opcode to send note change, instead of sending whole roster
By gerripeach
2017-09-24 19:19:34 +02:00
Aokromes
fab8e2c9a5 Add warning about warden 2017-09-22 08:00:58 +02:00
Keader
6e0af30592 Core/Handlers: Fixed changing equipment while charmed with equipament manager
Closes #20209
Followup: a1a12ec755
2017-09-17 13:09:44 +02:00
Aokromes
2fe2290bf7 Core/Scripting: remove long time dead code 2017-09-12 15:44:23 +02:00
Aokromes
a1c5eed21c Build fix 2017-09-12 15:03:27 +02:00
Aokromes
9757a45b04 Revert "Core/Player: Prevent changing equipment while charmed. Closes #20209."
This reverts commit 46565118b3.
2017-09-10 16:57:59 +02:00
Aokromes
12321d81da Revert "Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289."
This reverts commit 46657cca71.
2017-09-10 16:52:28 +02:00
Aokromes
e6d6b74f20 Revert "Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring."
This reverts commit 2fc3ddec1d.
2017-09-10 16:51:53 +02:00
Aokromes
86cda20261 Revert "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."
This reverts commit 6d2bfac955.
2017-09-10 16:46:42 +02:00
Aokromes
7fd4b005ad Core/Quests: Sync QuestFlags with WPP 2017-09-10 15:46:00 +02:00
Treeston
6d2bfac955 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 15:42:55 +02:00
Aokromes
f3b5ad8c8a Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit 2017-09-10 15:42:35 +02:00
Aokromes
2fc3ddec1d Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring. 2017-09-10 15:37:49 +02:00
Treeston
46657cca71 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-10 15:34:30 +02:00
Treeston
46565118b3 Core/Player: Prevent changing equipment while charmed. Closes #20209. 2017-09-10 15:30:11 +02:00
ccrs
9c7160e028 Scripts/AzjolNerub: minor corrections
ref #19072
2017-09-10 15:25:32 +02:00
Yehonal
a73a5942d4 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-09-10 15:25:00 +02:00
Treeston
244e9c6a15 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-09-10 15:24:38 +02:00
Foereaper
f4a72fe03a Scripts/Naxxramas: Fix Heigan the Unclean eruption event (#20129)
By scheduling the eruption event without cancelling the previously registered eruption events, Heigan's eruption (or dance) would overlap and cause a runaway scenario, where eruptions would not follow a proper timer.

By using Reschedule and not locking the Eruption event to the fighting phase, the dance now works as intended.
2017-08-20 18:19:39 +02:00
Aokromes
fde6fdc9ca Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
By Malcrom
2017-08-20 12:59:18 +02:00
Aokromes
2b068721e1 Revert Core/Spell: Magic Absorption Calculation
This reverts commit 28a7ce2007
2017-08-20 09:09:32 +02:00
Gustavo
da40bace9e 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-20 07:08:48 +02:00
Shoxxo
2d206feaf2 Core/config: add MonsterSight setting to worldserver.conf.dist
* Updated MonsterSight (What does it)

* Core/Worldserver: Update worldserver.conf.dist

Now it should be corectly ;)

* Relocated and renamed the MonsterSight!
2017-08-19 21:25:47 +02:00
Aokromes
c55dfe25a8 another build fix 2017-08-14 14:11:15 +02:00
Aokromes
57573fd491 Build fix 2017-08-14 14:00:11 +02:00
Aokromes
e140e2ffbc Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:42:26 +02:00
Aokromes
139cea3d26 Scripts/ICC: Minor Fixes for Lich King
- 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-14 11:53:05 +02:00
Aokromes
93e0e0c291 Core/Movement: MotionMaster & MovementGenerators cleaning 2017-08-13 14:55:54 +02:00
ccrs
622736286f Core/SmatAI: correct MoveInLineOfSight
mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits
2017-08-13 03:47:01 +02:00
Aokromes
0e6377c90e Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount
- Use unsigned int for thread count

- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default

- Print thread count always regardless of using --threads switch or not
2017-08-13 03:42:20 +02:00
ccrs
227a4d8ccb Core/Movement: ee2d7c1d53 followup 2017-08-13 03:38:52 +02:00
Aokromes
62cf8c879a reduce diff 2017-08-13 03:38:48 +02:00
Aokromes
eab24df48a Core/Movement: PropagateSpeedChange should only be called on the top (current active) movement generator 2017-08-13 03:36:13 +02:00
ccrs
591019d9f6 Core/Movement: add new helper that cleans the referenced MovementSlot 2017-08-13 03:31:28 +02:00
Keader
abbdb9744e Revert "Core/Npc: Remove bytes1 once the npc start a combat"
This reverts commit 21b03e7d9b.
2017-08-13 03:30:34 +02:00
Necropola
8e7eac05dd Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain in DB (#20112) 2017-08-13 03:28:17 +02:00
Treeston
867ca8817f Core/Unit: Don't apply liquid effects to game masters. 2017-08-03 19:39:45 +02:00
Shauren
0792f890a3 Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
Closes #20094
2017-08-03 00:19:24 +02:00
Shauren
3f5f58ec6a Build fix 2017-07-29 15:23:08 +02:00
Shauren
f699891b37 Core/Misc: Util changes
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-29 14:41:26 +02:00
Aokromes
8583263896 Core/Chat: Provide a fully-formed protocol for addons to interact with GM commands
Send success/fail state, allow interleaving, and indicate end of output. Add framework for supporting non-human-readable output in commands.
2017-07-29 10:51:58 +02:00
Treeston
584a302f3c Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic. 2017-07-27 16:46:47 +02:00
ccrs
a8be511491 Core/AI: correct Permit level for trigger flagged creatures
This broke several mechanics such as LK hc Frostmourne Room or Rotface's slime, how come no one noticed it? Like really, no one?
ref ce3787f190
2017-07-27 16:46:33 +02:00
Aokromes
449e95d4ce Core/Spells: Defined TARGET_GAMEOBJECT_CONE_109 2017-07-27 16:37:58 +02:00
Killyana
7b714a7033 Core/Npc: Remove bytes1 once the npc start a combat
Closes #16832
By Rushor
2017-07-22 09:13:12 +02:00
Shauren
e830489294 Core/Auth: Fixed client getting stuck on login or realm change 2017-07-21 21:22:56 +02:00
Aokromes
974c646e9c Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication 2017-07-20 07:13:21 +02:00
ariel-
698697d9e8 Core/Tools: fix whitespace 2017-07-19 20:26:20 +02:00
treeston
d73970fcb5 Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute). 2017-07-18 18:34:57 +02:00