Commit Graph

23531 Commits

Author SHA1 Message Date
ariel-
02b4dc5512 Core/Spell: apply SPELLFAMILY_GENERIC mods to all spells by default
Closes #18160

(cherry picked from commit 4f1ef6985e)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellMgr.cpp
2017-12-10 18:16:47 +01:00
Richard
6c54fbbb03 [3.3.5] Core/Loot: Fix conditional Master Loot (#17943)
* Core/Loot: Fix master looting of conditional items

follow_loot_rules was a flag intended to force certain quest items to be
master looted. It should not be used for the
NonQuestNonFFAConditionalLoot.

The flag was originally introduced in 869ea349
"Core/Loot: fix the way quest items are handled. so far ive only found 3
quest items that should be able to be masterlooted. added a new flag to
item_template.flagsCustom to allow for making a quest item always follow
loot rules. a bonus may be the fix of the handlelootmasteropcode crash!"

* Core/Loot: Rename QuestItem to NotNormalItem

QuestItem struct was being used for quest items, ffa items, and
conditional items. Renaming it to avoid confusion when working with ffa
and conditional items

* Core/Loot: Use existing AddAllowedLooter rather than reaching into allowedGUIDs directly

* Core/Loot: Rename NotNormalItem to NotNormalLootItem

(cherry picked from commit f5d3343f27)

# Conflicts:
#	src/server/game/Entities/Item/Item.cpp
#	src/server/game/Loot/LootMgr.cpp
#	src/server/game/Loot/LootMgr.h
2017-12-10 17:59:58 +01:00
treeston
1b7fb624d3 Core/Creature: Correctly reset pathfinding capability on respawn. Prevents evade chains on some bosses. Closes #18188.
(cherry picked from commit aeb5762170)
2017-12-10 17:30:00 +01:00
tkrokli
b74eba72f6 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916

(cherry picked from commit 2b26894eb1)
2017-12-10 17:29:54 +01:00
joschiwald
eee5a4f248 Core/Misc: Removed Death knight creation restrictions
Closes #20987
2017-12-10 12:40:13 +01:00
joschiwald
b7797607e0 Core/Spells: Spells with TARGET_SELECT_CATEGORY_NEARBY requires a valid target (#20954) 2017-12-10 10:30:21 +01:00
DantestyleXD
23a66baab1 Core/BattlePets: Add battle pets to pet journal when learning related spells (#21023) 2017-12-04 19:45:27 +01:00
Traesh
422ad436c7 Core/Scripts: Added new QuestScript hooks (#20950)
* OnQuestStatusChange and OnQuestObjectiveChange
2017-12-04 17:35:37 +01:00
Ovah
a6bdb75d0b Core/Auras: Implemented PROC_HIT_INTERRUPT (#21015) 2017-12-01 23:31:51 +01:00
Aokromes
96435d55ef Misc: Move startup error to DBErrors 2017-12-01 15:20:35 +01:00
DantestyleXD
3846d7a51d Core/Creature: Define battle pet npcflag (#20986) 2017-11-28 21:01:46 +01:00
Shauren
107ed5dc99 Build fix 2017-11-28 00:09:22 +01:00
Ovalord
1b16534e21 Core/Quests: Implemented quest popups 2017-11-28 00:04:03 +01:00
Shauren
839e13d511 Core/Items: Fixed saving item after unlocking 2017-11-26 23:38:17 +01:00
SnapperRy
448ccc2b9e Core/GameObject: spawn linked traps at gameobject creation instead of using DB spawns. (#18172)
Closes #11328.

(cherry picked from commit a38c094a11)
2017-11-26 22:22:24 +01:00
Dr-J
0338421543 DB/Creature: Augustus the Untouched
Move from cpp to db, also added some missing detail
(cherry picked from commit cefed89c38)

Remove obsolete file
(cherry picked from commit 9be0362606)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f2)
2017-11-26 16:18:01 +01:00
Shauren
ce0054f030 Core/DataStores: Fixed possible out of bounds memory access 2017-11-25 22:28:30 +01:00
Aokromes
df6e0538fe Misc: More cleanup 2017-11-25 02:57:49 +01:00
Aokromes
90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
Aokromes
d5c6a4f20a typo fix 2017-11-25 01:44:48 +01:00
Aokromes
c547627d95 Misc: Kill trailing white spaces 2017-11-25 01:40:43 +01:00
Aokromes
8d514fb031 Misc: Kill trailing white spaces 2017-11-25 01:39:02 +01:00
Seyden
95b194f3f8 Core/Auras: Fixed rppm proc chance calculation (#20962)
* LastAttemptTime was reseted before it could have been taken into account for chance calculation
2017-11-23 22:35:42 +01:00
Aokromes
dda7d89445 Core/Spells: Remove one char breaking hotswap 2017-11-23 22:21:36 +01:00
Hadifaren
cc7c3f8d7d Core/Spells: Implemented SPELL_AURA_MOD_MAX_POWER 2017-11-22 12:35:00 +01:00
joschiwald
3a254dd0da Fixed another mistake in c6881bd8a4
Thx @zorix
2017-11-19 19:45:20 +01:00
joschiwald
9a9d4aa528 Core/Creature: Corrected aggro radius calculation after ea99801cd6 (#20924) 2017-11-19 16:30:54 +01:00
Hadifaren
00f6ca060f Scripts/Spells: Implemented Blinding Light (#20933) 2017-11-19 16:30:13 +01:00
joschiwald
f9067f2aab Core/Auras: don't save auras casted by items
* Core/Auras: don't save auras casted by items

- This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways.

This reverts commit 16cfd59f5b

(partial cherry picked from commit e84dfff4ce)

Core/Auras: fix elixir aura saving

(cherry picked from commit 697147a596)
2017-11-19 16:25:30 +01:00
joschiwald
b12b37058c Scripts/Spells: Fixed Rogue Stealth SpellScript
Ref #20883
2017-11-18 21:33:46 +01:00
NoName
d295f2d362 Script/Spells: Implemented Chaos Strike energize proc (#20840)
Thx @Ovahlord
2017-11-18 17:53:18 +01:00
funjoker
465012978f Core/Scripting: Implemented Conversation scripts (#20758) 2017-11-18 12:40:56 +01:00
Shauren
da2c11ec48 Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
Ref #20317

(cherry picked from commit 805024a780)
2017-11-16 20:25:50 +01:00
Ovah
ea99801cd6 Core/Creature: Reworked creature aggro radius calculation (#20615)
* Core/Creatures: rewrote creature aggro radius calculation
* Formulas are taken from WoW Wiki
2017-11-15 21:56:15 +01:00
Shauren
9ace570b92 Core/AuctionHouse: Fixed item dupe exploit 2017-11-14 19:59:58 +01:00
Duarte Duarte
ae917e950b Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and… (#20748)
* Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and 1377300
2017-11-14 11:23:25 +00:00
Shauren
ebf085a9bf Core/Players: Deleted some ancient (and unused) dk rune code 2017-11-13 23:30:33 +01:00
tkrokli
9c18503959 Scripts/Kalimdor: remove zone_teldrassil.cpp
- single script moved to SAI in commit f85ac27912
  (August 9, 2015)
- no NPCs using this script, removal forgotten in the mentioned commit
2017-11-12 22:25:26 +01:00
Shauren
2b184c58b8 Warning fix 2017-11-12 03:13:17 +01:00
Shauren
331c70e695 Core/Players: Fixed DK runes and runic power
Closes #19595
2017-11-12 02:42:06 +01:00
Shauren
bf0ae32d18 Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
* Power names are taken from PowerType.db2 (lowercase, using _ is optional)

Closes #20833
2017-11-11 22:41:05 +01:00
joschiwald
d947ba4292 Fixed build 2017-11-11 21:54:08 +01:00
joschiwald
eac1648181 Fixed cherry pick fail in c6881bd8a4 2017-11-11 21:45:41 +01:00
Shauren
f2a3382c8d Core/Transports: Added extra transport position update just when it stops moving
Closes #17952
(cherry picked from commit b88cecb656)

Core/Transports: Fixed crash added in b88cecb656
(cherry picked from commit d68d99d182)
2017-11-11 21:15:58 +01:00
Snapper
d25a8d42a3 Core/GameObjects: Handle despawning and respawning of nearby linked traps on gameobject despawn and respawn
Closes #12139
Closes #17553

(cherry picked from commit 5d9d25d596)
2017-11-11 21:06:58 +01:00
Shauren
c6881bd8a4 Core/GameObjects: Fixed Frozen Trap target selection
Closes #14238
Closes #17517

(cherry picked from commit f0ab95f19c)
2017-11-11 21:05:20 +01:00
ariel-
52e71c1723 Core/Spells: workaround stealth interaction with Death and Decay and GameObject casts
Closes #10179
Closes #16154

(cherry picked from commit b3a4815067)
2017-11-11 20:59:12 +01:00
ariel-
d56f65eb34 Core/Unit: send original caster in heal packet log
(cherry picked from commit a9921a5dd7)
2017-11-11 20:49:26 +01:00
SnapperRy
cc44c5f349 Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.
Now it really does what it says on the tin.

(cherry picked from commit c189e27f39)
2017-11-11 20:47:26 +01:00
SnapperRy
7666fbae3e Script/Quest: improvements for Shizz Work:
- Proper cosmetic effects for Fel Guard Hound.
- Spell cast when looting the Felhound Poo.
- Felhound Poo now always contains loot.

(cherry picked from commit 2729eb156f)
2017-11-11 20:44:25 +01:00