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
Keader
0ebb315d6c
Scripts/Black Temple: Fixed some issues on Illidan
2018-08-26 00:54:33 -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
2ef9d301f0
Misc: Pass std::chrono types by value everywhere.
2018-07-18 17:48:15 +02:00
Keader
c9b09fc2cb
Scripts/Black Temple: Removing double hook call in Spiritual Vengeance
...
(i realy dont remember why i did it lol)
2018-07-15 19:53:31 -03:00
illfated
0004531081
Creature/Script: remove obsolete script npc_skywing ( #22147 )
...
- replaced with SAI script for the same quest and creature (Skywing)
Ref. https://github.com/TrinityCore/TrinityCore/issues/22078#issuecomment-399760597
2018-07-11 05:13:59 +02:00
sirikfoll
35ba5aa138
Scripts/TheSlavePens: Boss Ahune fixes and updates
...
Fixes some visual problems
Fixes encounter start
Updated codestyle
Closes #22071
2018-06-22 13:47:02 -03:00
Gildor
eb6e240fd1
TheSlavePens/Ahune: Fix crash ( #22070 )
...
Closes : #22069
2018-06-22 09:24:52 -03:00
ZenoX92
5f69a8de70
DB/Quest: Escaping the Tomb
...
Closes #22033
2018-06-17 15:26:41 +02: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
Keader
65bad41144
Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight
...
It's needed for cataclysm+
2018-05-29 11:38:37 -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
Keader
99993a7f62
Scripts/Magtheridon: Fixed Magtheridon inaccessible
...
Closes #21693
2018-03-26 16:24:46 -03:00
ariel-
94333b734d
Core/Misc: nopch fixes, hopefully the last
2018-03-09 16:14:42 -03: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-
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
Wyreth
56874b44f0
Core/Entities: remove grid-wide visibility from setActive and implement another method for it ( #20725 )
2018-02-17 15:09:54 +01:00
Keader
63c436f5fb
Core/Scripts: Fixed some delayed enrage
...
Closes #15367
2018-02-14 17:32:29 -03:00
Keader
31ad6358fb
Core/Scripts: Fixed tabs issues introduced in 5bef3e426a
2018-02-08 10:16:19 -03:00
Keader
5bef3e426a
Core/Scripts: Fixed possible crashs related with JustDied
2018-02-08 10:05:08 -03:00
ariel-
7c9722a4ae
Core/Entities: killed Creature::SetInCombatWithZone and replaced with AI version
...
Closes #12108 (again)
2018-01-22 15:00:55 -03:00
Kittnz
8f64612cb1
Scripts/Outland: Fix logical error in Hellfire event in Honor Hold
2018-01-21 14:40:56 +01:00
ariel-
9f5d1e2b10
Core/Scripts: fix wrong uses of SetHitDamage hook.
...
This hook modifies damage AFTER it has been reduced by target auras/armor/resistances etc, it's useful if you want to scale damage by a factor, but not to add flat bonuses.
We're fixing those by moving calculation to Launch phase, where target taken bonuses haven't been used yet.
- Bronjahm: Magic's Bane
- BPC: Shadow Prison
- Oculus: Shock Lance
- Ymiron: Dark Slash (extra fix, it was wrongly damaging half of total health, it's supposed to be half of CURRENT health!)
- DK: Raise Ally Thrash spell (also extra fix: corrected formula)
- Warrior: Bloodthirst (shouldn't matter much as it's damage class none and those don't get bonuses by default)
- Warrior: Concussion Blow
- Warlock: extra fix for Haunt, healing part shouldn't scale with spell power
Closes #9560
2018-01-20 21:09:22 -03:00
ariel-
0db5c2df3f
Core/Scripts: added nullptr checks to DamageTaken hooks
...
Since cb9e72e521 attacker may not be in world when hook is called
2018-01-18 13:58:40 -03:00
ariel-
3b01cccd7e
Core/Spell: SpellValueOverrides encapsulation
...
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
2018-01-13 20:49:43 -03:00
ariel-
cb9e72e521
Core/Auras: removed caster dependency from core
...
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813 ) crit handling
Closes #19876
2018-01-13 06:45:21 -03:00
Kittnz
acc73d4693
Scripts/Outland: Implement Hellfire event in Honor Hold ( #21110 )
...
* Script/Outland: Implement Hellfire event in Honor Hold
This is hourly, event is only 60 seconds long.
2018-01-12 19:27:56 +01:00
ariel-
fd7fff80c9
Core/Scripts: fix Millhouse Manastorm resetting dialogs after Skyriss encounter
...
Closes #21159
2018-01-02 11:45:09 -03:00
ariel-
036a05458e
Core/Scripts: cast "Trial of the Naaru: Tenacity" credit spell when criteria is achieved
...
Closes #21155
2018-01-02 03:35:02 -03:00
ariel-
f8b148c334
Core/Scripts: fixed npc immunity flags during Harbinger Skyriss encounter
...
- Added missing _Reset
- Properly register Skyriss summons in SummonList
Closes #21154
Who ordered up an extra large can of whoop-ass?
2018-01-02 03:24:37 -03:00
tkrokli
f6b6f57a6d
Update copyright note for 2018
...
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
Treeston
6113b9dec2
Core/AI: Some more refactoring prep for #19930 . CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
2017-12-31 03:23:42 +01:00
Treeston
d507a7e338
[3.3.5] CastSpell unclusterfucking (that's a word now) ( #21123 )
...
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation.
- CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments
- This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one
- It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object.
- A gajillion refactors to make everything behave the way it always has
2017-12-30 20:28:41 +01:00
Keader
465b43fabe
Core/AI: Making guid const& in SetGUID method ( #21128 )
2017-12-27 22:17:13 +01:00
jackpoz
ad56299846
Core/Misc: Fix static analysis issues
2017-12-25 16:34:36 +01:00
ariel-
7fb70e74f2
Core/Scripts: nopch fix
2017-12-15 20:19:55 -03:00
ariel-
ea0224e3bd
Core/Scripts: travis fixes
2017-12-15 02:51:48 -03:00
ariel-
a36e804ae4
Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts
2017-12-15 01:46:52 -03:00
ariel-
5d91beb1db
Core/Auras: periodics refactor part 1:
...
- Don't skip ticks if diff is greater than amplitude
- Fixed spells without ampltude in DBC
2017-12-15 00:25:58 -03:00
jackpoz
0daa170a2c
Core/Misc: Fix static analysis issues
...
Fix static analysis issues reported by 3rd party tools
2017-12-08 15:21:13 +01:00
Aokromes
59e94fd9bb
Misc: More cleanup
2017-11-25 02:39:27 +01:00
Aokromes
5f2c5f2ed3
Misc: Kill trailing white spaces
2017-11-25 01:05:15 +01:00
Andrew Letson
4d338b1d4d
DB/Scripts: Terokkar Forest SAI migration
2017-11-20 19:36:37 +01:00
Shauren
805024a780
Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
...
Ref #20317
2017-11-16 20:25:02 +01:00
Keader
cb3627ca62
Core/Scripts: Fixed Charge behavior on Illidan encounter
...
"If any raid member is farther away than 25 yards from *both* Blades, one of the Flames charges that player and enrages"
2017-11-14 20:37:14 -03:00
jackpoz
06ea65b0e6
Core/Misc: Fix static analysis issues
2017-11-12 15:46:56 +01:00
jackpoz
9b7c73a19d
Core/Misc: Fix static analysis issues
2017-11-12 12:38:18 +01:00
jackpoz
7e73f5f1ed
Core/Misc: Fix static analysis issues
2017-11-11 20:03:35 +01:00
Keader
78f4f54f81
Core/Scripts: Updated Black Temple to new Creature/Spell/Aura/GOB model
...
Fixed some codestyle issues.
Removed ENSUREAI
2017-11-10 11:28:59 -03:00