Commit Graph

723 Commits

Author SHA1 Message Date
ariel-
32e2207ab9 Core/Scripts: Victory Rush and Rune Strike proc correction
(d0f760420a follow up)
Closes #19192
2017-02-23 11:30:25 -03:00
ariel-
d0f760420a Core/Scripts: remove no longer needed scripts, use db attribute for disabling procs
(e7ccd8ea3f followup)

- Fix some broken procs after c0cb823a91

Closes #19068
2017-02-22 17:54:12 -03:00
Gustavo
3a67c8e361 Core/Misc Remove Tabs and Whitespaces (#19179) 2017-02-21 18:37:34 +01:00
ariel-
149e449506 Update spell_item.cpp
Small indent and codestyle fixes
2017-02-09 16:01:43 -03:00
xinef1
e1f14215d8 Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others (#18998)
* Made some changes to kiting mechanics, simplified code and made taunt auras prolong combat no matter the distance from the spawn
Unified some creature despawning code, removed some brutal direct calls in scripts
Don't play death anim on forced despawn
Removed some redundant visibility changes on creature despawn
Fixed possible problem with pet initializing template info from difficulty greater than normal
Properly keep UNIT_FLAG_IN_COMBAT on UpdateEntry call
Moved RegenerateMana function to general Regenerate(Power) function
Fixed increased health regeneration from polymorph for pets
Implemented CREATURE_TYPE_FLAG_GHOST_VISIBLE, those creatures will be properly seen when player is dead also
Removed hackfix from Gaeriyan and Franclorn Forgewright, fixed properly
Simplified ForcedRespawnTime code in ForcedDespawn
Do not allow to assist unit while evading or when enemy is evading
Do not allow to attack other units when evading or when the unit is evading
Corrected distance checking code before creature is allowed to evade, should fix some common problems
Properly return summon position for summoned creatures as their respawn position
Properly stop all moving units on gossip hello, no matter their npc flags
2017-02-05 15:39:22 +01:00
xinef1
93746e8c4a Implemented binary resistances and some more (#18933)
- Fixed possible exploit with tamed pets having template immunities
- Implemented binary resistances
- Corrected resistances calculations
- Pets properly inherit players spell penetration
- Fixed doubled block calculation for damaging melee spells
- Auras removing snare effects will only remove the snaring component
- Shapeshifting will properly remove movement impairing auras only and not crowd control (dragon's breath)
- Immunities are properly checked versus all schools appearing in spell, unit is immune only if immune to all schools
- Spells with melee and magic school mask should compare armor reduction with resistances and select smaller reduction
- Demonic Circle: Teleport no longer removes root effects
2017-02-04 19:50:32 -03:00
ariel-
5e46bb3e8c Core/Scripts: fix penance procs with Unchained magic
Closes #19005
2017-01-30 02:43:24 -03:00
Gerhood
bab59b28fa Core/Spells: implement Mad/Crazy Alchemist's potions 2017-01-29 14:06:40 +01:00
ariel-
2db3e86d9b Core/Scripts: implemented Gnomish Harm Prevention Belt
Updates #18542
2017-01-23 22:03:24 -03:00
ariel-
e33f0e0606 Core/Scripts: implement lightwell aura removal at 30% damaged
Ref #18542
2017-01-23 15:02:12 -03:00
ariel-
a8c2d59864 Core/Scripts: Fix Lock and Load proc with Frost trap 2017-01-21 23:48:04 -03:00
tkrokli
6a51a88767 Update Copyright notice for 2017
Happy new year!
2017-01-02 19:52:45 +01:00
ariel-
81f16b201b Core/Spell: Fixed Arcane Potency
- Removed old workaround in SpellAuras.cpp

Closes #18417
2016-12-30 02:29:34 -03:00
ariel-
f5e08885b7 Core/Script: Kill one startup error 2016-12-29 23:30:54 -03:00
ariel-
584d347b70 Core/Spell: Prevent NO_TARGET auras from actually selecting target (same as caster)
- Fixes an issue with generic mount scripts where the dummy aura was applied and removed then the real mount was applied
- Pets would be unsummoned, resummoned and unsummoned again in an instant

Closes #16783
2016-12-29 03:34:54 -03:00
ariel-
0bb1c03fbf Core/Scripts: fixed ground/fly mounts on non-flyable zones of Outland map
Closes #18627
2016-12-29 02:43:02 -03:00
ariel-
29827855d0 Core/Spell: Fix Turn the Tables
Closes #5134
2016-12-29 02:06:53 -03:00
sirikfoll
75df296bb6 Scripts/Events Implement Pilgrim's Bounty Bountiful Table 2016-12-19 12:30:43 -02:00
ariel-
4e3ce0463c Core/Script: Implement Paralytic Poison
Closes #16905
2016-12-15 10:43:15 -03:00
Shauren
618cf0e1c2 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc758b9)
2016-12-15 08:16:01 -03:00
ariel-
ed5aa40929 Core/Unit: unambiguosly define PLAYER_FIELD_MOD_DAMAGE_DONE_ fields as signed
- They were used both signed and unsignedly
- Bonus: some magic number removal with enums
2016-12-09 14:40:14 -03:00
Gustavo
7e0a616657 Core/Misc Remove WhiteSpaces (#18379) 2016-12-02 02:23:02 +01:00
ariel-
0f649d51e9 Core/Scripts: fix a failed assertion crash in Master's Call script
Closes #18316
Closes #18318
2016-11-29 03:45:05 -03:00
ariel-
9b00fd8d7b Core/Scripts: fixed Imp. Leader of the Pack
Closes #12830
2016-11-19 19:56:46 -03:00
ariel-
f30778c998 Core/Scripts: Seal of Corruption/Vengeance shouldn't reset periodic timer on reapply 2016-11-19 15:46:55 -03:00
ariel-
5b56c94e6d Core/Spell: restore old proc system behaviour on auras self proc.
- Use Spell::m_triggeredByAuraSpell and compare against trigger aura, it requires scripts to set triggeredByAura parameter.
- Fixed existing scripts lacking it

DB/Spell: Anger Capacitor (Tiny Abomination in a Jar) proc

Closes #18269
2016-11-19 03:05:44 -03:00
ariel-
56beec8aaf Core/Spell: Fixed irregular handling of SPELLMOD_DOT
- Applied twice for some dots
- Missing for Health Leech Periodic
- Missing in a few scripts

Closes #17463
2016-11-16 04:06:32 -03:00
ariel-
361b185ef7 Core/Scripts: add checks to Master's Call script
Closes #8403
2016-11-14 02:12:38 -03:00
ariel-
eac0f93868 Core/Script: set original caster for Paladin judgement triggered effects.
Fixes healing not reported for the paladin.
2016-10-29 19:08:05 -03:00
ariel-
0c59f2f0f7 Core/Scripts: fix Cobra Strikes 2016-10-28 01:18:01 -03:00
ariel-
e6f386b7d0 Core/Scripts: fix Glyph of Mend pet 2016-10-28 01:17:58 -03:00
ariel-
d9743c984f Core/Script: Fix improved drain soul mana return.
Ref #14859
2016-10-17 03:30:45 -03:00
ariel-
4bdebba520 Core/Scripts: fix static analysis issues
- Bonus: indentation fixes in zone_wintergrasp.cpp
2016-10-16 23:12:36 -03:00
tkrokli
b651bf271b [WIP] Core/Scripts: Gnomish Mind Control Cap and Gnomish Universal Remote (#17374) 2016-10-15 01:46:19 +02:00
Gustavo
8e82d8a9e7 Core/Scripts Boss Lady DeathWhisper improvements (#17389) 2016-10-14 21:44:49 +02:00
ariel-
4a1f6eb3b1 Core/Scripts: Fix runtime error 2016-10-12 22:58:29 -03:00
ariel-
d685c7079d Core/Scripts: Implemented Blessing of the Eternals Earthliving proc chance increase 2016-10-11 17:59:34 -03:00
SnapperRy
387b18775d Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!
2016-10-11 16:59:28 +02:00
ariel-
f749dea8b2 Core/Scripts: don't check ghoul each update. Send proper text packet, so client replaces %s with DK name 2016-10-10 19:05:06 -03:00
ariel-
a129b41f3d Core/Spells: fix runtime error
Partial revert of 11650e4008
2016-10-10 16:31:47 -03:00
ariel-
d429273410 Core/Scripts: fix warning reported by MSVC 2016-10-10 16:23:12 -03:00
ariel-
666422d827 Core/Scripts: added missing null checks for DamageInfo struct 2016-10-08 22:20:49 -03:00
ariel-
abe514d548 Core/Scripts: fix some copy paste and indentation mistake in Chimera Shot script 2016-10-08 17:13:27 -03:00
ariel-
11650e4008 Core/Scripts: updated Lock and Load script with new hooks, DamageInfo might be null, so check for that too 2016-10-08 16:48:03 -03:00
ariel-
dbba3ad5a5 Core/Scripts: Fix some runtime errors 2016-10-07 00:14:46 -03:00
ariel-
a0e317b991 Core/Scripts: De-hack glyph of Barkskin with proper spell 2016-10-06 00:59:26 -03:00
ariel-
b5e8e0a5db Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell
Closes #17961
2016-10-05 03:10:05 -03:00
ariel-
d482b0e368 Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151
2016-10-05 01:40:00 -03:00
ariel-
51493a63e2 Core/Scripts: fix 2 runtime error logs 2016-10-04 22:34:39 -03:00
ariel-
2ff855054f Core/Scripts: Convert spells to new proc system
- Converted Unit::HandleDummyAuraProc function to AuraScripts
  * Extra: DMC: Madness now uses DB texts. yay!
  * Extra: improvements on Imp. Spell Reflection (range and max targets, filter caster with conditions)

- Fixed Glyph of Succubus. (Closes #6599)

- Changed old (not-blizz) behavior of Vampiric Embrace:
  * Before: party heal affected the priest too and self heal was reduced by that amount to not over-heal
  * Now: self heal amount not affected, rather filter the priest out of the party heal using conditions :)

- Solve bug in AQ 3p set bonus, it should only trigger when healing others, not self heals.
- Priest T10 2p bonus (heal) now rolls its effect properly

- Use brand new GetEffectiveHeal to fix #17142
- While we're at it, also close #17034 for good
- Converted Unit::HandleAuraProc function to AuraScripts (#17941)
- Converted Unit::HandleAuraProc function to AuraScripts (cont'd) (#17955)
- Corrected Flametongue weapon damage formula
- Actually check offhand weapon for flametongue in Lava Lash script
- Implemented halved proc chance for Missile Barrage on Arcane Barrage, Fireball, Frostbolt and Frostfire Bolt cast
- Converted Unit::HandleProcTriggerSpell function to AuraScripts (#17956)
- De-hack Earth shield. Fixes #13808
- Updated Honor among Thieves
- Implemented mana proc for Mark of Conquest in case of ranged attack
- Fixed Scent of Blood giving more stacks than the talent rank currently learnt.
- Ported old proc table. Proc system is dead. Long live the proc system!
- Recklessness should get charges removed per cast. Closes #15529
- Use proc system to remove Molten Core charges on Incinerate/Soul Fire cast. Closes #15942

Closes #3463
Closes #5401
Closes #15595
Closes #15974
Closes #16679
Closes #17925
2016-10-04 20:21:58 -03:00