Commit Graph

16193 Commits

Author SHA1 Message Date
Shauren
1ce8bf22fc Nopch fix 2019-06-15 19:04:21 +02:00
Gustavo
7fbae7530d Core/Scripts Rework boss Terestian Illhoof (Karazhan) (#19057)
(cherrypicked from 87f2cb04ca)
2019-06-15 18:41:09 +02:00
Keader
77a73a737c Build fix and codestyle
(cherrypicked from 8f00aa92de)
2019-06-15 18:41:09 +02:00
Afgann
afade22ffb Core/Scripts: Moorabi encounter updated. (#19013)
(cherrypicked from 21b5a377e4)
2019-06-15 18:41:09 +02:00
Shauren
be87c0e8b8 fix typo
(cherrypicked from 09cc6b3c33)
2019-06-15 18:41:09 +02:00
Shauren
48cc6f384d Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
Updates #19072

(cherrypicked from 74bb92a582)
2019-06-15 18:41:09 +02:00
ariel-
248fd9691b Core/Spell: properly add SPELLMOD_COOLDOWN to spells without initial cooldown
Closes #15605

(cherrypicked from 3a65c70657)
2019-06-15 18:41:09 +02:00
Kittnz
5291842a33 Game/Scripting: Add OnPlayerRepop hook
Called when a player presses release when he died

(cherrypicked from d550ba7392)
2019-06-15 18:41:09 +02:00
treeston
cc020b2a0f Core/Creature: Prevent boss creatures from ever respawning naturally.
(cherrypicked from 3ddcf40037)
2019-06-15 18:41:09 +02:00
ariel-
a29a157e34 Core/SmartAI: Delay SMART_ACTION_FORCE_DESPAWN by at least one world tick
- Restore old despawn behavior of SmartAI despawning (without reintroducing the run time logs caused by IsSmart)
- Some SAIs relied on this to function (for example #1249)

Partial reverts commit 4fc4c81e89

(cherrypicked from aa7ef797d6)
2019-06-15 18:41:09 +02:00
xinef1
3f7fe6f8a5 Core/Spells: Remade trajectory target selection (#19048)
* Remade trajectory target selection
* Added possibility to apply conditions to trajectory spells
* Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received

(cherrypicked from c6060dd0c5)
2019-06-15 18:41:09 +02:00
Gustavo
c53df2adb0 Core/Scripts Update boss Maiden of Virtue (#19058)
(cherrypicked from d06391d062)
2019-06-15 18:41:09 +02:00
xinef1
b711f0bcae Core/Spells: Added SPELL_FAILED_NOTHING_TO_STEAL error (#19036)
Corrected Dispel check in sanctuary area
Added root check for SPELL_EFFECT_JUMP and SPELL_EFFECT_JUMP_DEST

(cherrypicked from 3c605ba614)
2019-06-15 18:41:09 +02:00
xinef1
68cc366d88 Core/Spells: Corrected summon category SUMMON_CATEGORY_VEHICLE (#19052)
(cherrypicked from 227d5a9288)
2019-06-15 18:41:09 +02:00
Gustavo
384f2d636c Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
(cherrypicked from 169e150628)
2019-06-15 18:41:09 +02:00
xinef1
8d6d00dc15 Core/Spells: Corrected execution time calculation for dst targets (#19039)
(cherrypicked from c1ca852e16)
2019-06-15 18:41:09 +02:00
xinef1
d1cbd8a837 Core/Pets: Fixed flashing pet attack button (#18906)
(cherrypicked from 0fa38d0ae0)
2019-06-15 18:41:09 +02:00
Gustavo
2dcc2d0f05 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
(cherrypicked from ad8a71c084)
2019-06-15 18:41:09 +02:00
Keader
a73713b348 Core/Scripts: Updated Ruby Sanctum instance model
(cherrypicked from ce774918a7)
2019-06-15 18:41:09 +02:00
Keader
732f3ce377 Core/Ruby Sanctum: Improved General Zarithrian encounter
* Fixed spell timers
* Improved Codestyle
* Fixed minions number in 25 man
* Fixed movement
* Implemented DespawnAtEvade
*
(cherrypicked from c58dd6c166)
2019-06-15 18:41:09 +02:00
ariel-
3d30140e45 Core/Scripts: remove GMs from Sindragosa's Fury's targetlist
By Keader
Ref #18452
(cherrypicked from 317efd51ec)
2019-06-15 18:41:09 +02:00
Keader
83523177b2 Core/Scripts: Removed double check of CheckRequiredBosses in Sindragosa
(cherrypicked from 3c4dc3ec4f)
2019-06-15 18:41:09 +02:00
xinef1
67000a7826 Core/Spells: Properly send autorepeat cancel packet to self and fix some problems with autoshot (#18918)
Closes #13595
Closes #14460

(cherrypicked from 587786ce66)
2019-06-15 18:41:09 +02:00
Gustavo
1ddb9515eb Core/Scripts Fix issue with Lady Deathwhisper's door
(cherrypicked from f57132b795)
2019-06-15 18:41:09 +02:00
ariel-
2b0c73960b Core/Spell: unified handling of SPELL_ATTR5_USABLE_WHILE_* attributes
Allowed mechanic mask is calculated on startup and auras checked against those mechanics
Closes #18798

(cherrypicked from 3544577e48)
(cherrypicked from 53eb6ec616)
2019-06-15 18:41:09 +02:00
ariel-
6135ee1ad7 Core/Creature: don't allow turning if spell would cancel due to turning to face target
Closes #18549

(cherrypicked from 6b55faba06)
(cherrypicked from  c83092a127)
2019-06-15 18:41:09 +02:00
Keader
6e3ce8cf8b Core/Scripts: Fixed Crok event not starting
[*] Fixed Svalna entering in combat with people ouside of room
Closes #8186

(cherrypicked from 591a25500d)
2019-06-15 18:41:09 +02:00
Keader
7c760ad992 Core/Scripts: Fixed issues in Gal'darah fight
Closes #16219

* Added DespawnAtEvadeMethod
* Fixed Agro
* Implemented Stampede
* Fixed Rhino Spirit flags
* Updated codestyle

(cherrypicked from a884660d50)
2019-06-15 18:41:09 +02:00
Shauren
6bc8240385 Core/Misc: Fixed logging output 2019-06-15 10:22:58 +02:00
Shauren
5c3a06ab06 Core/Misc: Changed creature_template.family to int
Closes #23296
2019-06-15 10:22:33 +02:00
Shauren
6b29c4da76 Core/DataStores: Fixed crash when loading additional db2 locales 2019-06-12 20:24:33 +02:00
Shauren
c4f1144754 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2019-06-08 18:12:28 +02:00
Shauren
101f82855e Fix warnings and nopch build 2019-06-08 17:57:58 +02:00
Shauren
fbf05e69bb Core/Achievements: Define and implement new ModifierTree types 2019-06-08 17:10:10 +02:00
Shauren
bcaaa3d6f6 Core/DataStores: Updated db2 structures to 8.1.5 2019-06-08 17:10:00 +02:00
Shauren
82c7b6c568 Core/Items: Drop item random property and suffix - all random stats must be given using bonus lists 2019-06-08 17:09:20 +02:00
Shauren
455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +02:00
Shauren
31fda79556 Core/PacketIO: Updated packet structures to 8.1.5 2019-06-08 17:03:15 +02:00
Shauren
d180944f59 Core/AreaTriggers: Document scale curve fields 2019-05-05 17:54:39 +02:00
Aokromes
91409cc77e Core/SAI: Add a 5th parameter to SAI events
CP of 1c60af6328

By jackpoz
2019-04-30 13:03:49 +02:00
Shauren
ca112b0dae Removed a bunch of "reserved" SAI actions 2019-04-18 00:00:15 +02:00
Aokromes
b28d55b3dc Update SmartScriptMgr.h 2019-04-17 23:51:48 +02:00
Aokromes
0bb8f69164 Core/SmartScripts: Reserve SMART_ACTION_PLAY_CINEMATIC 2019-04-17 22:09:02 +02:00
Shauren
bcda8dd742 Core/Dep: Boost 1.70 compatibility 2019-04-14 00:13:23 +02:00
Shauren
f729050900 Core/Maps: Ensure all child terrain maps are created before doing anything on parent map such as loading respawn times and corpses 2019-04-06 11:13:34 +02:00
Shauren
81dd8574bb Core/PacketIO: Removed old and unused ByteBuffer functions 2019-04-01 22:27:24 +02:00
Shauren
16e06a5392 Core/Mail: Defined new mail message type 2019-03-07 23:12:43 +01:00
Shauren
25594c5a8e Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
2019-02-16 17:37:16 +01:00
Shauren
d5992f7711 Core/Spells: Add missing spell and aura effect handler array entries
Closes #23015
2019-02-04 16:47:41 +01:00
Kittnz
83e6fde066 Core/Objects: increase sight range of all Infinite, Gigantic and Large objects & correct general default visibility distance (#22892)
Note: This does not make the object active.

Some info on range
https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74950924/Lua+Scene+Script+Documentation#LuaSceneScriptDocumentation-ActorAOIRange

#21111 #21681 #22891

Thanks Kinzcool & Kelno
2019-01-16 20:48:01 +01:00