Commit Graph

409 Commits

Author SHA1 Message Date
tobmaps
05842713ef Core/Spells: Allow direct damage effect of Seal of Vengeance and Seal of Corruption to proc from Shield of Righteousness 2011-06-24 03:18:06 +07:00
QAston
dc8a926c8d Core/Auras: fix a typo in PowerDrain auras periodic tick handler. 2011-06-23 15:51:14 +02:00
QAston
3137a82c7c Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
 - Move IsQuestTameSpell function to SpellMgr.h
 - Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
QAston
2ac777f8ce Revert "Core/Auras: Fix work of proc auras are refreshed during proc event routine."
This reverts commit 2a47163771.
2011-06-21 15:58:30 +02:00
QAston
2a47163771 Core/Auras: Fix work of proc auras are refreshed during proc event routine. 2011-06-21 12:03:54 +02:00
Machiavelli
acb47d719c Scripts/Ulduar/XT002:
- Fix heart phase triggering if boss recovered health from scrapbots previously
- Fix scrapbot enter vehicle visual
- Allover cleanup and codestyle appliance
2011-06-21 01:15:43 +02:00
tobmaps
afd524f36b Core/Misc: Some random cleanups and code style fixes 2011-06-20 04:04:20 +07:00
tobmaps
6c33347511 Core/Spells: Set a MaxDuration of spellstolen aura to the original aura MaxDuration 2011-06-19 23:08:41 +07:00
Lopin
dbba53b745 Core/Spells: Fixed Sigil of the Vengeful Hearth 2011-06-19 14:29:51 +02:00
Shocker
587eb053c6 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-06-18 18:31:02 +03:00
Shocker
d7762a9ebb Core/Spells: Remove duplicated code for Tiny Abomination in a Jar 2011-06-18 18:30:37 +03:00
tobmaps
439fe1b95c Core/Spells: Fix typo in last rev 2011-06-18 20:23:13 +07:00
tobmaps
bfe1977f94 Core/Spells: Fix Seal of Vengeance and Seal of Corruption. Original patch by kezo90
Closes #1243
Closes #1461
2011-06-18 20:18:38 +07:00
tobmaps
3a8702b8a4 Core/Spells: Fix Victory Rush
Closes #2020
2011-06-18 01:34:17 +07:00
tobmaps
fb9896bbc7 Core/Spells: Fix talent Scent of Blood
Closes #2003
2011-06-16 20:37:25 +07:00
tobmaps
7f00d48456 Core/Misc: Another typo fix 2011-06-16 20:14:21 +07:00
tobmaps
1abdb65f5a Core/Misc: Cleanups, code style and typo fixes 2011-06-16 20:08:28 +07:00
tobmaps
2f2396b7e0 Core/Arenas: Remove both positive and negative auras only at arena join
Closes #2000
2011-06-16 00:20:20 +07:00
click
b138bc31ca Scripts/EmeraldDragons: Clean up a bit on the scripts:
- Remove script for Shade of Taerar, replaced with SAI equivalent (Malcrom)
- Remove script for Demented Druids, replaced with SAI equivalent (Malcrom)
- Add supportscript for Mark of Nature (Kaelima)
- Some other minor changes here and there
2011-06-12 17:13:28 +02:00
kaelima
b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
f16df538ee Core: More codestyle cleanups 2011-06-12 01:47:45 +02:00
click
158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
QAston
5bbeccd00f Merge pull request #1921 from zwerg/master
Fix problem with removing immunities by Unit::ApplySpellImmune
2011-06-11 04:19:50 -07:00
QAston
76bb3ca21c Core/Auras: Call Aura::HandleAuraSpecificMods in Aura::SetStackAmount to preserve compatibility with older scripts. 2011-06-11 10:55:19 +02:00
QAston
3ec587e21e Core/Auras:
Make Aura::ModStackAmount(1) an equivalent of reapplying the aura
    Recalculate periodic aura timers on aura reapply.
2011-06-11 10:55:17 +02:00
zwerg
94397e5b2e Core/Unit: Fix remove Spell Immunity 2011-06-10 08:18:27 +02:00
Machiavelli
84b27f7194 Scripts/Ulduar/XT-002:
- Fix Boombot's explosion visual and damage (workarounds are torroughly explained in code)
- Proper scrapbot vehicle enter handling. (Missing data on how much HP they should restore on the boss, however)
2011-06-10 03:24:32 +02:00
Machiavelli
b42239b237 Scripts/Ulduar/XT-002:
- Implement "Nerf Scrapbots" achievement
- Proper target conditions for Boombot Boom
- Pummeler add should walk towards raid on spawn
2011-06-09 04:43:57 +02:00
tobmaps
14067416b4 Core/Arenas: Fix removal of some auras at arena join/leave
Closes #575 #1721
2011-06-09 02:20:31 +07:00
QAston
b9e8e6d3b4 Core/Auras: Add functions for common actions on aura charges. 2011-06-07 17:26:27 +02:00
QAston
9542077c38 Core/Auras: Use recalculated aura max duration on spell hit for duration calculations. 2011-06-07 14:19:47 +02:00
QAston
3effdb2c23 Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create 2011-06-07 12:47:32 +02:00
Shauren
97a5db68c2 Core/Auras:
* Fixed loading aura charges when they would exceed count set in SpellEntry while still remaining a valid value due to spell modifiers (that might not yet be active)
* Fixed refreshing aura charges when recasting the spell

Closes #1803
Closes #1786
Closes #1805
2011-06-03 21:30:50 +02:00
tobmaps
508f14fa6c Core/Spells: cleanup in Blade Barrier code 2011-06-02 19:21:10 +07:00
Ramusik
251aea4900 Core/Spells: Fix item Corpse Tongue Coin and some related cleanup 2011-06-02 01:04:51 +07:00
Shocker
2a27ce8781 Core/Spells: Correctly fix Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket 2011-06-01 16:14:26 +03:00
kaelima
1fb096c2a9 Core/Spells: Fix Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket. 2011-06-01 01:12:04 +02:00
tobmaps
106493737f Core/Spells: Fix spell power and attack power coefficients for Seal of Righteousness 2011-05-31 23:17:17 +07:00
QAston
f3428cbad4 Core/Auras: Fix a crash in Unit::RemoveAurasDueToSpellBySteal 2011-05-31 15:30:41 +02:00
tobmaps
fd08b0060c Core/Commands: Localized npc name for commands .npc say, .npc yell, .npc whisper 2011-05-30 20:47:33 +07:00
tobmaps
76413ae661 Core/Players: Allow damaging spells to complete their damage-ticks/hits even if target runs to a sanctuary zone 2011-05-30 05:27:41 +07:00
Shauren
27246db7d5 Core/Auras: Replaced false with NULL since we are dealing with pointers 2011-05-29 14:01:20 +02:00
QAston
42a20f14ef Core/Auras: Use existing aura object on aura reapply/stack increase instead of creating a new one.
You can hook on reapply/stack event by checking for AURA_EFFECT_HANDLE_REAPPLY aura handler mode, AURA_EFFECT_HANDLE_REAL is now not triggered on aura refresh/stack.
2011-05-29 13:18:47 +02:00
Machiavelli
48b0570f53 Core/Vehicles:
- Temporarily unsummon pets when entering vehicle and resummon them when exiting. Also fixes missing pet cast bars on exit.
- Correct SMSG_PET_SPELLS packet for vehicle spell initialize
2011-05-27 17:31:31 +02:00
Shauren
0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
kaelima
fc84253f7d Core/Spells: Typo from last commit, should of course only remove negative effects. 2011-05-26 03:46:33 +02:00
kaelima
60585941f6 Core/Spells: Fix Glyph of Icy Veins haste debuff removal. 2011-05-26 03:43:07 +02:00
Shauren
5f5af1e95d Core/Spells: Implemented SPELL_ATTR3_IGNORE_HIT_RESULT. Spells with this attribute will only be subject to own spell modifiers, ignoring enemy avoidance auras such as Cloak of Shadows or Deterrence 2011-05-25 18:31:10 +02:00
QAston
a1b8fd2054 Core/AuraScripts: Add AfterEffectRemove and AfterEffectApply hooks, to allow safe triggering of spellcasts or other actions which may call linked events while OnEffectApply and OnEffectRemove are still there for overriding the way effect is handled on target. 2011-05-25 17:13:32 +02:00
QAston
ca8eb707d7 Core/Auras:
- Use safer order of calls in AuraEffect handlers (unit modification goes before any calls which may result in linked events execution)
 - Allow manual removal of further effects of an aura during aura removal (so Unit::RemoveAurasByType works well in such situations)
2011-05-25 15:13:55 +02:00