Commit Graph

27676 Commits

Author SHA1 Message Date
MrSmite
05020ff42e DB/Quests: (More) Components of Importance
Fix class restrictions for Dungeon Set 2 armor quests

- Components of Importance (8962,8963,8964,8965)
- More Components of Importance (8985,8986,8987,8988)

Updates issue #19375
2017-03-30 18:44:02 +02:00
Killyana
ae624c7d81 DB/SAI: Restore some deleted SAI scripts
Closes #19381
By @Vyrsenth
2017-03-30 04:41:02 +02:00
tkrokli
e0a99d689a Add missing event_flags in SAI scripts (DBErrors)
DBErrors.log: Missing Repeat flag. (385 lines)
Error message reported by SmartAIMgr::LoadSmartAIFromDB
2017-03-30 00:40:27 +02:00
Aokromes
d0a1a5de0b Rename 2017_04_27_01_world.sql to 2017_03_27_01_world.sql 2017-03-29 19:48:20 +02:00
Gustavo
85af0a0630 Core/Battlegrounds: disable health regen for battleground vehicles (#19183)
Updates issue #950
2017-03-29 11:28:06 +02:00
tkrokli
f6f36be004 Scripts: minimize duplicated enum names in header files (#19377)
* Scripts: Minimize duplicated enum names in header files

This reduces the number of cache resets with the Zapcc compiler

- Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc
- Partial cherry-pick of master commit 7eb4512eee
- Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)
2017-03-29 10:06:06 +02:00
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
Killyana
97e54fe458 DB: Fix Some DB errors
Ref #18542
2017-03-27 21:18:33 +02: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
Aokromes
05cbe86455 Rename 2017_99_99_99_world_335.sql to 2017_03_27_00_world_335.sql 2017-03-27 06:48:21 +02: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
Aokromes
5bc4b5d6f4 Update characters_database.sql 2017-03-27 02:12:11 +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
de4043097e DB/Quest: Challenge Overlord Mok'Morokk
By Fearless18, closes #5208
2017-03-26 01:37:49 +01:00
Aokromes
ff816f404d DB/Item: Improved Land Mines
By Rushor, closes #10205
2017-03-26 01:26:35 +01:00
Aokromes
41a7089026 Core/SmartAI: Missing parts on previous commit
By Malcrom
2017-03-26 01:04:35 +01:00
Aokromes
5b38194247 DB/Creature: Fix Verifonix faction and reputation
By offl, Closes #19323
2017-03-26 00:16:37 +01:00
Aokromes
e4492dd0bd DB/Creature: Fix Guardian of Icecrown creature_text typo
By TecDian
Closes #19226
2017-03-26 00:10:03 +01:00
ariel-
01aaafb083 Core/Auras: fix a deleted memory access crash
Closes #19319
2017-03-25 16:26:44 -03:00
Aokromes
9d6902331b Rename 2017_03_25_00_world.sql to 2017_03_25_01_world.sql 2017-03-25 13:34:11 +01: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
tkrokli
3e22222716 DB/GameObject: remove 4 new DBErrors
These 4 gameobject entries were removed from Zul'Aman
in commit 226a69f5dc
but went unnoticed because of deletion by map.
2017-03-25 11:18:49 +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-
226a69f5dc DB/Gameobject: add missing gameobjects to Zul'Aman
Taken from UDB
2017-03-20 01:25:50 -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
tkrokli
50c8672f42 DB/Quests: startup errors in quest_mail_sender table
Startup errors related to commit d4e15f1aac

- Draenei & Blood Elf Orphan QuestId and RewardMailSenderEntry were switched
- Oracle & Wolvar QuestId were from 4.0.3a and higher (not valid on 3.3.5)
2017-03-20 04:29:52 +01: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