ariel-
83162fafa4
Core/AI: Build fix
...
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-03-28 02:41:50 -03:00
ariel-
2f99fa09c9
Core/AI: AreaBoundary refactor
...
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-03-28 01:52:49 -03:00
ariel-
66a70088f4
Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
...
- Cleaned up the mask to be a much nicer enum definition
2017-03-27 03:24:37 -03:00
ariel-
c8bf1ab5f7
Core/Global: reserve storage for script names vector
2017-03-27 02:59:26 -03:00
xinef1
e72b380b93
Added new creature extra flag which makes npc visible only to dead units
...
closes #19333
* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql
- file affects creature removed in patch 4.0.3a
* Update Creature.cpp
2017-03-27 06:41:53 +02:00
ariel-
8e1e081d6c
Core/Scripts: implemented enchant Blade Warding
2017-03-26 14:19:20 -03:00
ariel-
00b547146d
Core/Gameobject: remove virtual from GetScriptId, it's not overriden
2017-03-26 13:40:32 -03:00
tkrokli
6e08051825
Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location ( #19029 )
...
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.
The changes in this PR makes the action work as intended.
Closes #18760
2017-03-26 18:09:46 +02:00
Aokromes
596320ba15
Typo fix
2017-03-26 14:14:20 +02:00
Aokromes
0999ef0b77
Core/Scripts: Add support for spawn specific C++ scripts
...
By Krudor
2017-03-26 13:32:28 +02:00
Aokromes
41a7089026
Core/SmartAI: Missing parts on previous commit
...
By Malcrom
2017-03-26 01:04:35 +01:00
ariel-
01aaafb083
Core/Auras: fix a deleted memory access crash
...
Closes #19319
2017-03-25 16:26:44 -03:00
ccrs
2b5c765bcd
Fix warning
...
field '_top' will be initialized after field '_owner'
2017-03-25 13:21:01 +01:00
ccrs
9be7f5f57b
Core/Movement: 96f4c7c followup
2017-03-25 13:17:29 +01:00
ccrs
96f4c7c187
Core/MotionMaster: cleanup use of _expireList
...
And restore broken _cleanFlag check/use on update (eca3645d8b )
2017-03-25 12:33:39 +01:00
ccrs
bf56049f2f
Core/Unit: cleanup UnitState enum
2017-03-25 12:16:13 +01:00
ccrs
fce974c3b3
Core/Movement: cleanup MovementGeneratorType
2017-03-25 12:02:25 +01:00
Gustavo
2792046dc7
Core/Scripts: minor fixes in boss_the_lich_king ( #19311 )
...
Closes #4427
Closes #7091
2017-03-24 08:59:04 -03:00
ariel-
b74cc80859
Core/Scripts: Updated Ulduar instance model
...
- Codestyle/indent fixes
- Added ObjectData for some GOs
- Added GetUlduarAI to creatures
- Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)
2017-03-23 17:15:02 -03:00
Aokromes
986d830ae7
Core/SmartAI: Implement SMART_TARGET_VEHICLE_ACCESSORY
...
By Malcrom
2017-03-23 03:58:03 +01:00
Chaouki Dhib
a1f2f30c14
Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] ( #16290 )
...
Core/Spells: Fix wrong distance calculations in AoE spells.
Pull request #16290 by chaodhib.
God bless, finally.
2017-03-23 00:43:04 +01:00
ariel-
a88d4e9b00
Core/Misc: remove some weird and unneeded code
2017-03-21 19:21:11 -03:00
S.V
eea16ce356
Core/Creatures: Fixed GMs being considered in party/raid with nearby creatures without CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT
...
Ref #19340
2017-03-21 17:27:14 +01:00
Sebastien Levy
0bfa38e9fc
Fixed dynamic linking ( #19341 )
2017-03-21 17:19:17 +01:00
ariel-
8ca1e2d2d0
Core/Misc: fix dynamic linking
2017-03-21 01:47:21 -03:00
ariel-
8be85a5408
Core/Misc: cache server MOTD and properly format it for RA and when issuing .server motd
2017-03-21 00:51:13 -03:00
treeston
2a462e9309
Spell/Aura: Fix handling of max power reducing debuffs when removed. Fixes issues with Reliquary of Souls encounter.
2017-03-20 22:47:41 +01:00
Keader
333a403409
Core/Scripts: Fixed wrong calculation of Aura of Desire
...
Closes #19322
2017-03-20 16:49:42 -03:00
xinef1
81d011170d
Core/Items: Fixed durability problems for wrapped item ( #19003 )
2017-03-20 18:34:20 +01:00
ariel-
4096b02a56
Core/Spell: fix an issue with vehicle spells changing orientation of base vehicle
...
Closes #17234
2017-03-20 12:35:09 -03:00
ariel-
6f69f67f78
Core/Scripts: Updated Zul'Aman instance model
...
- Codestyle/indent fixes
- Use of DoorData and ObjectData
- Added GetZulamanAI for creatures
- Moved bosses to BossAI
2017-03-20 01:04:21 -03:00
ariel-
9cfa7c752e
Core/AchievementMgr: fix integer underflow neglecting already completed realm firsts
...
Closes #19334
2017-03-19 19:33:30 -03:00
ariel-
b53d0530cd
Core/Entities: don't finalize movesplines before deleting.
...
- The whole MotionMaster will be destroyed along with the unit, freeing the allocated memory.
Closes #19324
2017-03-19 18:19:14 -03:00
robinsch
d209aaa00f
Core/Social: Implement FRIEND_STATUS_RAF ( #19317 )
2017-03-19 16:47:56 +01:00
Golrag
020a6b984d
Core/Object: Fix Line of Sight issue with object edges
...
Fixes: https://github.com/TrinityCore/TrinityCore/pull/15807#issuecomment-268077802
2017-03-19 10:32:39 -03:00
jackpoz
9226e21205
Core/Crash: Refactor and fixes
...
Code cleanup.
Fix buffer overflow crash.
Fix type being truncated to 199 characters.
2017-03-19 11:57:40 +01:00
ariel-
36bb4cabae
Core/Spell: add assert checks on SpellMgr::CheckSpellGroupStackRules
...
Ref #19319
2017-03-19 04:11:55 -03:00
ForesterDev
5d562556c3
Core/SocialMgr: fix case when contacts appears in friend list many times
...
Closes #19306
2017-03-18 11:07:41 +01:00
Chazy Chaz
a63bd06ec6
Core/Players: Rename "heroic character" to "death knight"
...
Closes #19287
2017-03-17 19:03:59 +01:00
ariel-
e33263c677
Core/Pet: load template immunities when creating (except for hunters)
...
Fixes #19275
2017-03-17 13:12:37 -03:00
ariel-
7a38eaa5a1
Core/Unit: properly reset displayIds when having a shapeshift aura active
...
Closes #19309
2017-03-17 12:35:10 -03:00
ariel-
3b27a06265
Core/Quests: fixed exclusivegroup interaction with prevquestId and nextQuestId.
...
- They should work as documented by wiki now.
- Add some consts to Player methods
- Fixed negative PrevQuestID to mean only active quest (ie not rewarded/complete, as those quests are required to complete another)
Closes #19300
2017-03-16 02:55:48 -03:00
ariel-
dca276716f
Core/Quests: changed quest_template_addon.NextQuestID to unsigned
...
- No reason to keep this anymore after 4349adf0f2 , this is a broken functionality.
2017-03-16 01:27:13 -03:00
ariel-
076293f1f2
Core/Globals: some changes in quest loading
...
- Made load/reload associated quest tables data-driven, so removed a bunch of similar looking code from ObjectMgr (yay!)
- Codestyle and encapsulation for ExclusiveQuestGroups
2017-03-16 00:57:53 -03:00
ariel-
09701b0229
Core/Globals: Fix Quest codestyle and member variable initialization
2017-03-16 00:57:53 -03:00
Shauren
14abd1f587
Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue
...
(cherry picked from commit cmangos/mangos-wotlk@ea3e08a812 )
2017-03-15 21:41:58 +01:00
ariel-
9f2f7ebf51
Core/Auras: unregister AuraEffect from target list before changing amount, forces recalculation at stack change
...
Closes #19301
2017-03-15 13:46:56 -03:00
ariel-
5eac21098e
Core/Auras: use vectors and remove HasEffect check
...
- Already checked in GetApplicationList
2017-03-15 13:44:24 -03:00
ariel-
c1afabbf03
Core/Auras: make AuraEffect::GetTargetList and AuraEffect::GetApplicationList accept any container
2017-03-15 13:37:56 -03:00
ariel-
f7758954f7
Core/Scripts: add condition check for npc_wyrmrest_defender
...
minor code refactors
Closes #19299
2017-03-14 20:38:16 -03:00