Commit Graph

960 Commits

Author SHA1 Message Date
Kittnz
78885769cb Merge pull request #16245 from sirikfoll/Turkinator
Core/Spells Implement SpellScript needed for Achievement The Turkinator
(cherry picked from commit 529899675a)
2016-03-22 22:13:31 +01:00
jackpoz
f837fc875a Merge pull request #15977 from tkrokli/landmine_knockback_achievement
Scripts/Spells: Mine Sweeper achievement

(cherry picked from commit e59b4324b8)
2016-03-21 23:35:57 +01:00
Naios
5534915f74 Core/Scripts: Split the huge scriptloader into smaller pieces
* Each subdirectory contains it's own translation unit now
  which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused Battleground loader
* Ref #15671
2016-02-21 15:36:41 +01:00
Shauren
8bc3f5545e Merge pull request #16378 from Zedron/6.x
Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon
2016-01-27 21:54:47 +01:00
Boomper
3f503cd1d1 Core/Spells: Fixed Heroic Leap
Closes #14807
Closes #14134
2016-01-27 21:53:05 +01:00
Zedron
4b4237174f Core/Spells: Fixed a possible crash in spell_pal_light_s_beacon 2016-01-24 17:09:02 -06:00
joschiwald
09adf4d0ad Scripts/Spells: fixed Beacon of Light
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/scripts/Spells/spell_paladin.cpp
2016-01-17 01:52:22 +01:00
treeston
e1fae18417 Spells/Penance: If hostile target is not in front, now fails in the initial cast rather than the triggered cast, thus not erroneously causing a cooldown.
(cherry picked from commit 403ff21324)
2016-01-16 13:16:57 +01:00
jackpoz
2f1bd93c9e Core/Unit: Add Unit::KillSelf() overload
Add Unit::KillSelf() function as overload of Unit::Kill(this) . Use KillSelf() whenever the killer and the victim are the same to clearly state the Unit is going to kill itself.

(cherry picked from commit 3267c90102)

# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2016-01-15 20:34:27 +01:00
Asterc
a0719b75f3 Correctly reset the redirected threat of the hunter's spell Misdirection in cases when it has RemoveMode AURA_REMOVE_BY_DEFAULT
Closes #15930

(cherry picked from commit f8f815dbc3)
2016-01-15 20:33:34 +01:00
DevRival
93952b77e2 Scripts/Spells: Hallow's End item Hallowed Wand
Hallowed Wand items should cast a transformation on party members.

by @DevRival, closes  #3574

Before this patch, the following spells do not have any effect at all:
- 24717, Pirate Costume
- 24718, Ninja Costume
- 24719, Leper Gnome Costume
- 24720, Random Costume
- 24737, Ghost Costume

Details from testing on the current 3.3.5 branch (commit ecbbcc8):
- 24724 (Skeleton Costume) seems to work as intended
- 24733 (Bat Costume) only lasts 10 seconds instead of 60 minutes
- 24741 (Wisp Costume) also seems to work as intended

All the spells listed above are included in this PR.

(cherry picked from commit 3fdbcf18ae)
2016-01-15 20:06:01 +01:00
joschiwald
0c61cfd8ee Scripts/Spells: removed obsolete spellscripts 2016-01-03 21:19:43 +01:00
joschiwald
0f21736694 Core/Spells: partial cherry picked from commit 8a0bbc3869 2016-01-03 01:17:39 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
d03ca37f10 Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate. 2015-11-27 21:53:27 +01:00
Vincent-Michael
00b4e8b6cc Scripts: Added missing overrides 2015-11-15 03:38:02 +01:00
joschiwald
b459b10b0f Core/Scripts: fixed startup errors
Closes #14730

(cherry picked from commit 497aa4425b)

# Conflicts:
#	src/server/scripts/Northrend/Ulduar/Ulduar/boss_flame_leviathan.cpp
2015-10-30 14:01:26 +01:00
sirikfoll
59742469fb Core/Scripts: Friend or Fowl Achievement
Change AURA_EFFECT_HANDLE_REAL to AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, the hook needs to be called on every apply/reapply to keep tracking the stack amount.

(cherry picked from commit f877b6af0a)
2015-10-16 12:50:51 +02:00
Shauren
3bc3b67a8f Core/Player: Changed ranged weapons to be equipped in main hand slot instead of no longer used ranged slot
Closes #14675
Closes #15296
2015-09-27 00:06:08 +02:00
Shauren
1efb3f08e2 Core/Spells: Improved spell category cooldown handling
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast

Closes #15349
2015-09-10 19:39:30 +02:00
Shauren
f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Shauren
fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
sirikfoll
b0e580eb4c Spell Script for quests Among the Champions and The Grand Melee
Solves issues with the credit spells hitting the mount instead of the player itself.

(cherry picked from commit 5bbd7cff4c)

Conflicts:
	sql/updates/world/2015_07_11_00_world.sql
2015-07-12 18:38:35 +01:00
DDuarte
06ad280213 Scripts/Spells: Cherry-pick multiple commits related to Midsummer
Merge pull request #14776 from sirikfoll/SpellMidsummer

Core/Spells Add support for quest Torch Tossing/More Torch Tossing
(cherry picked from commit 8197467c87)

by sirikfoll

---

Rename 2015_08_29_00_world.sql to 2015_06_23_01_world.sql
(cherry picked from commit 352703e89b)

by MitchesD

---

Scripts/Spells: fix codestyle

thanks @whoami

(cherry picked from commit 0cba5558cf)

by MitchesD
2015-07-12 15:01:16 +01:00
MitchesD
2400ce05e0 Merge pull request #14748 from Rushor/druid
Scripts/Spells: Curing the Sick - Add Questcredit
(cherry picked from commit d898ade5a9)
2015-07-03 00:55:11 +01:00
Shauren
585f978c58 Core: Started work on 6.2.0.20182 2015-07-01 02:22:03 +02:00
Daniel M. Weeks
b6e926fa2f Remove unnecessary semicolons 2015-05-27 21:16:06 -04:00
Shauren
675a2fcd3b Core/Util: Fixed flag128 and removed flag96 - previously if flag128 and flag96 were used in together the result was always a bool instead of expected flag result due to implicit boolean conversion 2015-04-27 00:33:27 +02:00
Vincent-Michael
8bde737d3a Core/PacketIO: Updated and enabled CMSG_SPIRIT_HEALER_ACTIVATE / SMSG_SPIRIT_HEALER_CONFIRM for WoD 2015-04-19 00:22:46 +02:00
Daniel M. Weeks
b948a4275e Add missing override keyword in scripts 2015-04-02 22:28:05 -04:00
Gigatotem
9f3018c694 Spells/Mage: Correct typo in Time Warp script 2015-03-28 15:13:45 +00:00
Gigatotem
bc8f4ee976 Spells/Mage:
Time Warp should also check for the Fatigued debuff given when a Hunter's Nether Ray pet casts Netherwinds.
2015-03-27 13:40:15 +00:00
Gigatotem
65b27fef91 Spells/Shaman:
Bloodlust and Heroism should also check for the Fatigued debuff from Nether Ray Hunter Pets "Netherwinds" ability.
2015-03-27 13:36:46 +00:00
joschiwald
766eb599ea Scripts/Spells: implement some eject passenger spells 2015-03-25 17:43:59 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Rushor
2c6500a231 Scripts/Spells: Hand of Reins - Questsupport for 'Mounting Up'
by @untaught closes #3977

(cherry picked from commit 588b92ee05)
2015-03-20 13:16:39 +01:00
Naios
1920e9c442 Scripts/Spells: Fix some issues detected by static analysis.
* Prefer prefix ++/-- operators for non-primitive types.
* Variable 'ownerBonus' is reassigned a value before the old one has been used.

* Fix a wrong type of ownerBonus, sometimes it is float sometimes uint32
2015-03-11 09:29:20 +01:00
Shauren
0ba2e0d5ee Core/Spells: Implemented multiple spell power costs 2015-03-08 13:31:57 +01:00
Shauren
56186319bd Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
2015-02-17 01:01:44 +01:00
jackpoz
27e71f1805 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-02-08 21:04:20 +01:00
jackpoz
e6f26cfb1f Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity.
Rename SpellMgr::EnsureSpellInfo() to SpellMgr::AssertSpellInfo() to be consistent with other similar methods.
2015-02-08 19:40:03 +01:00
Nayd
9d1e64159f (1) Scripts/Spells: Death Grip should not be castable while jumping/falling and should have 8-30 yards range in PvP instead of 0-30 yards
Closes #13499

(cherry picked from commit e8955cf6dd)

Conflicts:
	sql/updates/world/2014_12_28_01_world.sql

(2) Scripts/Spells: Adding overrides Death Grip Initial.

Thanks @Goatform
(cherry picked from commit bb002803bc)

(3) Scripts/Spells: Move death grip from DB

Moves death grip from DB to spellscript for clarity and to reduce confusion in future.

(cherry picked from commit 77887ab32f)

Conflicts:
	sql/updates/world/2014_12_28_03_world.sql
2015-02-02 02:06:48 +00:00
Duarte Duarte
26e016aacb Merge pull request #13973 from Unholychick/6.x
Spells/Scripts: Some small fixes to spell_dk.cpp
2015-01-31 20:05:25 +00:00
Shauren
3f28fd304d Core/Spells: Reimplemented automatic spell learning
* Fixed learning/unlearning talents
2015-01-30 23:58:16 +01:00
Unholychick
24af925c96 Spells/Scripts: Some small fixes to spell_dk.cpp 2015-01-28 21:58:08 +01:00
Nayd
802725817b Core/Packets: Update and enable CMSG_STAND_STATE_CHANGE and SMSG_STAND_STATE_UPDATE 2015-01-28 19:29:31 +00:00
Unholychick
870d50648f Scripts/Spells: Fix some faulty code in spell_dk.cpp
thanks to @joschiwald
2015-01-27 17:38:06 +01:00
Nayd
08a98c6237 Line ending fix, sorry. 2015-01-19 00:07:10 +00:00
jackpoz
1a4b1beb14 Core/Misc: Fix static analysis issues
Fix some static analysis issues reported by Coverity
2015-01-18 21:53:04 +01:00
Unholychick
0eb025512d Scripts/Spells: Update several Death Knight spell scripts
New Scripts:
Army Transform
Festering Strike
Glyph of Death's Embrace
Glyph of Foul Menagerie
Glyph of Runic Power
Glyph of the Geist
Glyph of the Skeleton
Periodic Taunt
Soul Reaper
Unholy Blight

Updated to 6.x:
Anti-Magic Shell
Blood Boil
Death and Decay
Death Coil
Death Pact
Death Strike
Icebound Fortitude
Raise Dead
Vampiric Blood
Will of the Necropolis

Deprecated and removed Scripts:
spell_dk_anti_magic_shell_raid
spell_dk_anti_magic_shell_self
spell_dk_anti_magic_zone
spell_dk_blood_gorged
spell_dk_butchery
spell_dk_death_strike_enabler
spell_dk_improved_blood_presence
spell_dk_improved_frost_presence
spell_dk_improved_unholy_presence
spell_dk_necrotic_strike
spell_dk_pestilence
spell_dk_presence
spell_dk_rune_tap_party
spell_dk_scent_of_blood
spell_dk_scourge_strike

Closes #13759
2015-01-12 23:49:19 +00:00