| Age | Commit message (Collapse) | Author |
|
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
|
|
|
|
|
|
|
|
UnitAI::DamageTaken (#26787)
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
* Update scripts
(cherry picked from commit 0800ab20a8039620fd271a43c173c008af68c22a)
|
|
Co-authored-by: offl <offl@users.noreply.github.com>
(cherry picked from commit 9f188d70feda35ec3883bc504101a2b60583f694)
|
|
* No functional changes
(cherry picked from commit 799d5376d8d7e2c9c0fc1e27cfadf2669a8724d0)
|
|
(#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)
|
|
* 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)
|
|
now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
(cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
|
|
- 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.
(cherry picked from commit 184c45cfe0fbe4f3e4fb701f0f99994df98bdc8a)
|
|
(cherry picked from commit 4c4dca6d694bd1064b403a31a5b1c776a326f3ce)
|
|
|
|
auto happy = new year(2019);
|
|
auto happy = new year(2018);
|
|
|
|
|
|
UNIT_STATE_CASTING after each iteration, instead of just checking it once initially.
Fixes and closes #17892.
(cherry picked from commit ac62d7156f93bf86f57dbad1f24f14031322fd5a)
Drycoding is bad, mmkay?
(cherry picked from commit ed83a35fbeeb7f9005fe4792225fb50700791c6f)
|
|
Happy new year
|
|
(cherry picked from commit 1050b68899c661ea09da9e36edb82e8648393673)
|
|
Happy new year (Again new year with idiots ...)
|
|
Happy new year
|
|
|
|
|
|
|
|
|
|
|
|
spotted typo
|
|
- Updated to EventMaps
- Removed manual spawning of Water Elemental by using proper spell
* The Water Elemental has a duration, it'll despawn once it's over. She'll resummon it during the encounter if it dies or disappears.
* Fixes it's level scalling with owner.
- Moved Water Elemental AI to database.
- Script update
** Patch 3.1.0 (14-Apr-2009): Now casts Ice Block.
|
|
First batch of fixes targeting 100 issues reported by Coverity
|
|
Closes #12861
|
|
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
|
|
|
|
without warnings with -Wall -Wextra -pedantic.
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
|
|
OVERRIDE, FINAL, DELETE_MEMBER
|
|
Fix some static analysis issues about:
- uninitialized values, most of which are false positives, always initialized before being accessed
- unchecked return values
- dead code never executed
- bad formatting leading to wrong behavior
Please ensure EventMap is never used with event id set to 0 or those events will never execute.
|
|
Happy new year.
|
|
Fix some static analysis issues about uninitialized values in scripts.
Add spell id validation in Unit::SpellNonMeleeDamageLog() .
|
|
|
|
|
|
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not support C++11)
|
|
Note: Have fun :P
|
|
DoCastVictim(SPELL_XXX);
|
|
|
|
primitive types passed by value
|
|
Happy new year.
|
|
|
|
|
|
|