Commit Graph
22704 Commits
Author SHA1 Message Date
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 21b03e7d9bc9165f5e0cf4fbdc5bd9b1534dbcd7.
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 ce3787f190d28c1e981598eef2cd24c622a2cbae
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
Aokromes 9815e07afd build fix 2017-07-18 17:16:47 +02:00
Aokromes be0da8201c Core/Spells: Renamed TARGET_DEST_UNK_110 to TARGET_UNIT_CONE_ENTRY_110 2017-07-18 17:07:52 +02:00
Aokromes 8592066446 Core/Taxi: Properly send taxi node status on login, as well as if the taxi master is out of range 2017-07-18 16:43:49 +02:00
Aokromes 8a2526cd94 Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's called nitro _boosts_. Not _boots_. Nitro _boosts_. 2017-07-18 14:19:41 +02:00
jackpoz 3410edfdae Core/Misc: Fix static analysis issues 2017-07-17 18:51:56 +02:00
Aokromes c6a1ea7c32 Tools: Automatically create directories for tools 2017-07-17 10:26:41 +02:00
Gustavo 2360bb90e7 Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles (#20033) 2017-07-17 00:11:39 +02:00
Aokromes 1b850ff3f3 Core/Misc: Build fix 2017-07-16 19:31:10 +02:00
Aokromes 8b6261c809 Core/Misc: Fix static analysis issues 2017-07-16 19:05:26 +02:00
Treeston e4841c960b Core/Quest: Prevent an issue causing quests to become invisible upon relog. (#20030)
Closes #20012
2017-07-16 14:38:37 +02:00
vincent-michael c9e25147cc Scripts/Misc: Fixed static analysis issues 2017-07-16 12:21:13 +02:00
Aokromes 1c6197a0e3 Build fix 2017-07-15 17:24:05 +02:00
Aokromes a36b0fa1f4 Core/Misc: Fix static analysis issues 2017-07-15 17:10:46 +02:00
Aokromes 33c7f9d471 Core/Misc: Fix static analysis issues 2017-07-15 16:36:41 +02:00
Regigicas b583c1ffec Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)
Closes #20027
2017-07-15 16:32:02 +02:00
Aokromes 61b0fbb9c9 Typo fix 2017-07-14 08:51:24 +02:00