| Age | Commit message (Collapse) | Author |
|
standard container naming
|
|
|
|
|
|
|
|
PrepareAuraScript uses
|
|
Co-authored-by: Shauren <shauren.trinity@gmail.com>
|
|
|
|
(#28863)
|
|
|
|
|
|
(cherry picked from commit 63275e7316ad6b3256640841fdd8210c62b2c120)
|
|
* Also fixed Felmyst not spawning after server reset if Brutallus was killed
Closes #27904
(cherry picked from commit 46560070ae610e4c85dfbbe37b24d2b4b4071405)
|
|
(cherry picked from commit 8962d802249f002f8fe408004945d5736a118175)
|
|
(cherry picked from commit 3808e614d9760a2588fec0c1b0b4c30feda36dcc)
|
|
|
|
(cherry picked from commit ef4c878d260c0e01a6ab2f4391af46c261d04785)
|
|
(cherry picked from commit c4741a131a0a28b69c228d3637beab7090e5f1e3)
|
|
UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
* Update scripts
(cherry picked from commit 0800ab20a8039620fd271a43c173c008af68c22a)
|
|
(cherry picked from commit ec3b571ecaa21cac3aaf35075b21767424bca4bf)
|
|
(cherry picked from commit e7e47866066f0b318c986c355dc4476b5948e622)
|
|
(cherry picked from commit 03c727326dce5d990fd453f42a92300dbd68dc0e)
|
|
(cherry picked from commit 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
|
|
(cherry picked from commit 3cb70ee62a3f30ae492a6985b5306052d90c89c4)
|
|
|
|
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
(cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
|
|
remove it
(cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
|
|
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
|
|
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset).
Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool)
(cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
|
|
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);
(cherry picked from commit 1131229ee9c43704b11187f0b11c327db92018b6)
|
|
(cherry picked from commit d1a39a2ebf3bb55998696c424cd58f3fcdedd66a)
|
|
(cherry picked from commit f5076112cb25bff877a450a14fe20172e9044081)
|
|
(#25019)
Contributes to #25012
(cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
|
|
* game/AI: Convert SelectAggroTarget to enum class
* game/AI: Rename SelectAggroTarget to SelectTargetMethod
(cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
|
|
* Core/AI: refactor SpellHit and SpellHitTarget.
- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods
* Restore logic in Algalon script
* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2
* Fix build after merge
(cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
|
|
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
|
|
(cherry picked from commit 37ffdc05b23f079af3e22d7042f6ffe240e69cd5)
|
|
(cherry picked from commit 434cdb1fa0f5d2ea282c044771b96c9b0ad17f53)
|
|
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
|
|
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
|
|
DoCastSpellOnPlayers handling
(cherry picked from commit 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21)
|
|
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)
* Scripts/Misc: Fix build
* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()
* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too
* Fix build
* Core/TempSummons: Allow GameObject to be owner of TempSummon
* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon
* Scripts/Misc: Fix no-pch build
* Core/TempSummons: Implement PR comments
(cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
|
|
* Unify Chrono Literals
* Retire IN_MILLISECONDS
* Build fix
* Build fix (sequel)
* Retire urand()
* Edge cases
* Build
* Whitespaces
* More edge cases
* Additional cases
(cherry picked from commit 5b0f4009df4cde413c92c73467ca9a63e79a772b)
|
|
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
(cherry picked from commit 982643cd96790ffc54e7a3e507469649f3b074d2)
|
|
good.
(cherry picked from commit 4692e10ca2ffed5ba2a0336e9c93962b0fad9eaa)
|
|
|
|
another method for it (#20725)
(cherry picked from commit 56874b44f0625f80442ea906f487e3253bdd16eb)
|
|
target selection (Boss Kalecgos)
(cherry picked from commit 14b6e3bbb36e4b5ec5212ed2a3bf5eb0012e095f)
|
|
Since cb9e72e521d3cc415dd15bf6912c87f89e41b92a attacker may not be in world when hook is called
(cherry picked from commit 0db5c2df3fe56f42293865e87ec781cd4d41598b)
|
|
- 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
(cherry picked from commit cb9e72e521d3cc415dd15bf6912c87f89e41b92a)
|
|
now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
(cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
|