Commit Graph

21898 Commits

Author SHA1 Message Date
treeston
a23ccc1b83 Scripts/Naxxramas: Fix an edge case crash in Gothik. Closes #16575. 2016-02-12 12:18:17 +01:00
Shauren
9f6a7c7526 Merge pull request #16548 from Keader/omen
[3.3.5][6.x]Core/Scripts Fix multiple summon of Omen (Lunar Festival)
2016-02-12 10:04:49 +01:00
Keader
8130de1b9a Fix multiple summon of Omen (Lunar Festival) 2016-02-11 19:08:50 -03:00
treeston
8e6fb3b1c5 Core/AI: Fully move react state check from CreatureUnitRelocationWorker to CreatureAI::MoveInLineOfSight. This means that AI for passive/defensive creatures can now once again use MoveInLineOfSight (and fixes that weird thing where triggers decided it would be funny to attack players). 2016-02-11 18:36:01 +01:00
Shauren
7f817a4fc0 Core/Scripts: Fixed calling UnitScript hooks
Closes #16543

(cherry picked from commit f809e5e13e)
2016-02-11 16:36:08 +01:00
joschiwald
b4b43d03b3 Core/Spells: spells with SPELL_ATTR1_NO_THREAT also causes no initial aggro 2016-02-10 22:35:23 +01:00
treeston
62aff401f6 Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392) 2016-02-10 22:23:39 +01:00
Shauren
89d8d50b2e Core/Maps: Moved min height calculation to worldserver for more precise results
Closes #16530
2016-02-10 21:25:28 +01:00
Treeston
d67e87733b Merge pull request #16483 from Treeston/3.3.5-debuffimmunity
[3.3.5] Make Web Wrap / Mutating Injection (and others) properly cancel on immunity (Divine Shield/Ice Block)
2016-02-10 20:33:10 +01:00
treeston
6102a7937d Maps/Instances: Implement handling of CMSG_SET_SAVED_INSTANCE_EXTEND 2016-02-10 19:35:11 +01:00
treeston
cfed2d7a3d Merge remote-tracking branch 'Eliminationzx/FixJumpDestOrientation' into 3.3.5 (PR #16450) with some minor CS adjustments 2016-02-10 17:41:19 +01:00
Treeston
2c437ff8ec Merge pull request #16491 from Treeston/3.3.5-boundarycheck
[3.3.5] Add target boundary check to BossAI CanCreatureAttack call
2016-02-10 17:23:43 +01:00
Elimination
ff80f249a7 Fix jump dest orientation 2016-02-10 20:25:29 +07:00
ccrs
983bbe4a4c Core/Spells: Rogue Honor Among Thieves 2016-02-10 14:12:58 +01:00
Elimination
ff324e7284 Fix incorrect Seal of Righteousness calculation.
Source http://wowwiki.wikia.com/wiki/Spell_power_coefficient
2016-02-10 16:15:42 +07:00
Nyeriah
e9db04a92c Scripts: Fix no-PCH build MKII
Bah
(cherry picked from commit 781152a30c)
2016-02-10 04:07:33 -02:00
Nyeriah
130f744c29 Scripts: Fix no-PCH 2016-02-10 03:19:02 -02:00
Nyeriah
6a56ede179 Scripts/Magister's Terrace: Script Kalecgos' appearance after using the Scryer's Orb
- Added missing waypoints, spells, emotes, proper timing... and prevent him from being summoned multiple times
Closes #13208, #16522
2016-02-10 03:03:59 -02:00
Nyeriah
6904073c9c Core/GameObject: Also send EventInform() calls for GAMEOBJECT_TYPE_CAMERA
- This allows object and zone AI to process events called by camera objects as well (previously only possible through event_scripts)

Closes #16506
2016-02-09 23:12:17 -02:00
treeston
e5e97bedc0 Merge remote-tracking branch 'sirikfoll/npcMyranda' into 3.3.5 (PR #16438) 2016-02-09 23:44:01 +01:00
Treeston
165c6a4d8c Merge pull request #16484 from Treeston/3.3.5-triggervisibility
Grids/Notifiers: Notify triggers of units moving within their LoS
2016-02-09 23:31:59 +01:00
sirikfoll
9f78dc37f7 Core/Scripts/DB Move script npc_myranda_the_hag to SAI
Moves the entire NPC script to the database and corrects a logic error where players who have rewarded the quest Scarlet Subterfuge and lost the disguise before taking the quest In Dreams were no longer able to get the disguise.
2016-02-09 20:16:41 -02:00
Treeston
8eabbb0427 Merge pull request #16467 from Treeston/3.3.5-FixEvadeMode
[3.3.5] Creature/AI: Fix incorrect evade logic
2016-02-09 22:53:38 +01:00
treeston
19ed18c881 AI/BossAI: Make creature never chase targets that are out of bounds
- Add missing const attribute on CheckBoundary arg.
- Prevent AI from attacking a target that is out of bounds. This prevents exploids such as killing Gluth/Deathbringer from out of bounds.
2016-02-09 22:46:57 +01:00
Rushor
c8f34656ef Merge pull request #16486 from Rushor/spiderman
[3.3.5][6.x]Scripts/Karazhan: Implement Optional Boss Spawn
2016-02-09 21:18:58 +01:00
Shauren
9d81ef2af2 Core/Creatures: Improved creature text selection to be "more random" instead of favoring first entry
(cherry picked from commit 41d6460c75)

# Conflicts:
#	src/server/game/Texts/CreatureTextMgr.cpp
2016-02-09 19:26:43 +01:00
Shauren
55ef8d80a3 Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected
(cherry picked from commit ae20b2ab56)
(cherry picked from commit 921d893c2a)
(cherry picked from commit 9ab10d6e68)
(cherry picked from commit 00c878e73a)
(cherry picked from commit ff9c999334)
(cherry picked from commit bc94bacce4)
(cherry picked from commit d5b0ffbe9b)
2016-02-09 19:26:29 +01:00
Shauren
761c82e65a Core/Maps: Use IsValidMapCoord for checking Z coord instead of just std::isfinite - only acceptable values are between -17066.6656 and 17066.6656
(cherry picked from commit 4d956c89fc)
2016-02-09 19:18:05 +01:00
Rushor
0d6b8c0d3a Core/SmartScript: create SMART_ACTION_SET_CORPSE_DELAY
by Vincent-Michael, updates #16488

New smart action SMART_ACTION_SET_CORPSE_DELAY:
- Allows setting the delay of corpse decay time in SmartScript

(PR opened on request from Rushor)
Constructive feedback is welcome.
2016-02-09 18:56:08 +01:00
Shauren
25cdc5d980 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
(cherry picked from commit 4f78efd463)

# Conflicts:
#	dep/PackageList.txt
#	src/server/game/DataStores/DBCStructure.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Handlers/MovementHandler.cpp
#	src/tools/map_extractor/CMakeLists.txt
#	src/tools/map_extractor/System.cpp
#	src/tools/map_extractor/adt.h
#	src/tools/map_extractor/loadlib.cpp
2016-02-09 18:44:19 +01:00
Shauren
aa432db36d Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
(cherry picked from commit db0b8bf24e)

# Conflicts:
#	src/server/game/Achievements/AchievementMgr.cpp
#	src/server/game/Chat/Chat.cpp
#	src/server/game/Conditions/ConditionMgr.cpp
#	src/server/game/DataStores/DBCStores.cpp
#	src/server/game/DataStores/DBCStores.h
#	src/server/game/DataStores/DBCfmt.h
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Globals/ObjectMgr.cpp
#	src/server/game/Handlers/BattleGroundHandler.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Maps/Map.cpp
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_go.cpp
#	src/server/scripts/Commands/cs_group.cpp
#	src/server/scripts/Commands/cs_lookup.cpp
#	src/server/scripts/Commands/cs_misc.cpp
#	src/tools/map_extractor/System.cpp
#	src/tools/mmaps_generator/TerrainBuilder.cpp
2016-02-09 18:19:28 +01:00
Keader
61f92b9a89 Core/Spells: Fixed Totemic Mastery (Tier 6 2P) Shaman 2016-02-08 22:28:47 +01:00
Rushor
40814c27b5 Merge pull request #16493 from Rushor/KingofEssos
[3.3.5][6.x] DB/Quest: King of the Foulweald - Improve Questevent
2016-02-08 19:52:49 +01:00
Rushor
644b9dcd59 DB/Quest: King of the Foulweald - Improve Questevent
* closes #2381
2016-02-07 14:05:16 +01:00
Vincent-Michael
96cb26de28 Scripts: Fixed warning 2016-02-06 22:12:44 +01:00
Rushor
86a821561a Scripts/Karazhan: Implement Optional Boss Spawn
* closes #15756
2016-02-06 22:03:44 +01:00
Kittnz
add2179b75 Build fix 2016-02-06 22:03:24 +01:00
Kittnz
5650b9deb2 Pet/Misc: Implement Pandaran Monk followup 2016-02-06 21:58:16 +01:00
Kittnz
64d1addbbf Pet/Misc: Implement Pandaran Monk's pet abilitys 2016-02-06 21:55:54 +01:00
Rushor
c560cb0a0c Scripts/Northrend: Knockbackimmunity Cleanup 2016-02-06 18:17:16 +01:00
joschiwald
b259d5c2bc Scripts: addition to 8b6954e81b
Closes #16466
2016-02-06 17:26:27 +01:00
Treeston
e3d52990dd Merge pull request #16433 from Tonghost/3.3.5
[3.3.5][6.x] Core/Creature: Do not load equipment with id = 1 when creature.equipmen…
2016-02-06 16:36:53 +01:00
Treeston
6d8e39f59c Merge pull request #16410 from sirikfoll/Strand
Core/Achievement Fix Achievement Defense of the Ancients
2016-02-06 16:35:33 +01:00
treeston
b72ae883bc Core/Spells: Adjust on-apply dispel behavior of Divine Shield / Ice Block etc.
- Now counts as a hostile dispel (triggers on-dispel effects: Grobbulus injection etc)
- Can dispel non-deathpersist spells despite ATTR0_UNAFFECTED_BY_INVULNERABILITY (despite the name, this only means they can be applied while immune, not that the aura cannot be removed by immunity), if they do not have SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE (debuffs like recently bandaged etc have this)
2016-02-06 16:14:39 +01:00
treeston
e31743f682 Grids/Notifiers: Notify triggers of units moving within their LoS. 2016-02-06 15:52:57 +01:00
treeston
e064000a35 Code style, urand -> urandms. 2016-02-06 15:24:39 +01:00
Kittnz
57a5879070 Fix build & tabs 2016-02-06 15:17:09 +01:00
Kittnz
859b617613 Pet/Misc: Implement Egbert's running around
Closes #16479
2016-02-06 15:06:17 +01:00
Vincent-Michael
d1a185e3d5 Scripts: Added missing override 2016-02-05 21:57:05 +01:00
Rushor
f3fbb49df5 Merge pull request #16472 from Rushor/immunity
Core/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
2016-02-05 21:46:37 +01:00