Commit Graph

20346 Commits

Author SHA1 Message Date
Treeston
c9ac68d6e3 Scripts/Naxxramas: Missing nullptr check in Patchwerk. Closes #20247. 2017-09-06 18:26:31 +02:00
Treeston
a1a12ec755 Core/Player: Prevent changing equipment while charmed. Closes #20209. 2017-09-05 15:33:44 +02:00
Keader
f67c6a5a12 Core/Scripts: Auriaya rewrite (#20204)
#MakeUlduarGreatAgain :D
2017-09-04 21:37:31 -03: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
Keader
f86b4e45e5 Core/Scripts: Removed wrong AddThreat call in Pursuit spellscript
followup 52ad0c9e5c
checked in sniffs, only ick add threat in target, wrong call in original script (why o keep it? o.o)
2017-09-01 09:43:29 -03: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
Carbenium
fcf00a0ee5 Core/Scripts: Add two missing overrides 2017-08-30 00:21:11 +02:00
Keader
72aa03441f Core/Scripts: Typo fix 2017-08-27 20:27:14 -03:00
Keader
52ad0c9e5c Core/Script: Krick and Ick, fixed spell Pursuit
Close #2261
2017-08-27 20:24:18 -03: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
ccrs
80a8867332 Scripts/AzjolNerub: minor corrections
ref #19072
2017-08-24 20:02:04 +02:00
Treeston
dcc3cd21e8 Scripts/AzjolNerub: Fix some duplicate summons after JustAppeared changes. Closes #20183. 2017-08-24 18:02:27 +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
Treeston
cac99beffd Scripts/Commands: .npc delete and .gobj delete now work while the specified guid is despawned. Fixes #20145. 2017-08-21 17:07:53 +02:00
Treeston
165bc02889 Scripts/Auchindoun: Fix a super edge case crash bug with GM far teleports during Blackheart's charm phase. Follow-up to d80d7c6. 2017-08-21 16:44:33 +02:00
Keader
76fc9ed635 Core/Scripts: Updated Razorscale to new registers model
* More codestyle fixes
* Ty sirikfoll :)
2017-08-20 22:23:32 -03:00
Keader
203c5f7058 Core/Razorscale: Codestyle Updates
* Removing spelldifficulty_dbc to make portable to master
* Updated to new Spell/Aurascript model
2017-08-20 17:38:47 -03:00
Foereaper
6f4492bc61 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:16:23 +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
Shoxxo
7754960e39 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:21:39 +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
Rochet2
0a3e2339ef Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount (#19255)
- 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-08 22:52:55 +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
Keader
d825a06830 Core/Scripts: Razorscale Rewrite (#19828)
#MakeUlduarGreatAgain
2017-08-07 21:36:19 -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
Necropola
ecf5978608 Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain in DB (#20112) 2017-08-06 03:15:04 +02:00
Aokromes
92359de5ef Revert permision change 2017-08-05 09:49:43 +02:00
Necropola
906498e9f4 [3.3.5] Core/Pet: Make pet action bar autocast persist properly (#20110)
Partial revert of of 6c21ddd9b9.
Closes #16211.
2017-08-04 03:52:24 +02:00
Treeston
84590be26d Scripts/InstanceScript: Implement database framework for managing spawn groups based on boss state. (#20103) 2017-08-04 00:23:40 +02:00
Treeston
2644fa703a Core/Unit: Don't apply liquid effects to game masters. 2017-08-03 19:38:15 +02:00
Shauren
6691e41873 Core/Misc: Revert back to using boost::regex, std::wregex doesn't work for name validation
Closes #20094
2017-08-03 00:13:21 +02:00