Commit Graph
31356 Commits
Author SHA1 Message Date
Aokromes e573607ccd DB/Misc: Make base files more read-able
for future mysql dumps run this after dump before push:

sed -i 's/),(/),\n(/g' auth_database.sql

sed -i 's/),(/),\n(/g' characters_database.sql
2017-12-17 12:34:06 +01:00
Aokromes 4a85797a1e DB/Misc: Add spawns for gilneas starting zone chapter 1
By Ovahlord
Cherry pick of https://gitlab.com/trinitycore/TrinityCore_434/commit/446832ae034f5a728450f76328218eb7f7af3b13
2017-12-16 01:37:59 +01:00
Shauren 55350b1f4e Core/Auras: Updated mount capability check and implemented SPELL_AURA_MOUNT_RESTRICTIONS 2017-12-12 23:53:15 +01:00
Shauren 9b6be90b2b Core/Spells: Fixed shapeshift location check 2017-12-11 20:40:32 +01:00
joschiwald 2362abbce0 Fixed build 2017-12-10 20:26:05 +01:00
ariel- 54d0b31c40 Core/Spell: reimplemented TRIGGERED_DISALLOW_PROC_EVENTS trigger flag
Triggered spells shouldn't chain-trigger other spells

Closes #18217

(cherry picked from commit bb8763534ebff5422bf202e69add065a132e49ac)
2017-12-10 18:42:40 +01:00
ariel- 4b1165af45 Core/Entities: add yet another utility overload to CastSpell, fixes AppVeyor build
Ninja NULL->nullptr cleanup

(cherry picked from commit 44ea63e34ddb4fc3617d0b39aef2d362b4f447aa)
2017-12-10 18:40:18 +01:00
ariel- a1ebc312ec Core/Spell: fix interaction of on taken damage procs with triggered casts
DB/Spell: Seal of Righteousness proc
- Lightining and Water Shield should proc with triggered

Closes #18211

(cherry picked from commit ed49626c22e7bfb731aac1d6b5607e12ec851d5a)
2017-12-10 18:39:49 +01:00
ariel- 70a89debfe Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells
Fixes #9721 (also other spells affected, example Threat of Thassarian, Stormstrike)

(cherry picked from commit 85143f305dd6b82e35639fe026f5f8613a1b96c4)
2017-12-10 18:37:00 +01:00
ariel- 35219e098b Core/Gameobject: remove immune flags from trigger used to cast GO spells
Spells were failing flags check in Unit::_IsValidAttackTarget

Closes #18206

(cherry picked from commit 1ae3da101c272fde6183ee6073b208ba35a1b658)
2017-12-10 18:35:14 +01:00
joschiwald 906f3e459c Core/Spells: Fixed typo in SpellMgr::LoadSpellInfoCorrections 2017-12-10 18:32:28 +01:00
ariel- eb2b0151a4 Core/Spells: do not add PROC_HIT_NORMAL/PROC_HIT_CRITICAL flags if damage is fully nullified
- Aka: full absorbs/full resists/full blocks/immune

(cherry picked from commit 2e457b3be418ce75b0e0ca901e84ebcdaf02ad18)
2017-12-10 18:25:47 +01:00
Dr-J d5f94a24e2 DB/SAI: Misc Summon spells
Update some sql scripts to summon creatures via spell instead of just summoning and kill the startup errors caused by my last commit to fix the spells.

(cherry picked from commit c70edcfcead012811621203e789adc8d19ce6e69)
2017-12-10 18:25:02 +01:00
ariel- 02b4dc5512 Core/Spell: apply SPELLFAMILY_GENERIC mods to all spells by default
Closes #18160

(cherry picked from commit 4f1ef6985e1a83f3a10673d20648f452e93a3004)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellMgr.cpp
2017-12-10 18:16:47 +01:00
Killyana e2ad91ddbc DB/Creature: Citadel Watcher
(cherry picked from commit 9ac22ef053ac2da126d564c7c7b1b45eb0fdbc19)
2017-12-10 18:01:43 +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 f5d3343f27f68c7837152fc592310397a686a83e)

# 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 aeb57621708f9f70c7a974b8b5436c1cfb8e2e0f)
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 2b26894eb1eaf8572f61d303882878659692cdd3)
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
joschiwald 0afec28490 DB: Increase version column to support long branch names 2017-12-09 16:33:08 +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
Shauren 77e444f4d5 Rename 9999_99_99_99_world_quest_scriptname.sql to 2017_12_04_00_world.sql 2017-12-04 17:36:37 +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
Killyana 61109bbd1f DB/SAI: Bloodscalp Beastmaster, Skullsplinter Beastmaster and Skullsplitter Hunter
Closes #18179
Closes #18185
By Staleness89
(cherry picked from commit 101b74b8b4c95886f6eb14b86131beb22e59ac66)

DB/Creature: Earthgrab Totem and Tainted Earthgrab Totem

Closes #15651
(cherry picked from commit 322f1910fcf2596b14b05b7654da3ab23e1bb018)

DB/Gameobject: Add two missing game object

Closes #18187
(cherry picked from commit 7e07d9930827e25d79e1c398d4363ca8cad93f07)

DB/Spell: Earthgrab Totem

http://www.wowhead.com/spell=8378/earthgrab-totem used by http://www.wowhead.com/npc=6066/earthgrab-totem
(cherry picked from commit ee52ba690d1b6fcd71b68f49264617a0c12ca9ac)
2017-11-26 22:31:23 +01:00
SnapperRy 448ccc2b9e Core/GameObject: spawn linked traps at gameobject creation instead of using DB spawns. (#18172)
Closes #11328.

(cherry picked from commit a38c094a11dc61c8ee1153e0aee6de9a406d6a61)
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 cefed89c38bcd7bb7562df51f9e932878084c5da)

Remove obsolete file
(cherry picked from commit 9be0362606971e40f47543462f133125e995279d)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f28964bfb69304760e0d9333a45aee28)
2017-11-26 16:18:01 +01:00
Dr-J cedc264468 DB/Quest: Defenders of Darrowshire
1) Player no longer needs to make killing blow on ghouls for Darrowshire Spirit to spawn
2) Use correct server side spell to summon darroshire spirit
3) Add missing spirit particles and make it so the gossip is actually displayed rather than setting non selectable flags which causes gossip to immedietley close, in sniffs from 3.3.0 and 4.2.2 cant see any updates to unit flags and gossip is already in db.

Will remove core scripts later as want to try and convert the last cpp script in eastern plaguelands after these

(cherry picked from commit d308d471c1385dc06f8a63e4099c30f246af0fa8)
2017-11-26 16:10:20 +01:00
SnapperRy a2b8940aaa DB/SAI: remove SAI from gameobject Felhound Poo.
Aura apply is now handled by the related trap.

(cherry picked from commit f494aeba9b3771c3c332c4f7fbdf8fbef9d3a465)
2017-11-26 16:07:21 +01:00
Killyana d8c699acae DB/Creature: Goramosh add aggro text
Closes #18171
By Staleness89

(cherry picked from commit a88d752ac97fe005c4de39698aa14dc34cb9dba7)
2017-11-26 16:03:38 +01:00
Killyana 7969fa991b DB/SAI: Karen "I Don't Caribou" the Culler
Closes #18170
By Staleness89

(cherry picked from commit c88dd5b1cd3848ad32cd9d35b6cc6bff897834e3)
2017-11-26 16:00:47 +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
Aokromes a738c72c67 DB/Creature: Multiple fixes for stormwind creatures
By Ovahlord
2017-11-24 02:05:51 +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
Killyana 9520f4c4f0 DB/Creature: Disable Health regen for Injured Stormwind Infantry 2017-11-22 12:07:56 +01:00
Aokromes 9f9f32b193 DB/Quest: Add Reward text for Troll Start Quest
By Malcrom
2017-11-20 07:56:03 +01:00
joschiwald 3a254dd0da Fixed another mistake in c6881bd8a4
Thx @zorix
2017-11-19 19:45:20 +01:00