Commit Graph

2162 Commits

Author SHA1 Message Date
Keader
1fe8fe30de Scripts/Ulduar: XT002 Crash fix
Closes: #22545
2018-09-30 02:44:24 -03:00
Killyana
0b0bbe4330 Fix warning 2018-09-25 20:09:44 +02:00
Killyana
a3c20cea2d Creature/Script: Wyrmrest Defender
Closes #22500
2018-09-25 20:02:07 +02:00
Trond B. Krokli
013d50f169 Scripts/Quest: Defending Wyrmrest Temple (#22513)
- use DB gossip instead of `#define` (deprecated)

Updates #22500
2018-09-25 16:55:28 +02:00
Killyana
868f810e11 DB/Quest: Hah...You're Not So Big Now!
Closes #22478
2018-09-21 15:29:34 +02:00
ccrs
2a78f4eb7c Scripts/ICC: 2e4358f726 followup
ref 2e4358f726 (r30588551)
2018-09-21 14:44:51 +02:00
ccrs
da19663514 Scripts/ICC: 2e4358f726 followup
std::list does not provide random access
2018-09-20 17:45:01 +02:00
ccrs
2e4358f726 Scripts/ICC: update Unchained Magic target selection
because we all love retri paladins and hate healers, right?, right?
2018-09-20 17:13:07 +02:00
DanVS
5b0f4009df Core/Scripts: Unify Chrono Literals (#22420)
* Unify Chrono Literals

* Retire IN_MILLISECONDS

* Build fix

* Build fix (sequel)

* Retire urand()

* Edge cases

* Build

* Whitespaces

* More edge cases

* Additional cases
2018-09-17 18:38:22 +02:00
ccrs
8ebf375183 Build: missing case from previous commit 2018-09-12 18:20:47 +02:00
Full-Stack Developer
8f60d48ea9 Scripts/VoA: Update events to use std::chrono (PR #22415) 2018-09-11 00:12:00 +02:00
Full-Stack Developer
3c5b1f0258 Scripts/VoA: Archavon no longer leaps in melee range (PR #22414) 2018-09-10 18:49:10 +02:00
Aokromes
cc49b7bb30 kill some whitespaces 2018-09-09 16:15:45 +02:00
Keader
ca7ee982db Scripts/Ulduar: Algalon the Observer fixes (#22320) 2018-08-31 21:48:56 -03: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
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
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
Treeston
042f5515e4 Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans 2018-08-23 16:34:42 +02:00
Treeston
c00a2efb21 Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f 2018-08-22 21:51:16 +02:00
Treeston
eb1972f21d Core/AI: Some cleanup to DoZoneInCombat and Malygos' AI that I found while working out #22226. 2018-08-20 19:04:21 +02:00
Keader
8b9d18f29c Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes
Closes #21420
2018-08-18 22:46:03 -03:00
Shauren
6cf12bcb4c Scripts/Icecrown Citadel: Fixed target selection for Vampiric Bite and Blood Mirror after threat rewrite
Closes #21537
2018-07-28 16:31:45 +02:00
Treeston
2ef9d301f0 Misc: Pass std::chrono types by value everywhere. 2018-07-18 17:48:15 +02:00
Keader
3102a6c903 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand part 2
(I forgot the clones, ty Gildor)
2018-06-08 19:02:52 -03:00
Keader
8a312046b2 Scripts/Ruby Sanctum: Fixed Baltharus target amount of Enervating Brand 2018-06-07 22:45:06 -03:00
Keader
ee7c0c16f1 Kill a whitespace 2018-06-04 22:18:26 -03:00
Keader
6cf8bd5ae7 Scripts/Pit of Saron: Fixed Ick not updading victim
Closes #22001
2018-06-04 21:52:22 -03:00
ccrs
982643cd96 Core/Movement: MotionMaster reimplementation (#21888)
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
2018-06-03 10:06:57 -07:00
jackpoz
953640d563 Scripts/Icecrown Citadel: Fix "intended" crash
Change an assert (that can happen easily using ".npc add") to a sanity check
2018-05-05 19:46:45 +02:00
Treeston
1d27f83bda Core/Threat: My dictionary informs me that "fixtate" is not, in fact, a word. Corrected to "fixate".
fd33b1c follow-up
2018-05-04 21:57:18 +02:00
Treeston
081eab3cf5 Core/Unit: UNIT_FLAG renames
[UNIT_FLAG_PLAYER_CONTROLLED -> UNIT_FLAG_POSSESSED]
[UNIT_FLAG_PVP_ATTACKABLE -> UNIT_FLAG_PLAYER_CONTROLLED]
Signed off by: Shauren, Warlockbugs.
2018-05-02 19:09:37 +02:00
Jorge Turrado Ferrero
f13de80834 Scripts/Ulduar: Fixed Vehicles when flame leviathan die(#21897) 2018-05-01 20:11:40 -03:00
ccrs
2a45418032 Core/Movement: move MoveSplineInit (#21857)
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.
2018-04-23 20:33:14 +02:00
ariel-
bcc7427fbc Core/Misc: whitespace/tab cleanup 2018-04-02 20:37:44 -03:00
Treeston
ebc96af6bb Core/Object: Bump hover delta handling on nearpoints downstack into GetNearPoint2D (from movement generators); functionality should be unchanged 2018-04-01 18:27:29 +02:00
Treeston
4692e10ca2 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good. 2018-04-01 13:52:36 +02:00
ariel-
f87da3a306 Scripts/ICC: use script searchers instead of saving list of creature pointers
Closes #21644
2018-03-19 14:59:26 -03:00
Treeston
43491ba7f4 Scripts/Naxxramas: Fix an issue that could cause Sapphiron to stop using Drain 2018-03-11 13:05:41 +01:00
ariel-
45c5e1b9d6 Core/Spells: rework part 5: GameObject casting
Closes #21330
Closes #18885
Ref #18752
2018-03-09 14:41:28 -03:00
ariel-
080d2c6cd4 Core/Spells: rework part 4: iterate over effects first
Ref #18395

Implement far spell queue processing
Closes #7395
2018-03-09 14:41:28 -03:00
Shauren
241109327b Core/Creatures: Remove hover on death 2018-03-08 23:13:51 +01:00
joschiwald
e9aba10695 Scripts/Misc: Fixed hover movement for Stormcaller Brundir 2018-03-08 23:13:51 +01:00
Chaouki Dhib
510bc0b7a0 Scripts/Misc: Hover script fixes 2018-03-08 23:13:51 +01:00
Treeston
df639d85e4 Core/CreatureAI: CheckBoundary -> IsInBoundary, better reflects what it does. Also moved to public so spellscript can use it. 2018-03-08 18:41:46 +01:00
ariel-
0c1e485e13 Core/Entities: ghouls start with full energy 2018-03-07 04:19:06 -03:00
ariel-
6e0b9a7916 Core/Creatures: port power type updates from master branch
Core/Misc: Added helper function Unit::SetFullPower
Cherry-picked from 8199eef81c

Core/Creatures: Updated power type handling (#20981)
Cherry-picked from 16a7a414ab
2018-03-07 03:34:45 -03:00
ariel-
98d6258efd Core/Entities: kill unused return value from Unit::HandleSpellClick
- AI hook will now receive the result by copy, as modifying it had no effect
- Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo>
2018-02-24 15:52:09 -03:00