Commit Graph

21130 Commits

Author SHA1 Message Date
Aokromes cc49b7bb30 kill some whitespaces 2018-09-09 16:15:45 +02:00
Shauren 93e87010ed Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure 2018-09-09 16:08:49 +02:00
Treeston 9f1755dbf1 Core/Threat: Properly sequence checking offline state _after_ adding the reference to the threat list. This ensures IsEngagedWith reports consistent values for downstack calls in Creature. Closes #22406. 2018-09-09 14:48:11 +02:00
Treeston 71c5569d18 Core/Creature: Get rid of a few Creature::getAttackerForHelper misuses. That's not what the function does, folks. 2018-09-09 14:48:11 +02:00
Treeston a4c666dc3d Core/ChatCommands: Implement achievement link parsing 2018-09-09 12:41:00 +02:00
Treeston fdbec8b639 Core/Threat: Suppressed threat is now re-evaluated on taunt state update, and taunting units can no longer be suppressed. 2018-09-08 23:51:50 +02:00
Treeston 1377778bcc another build fix 2018-09-08 23:51:29 +02:00
Treeston 7675203f97 build fix for pedantic compilers 2018-09-08 23:29:50 +02:00
Shauren d3a6c1f97d Build fix2 2018-09-08 20:31:19 +02:00
Shauren dbeda399e7 Build fix 2018-09-08 20:29:35 +02:00
Treeston c59388783a Scripts/Commands: Rewrite .account commands to new model 2018-09-08 19:46:56 +02:00
Treeston 37489eda93 Core/ChatCommands: Properly handle single-argument handlers (argument string discarded). Add special handling for on/off booleans. 2018-09-08 19:46:12 +02:00
Treeston 66a87c4642 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
2018-09-07 20:31:04 +02:00
Treeston 5843724deb Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command. 2018-09-06 10:46:28 +02:00
Ovah cd36606027 Core/Conditions: allow CONDITION_QUEST_COMPLETE to handle spellclick conditions (#22371)
This is a needed change in order to make spellclicks functional that are only available when you have a already completed quest.
2018-09-02 12:36:16 +02:00
Keader ca7ee982db Scripts/Ulduar: Algalon the Observer fixes (#22320) 2018-08-31 21:48:56 -03:00
Treeston 8e4f6777a2 Scripts/Commands: Cleanup and trinity_string for .go instance. Hi shauren. 2018-08-30 21:08:28 +02:00
Treeston 6a0870a999 Scripts/Commands: New command ".go instance". Goes to an instance. 2018-08-30 20:17:51 +02:00
Keader c78f454c0e Scripts/Misc: Removed more UpdateEntry on InstanceScripts 2018-08-30 11:00:16 -03:00
Keader 7ab8a8b70b Scripts/ICC: Removed not needed entrys added in last commit 2018-08-30 09:26:38 -03:00
Keader 92f260c5f9 Scripts/ICC: Fixed Deathbringer after Delay zone script's OnCreatureCreate
Also removed some UpdateEntry hacks
Followup: b4a1887c4d
2018-08-30 09:22:06 -03:00
Shauren 62db1fb683 Core/CrashHandler: Include assertion messages in crash reports 2018-08-29 23:59:24 +02:00
Treeston 704870496f Core/Threat: Fear no longer suppresses threat. All confuse effects now suppress threat, even ones that wouldn't break on damage. 2018-08-29 19:53:23 +02:00
Treeston 969436adfe Core/Maps: Fix a crash when spawning a spawn group 2018-08-29 18:07:31 +02:00
Treeston 28eeb4bfc9 Core/GameObject: Add getter for current Quat rotation 2018-08-29 17:16:19 +02:00
Treeston e63e0cb6fc Core/Movement: Some improvements to script interfaces for SplineChainMovementGenerator 2018-08-29 17:15:22 +02:00
Treeston b4a1887c4d Core/Scripting: Delay zone script's OnCreatureCreate until the creature has been added to map stores 2018-08-29 13:55:49 +02:00
Treeston bb953328ee Scripts/Spells: Check range to fire totem when casting Fire Nova. Closes #22303. 2018-08-29 13:50:58 +02:00
Treeston dc86a8e5db Core/Maps: Properly re-create map on login for ephemeral player saves. Because it bugged me to no end when testing anything ever. 2018-08-29 13:50:29 +02:00
Treeston 83ee145736 Core/Spells: Clean up some assist checks (no behavior change) 2018-08-29 11:52:51 +02:00
Treeston 75e7404bba Core/Spells: Fix an incorrect check that was exempting negative spells from _IMMUNE_TO_x checks. Closes #21929. 2018-08-28 19:42:18 +02:00
Treeston 829527a08e woops (da21ca8 follow-up) 2018-08-28 17:30:07 +02:00
Treeston a001bc63b1 Core/Entities: Fixed an issue where creatures would not properly assist formation members in certain scenarios. Tagging #21967. 2018-08-28 16:16:37 +02:00
Treeston da21ca80fc Core/Unit: Some charm fixes:
* Properly restore react state after possession expires. Closes #20769.
* Possessed creatures now don't override player control with random/waypoint motion
* SmartAI creatures now properly re-aggress charmer after charm expires
2018-08-28 12:53:13 +02:00
Ovah bf8c6f220c Core/LFG: fixed random dungeon cooldown (#22321)
* Core/LFG: fixed random dungeon cooldown

The issue was that queuing up for random dungeons puts you into a queue for a already selected dungeon from the beginning so the dungeonId that we use here is actually the dungeonId that we will enter when out group is complete. We change that and use our selected dungeons as reference instead which contains the random dungeon at the very beginning (if we queued up for random dungeons so we check that too).
2018-08-28 12:18:19 +02:00
Treeston 2c030ed5e7 Scripts/Commands: .npc info now includes react state info 2018-08-28 12:05:05 +02:00
Keader 7611242530 Core/Spells: Mage slow need be negative
Was possible use Spellsteal vs Bosses
2018-08-27 21:13:55 -03:00
Treeston 4e5d1b7021 Core/Threat: Only send SMSG_THREAT_UPDATE if the threat list actually changed 2018-08-27 20:41:07 +02:00
Treeston 408ce48732 Core/Threat: Further tweak to assist threat, all CC now prevents assist threat splitting (not just damage-breakable CC) 2018-08-27 19:43:36 +02:00
Treeston 710488ea20 Core/Unit: Random code style/naming adjustments 2018-08-27 19:37:29 +02:00
Treeston 5cea572a9a Core/Threat: Threat system adjustments:
* Online states are now re-evaluated before victim update instead of continuously. Closes #22226. Tagging #21501.
* Victim update now happens every 1s as opposed to every server tick unless current target goes away.
* Suppressed threat is no longer re-established until the victim gains additional threat (by hitting the target, for instance).
* Assistance threat is now split between non-controlled units threatened by target, as opposed to all units threatened by target.
2018-08-27 19:08:17 +02:00
Treeston ce06767ef5 Core/Unit: Inline some unnecessary helpers. 2018-08-27 13:37:50 +02:00
PolarCookie 759c16f2be Chain heal won't bounce on 100% target now (#22136) 2018-08-26 14:24:56 -03:00
PolarCookie 151ed6f684 DB: Naxxanar and Voltarus teleporters
Closes #22311
2018-08-26 16:15:54 +02:00
Ovah bab06993e2 Core/Maps: initialize PositionFullTerrainStatus to avoid having issues with those variables (#22315) 2018-08-26 10:35:51 +02:00
Keader 183c6e630d Build fix 2018-08-26 01:52:15 -03:00
Keader 81a6e2e510 Scripts/Uduar: XT002 Rework (#21566)
Closes #21489
2018-08-26 01:14:18 -03:00
Keader 4d9c36c8c3 Utilities/EventProcessor: Added a overload to AddEventAtOffset accept rand time 2018-08-26 01:02:58 -03:00
Keader 0ebb315d6c Scripts/Black Temple: Fixed some issues on Illidan 2018-08-26 00:54:33 -03:00
Treeston d4ef2529e9 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed 2018-08-25 00:44:33 +02:00