Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Shauren
8753a18263
Core/Auras: Corrected SPELL_AURA_CLONE_CASTER and mirror image opcode handling, will no longer rely on incorrectly used creator guid
2011-07-31 16:43:54 +02:00
Liberate
12f5904bee
Core/Spells: Fix a crash in OnDummyEffect.
...
Fixes #2245
2011-07-30 15:26:42 +02:00
QAston
495ead5f7f
Revert "Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura)"
...
This reverts commit 07badd7385 .
2011-07-28 23:44:39 +02:00
QAston
07badd7385
Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura)
2011-07-28 23:41:29 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Sarjuuk
57c042e280
Core/Spells
...
* refactored the calculations of critical strike amount for damaging spells
* renamed and reimplemented SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE
Closes #2354
2011-07-23 06:11:26 +07:00
tobmaps
f7737f5660
Core/Spells: Moved part of improved presences code to spell scripts
2011-07-16 00:46:58 +07:00
tobmaps
944fb4c1b7
Core/Misc: Minor cleanup and code style fix
2011-07-15 07:12:54 +07:00
tobmaps
26b3f00dac
Core/Spells: Fix bugs with improved presences at talents switch
2011-07-15 07:01:33 +07:00
DrTenma
ebc1baf684
Core/Spells: Fix talent Improved Unholy Presence
...
Closes #411
2011-07-15 04:58:14 +07:00
Spp-
f37a2030c0
Core: Minor optimization in AnyUnfriendlyAttackableVisibleUnitInObjectRangeCheck
2011-07-12 13:30:33 +02:00
QAston
72ea9c9fa8
Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code.
2011-07-10 13:13:02 +02:00
Nay
c572adea15
Scripts/Silithus: Fix Wind Stones gameobjects (fixes many quests in this zone). Closes #95
2011-07-05 22:07:40 +01:00
QAston
fb9719c653
Core/Spells: Define SPELL_ATTR0_ABILITY (old SPELL_ATTR0_UNK4)
2011-06-30 01:47:09 +02:00
QAston
d31f53c16a
Core/Auras: Don't cache aura object fields in periodic damage aura handler, as it's not needed.
2011-06-30 00:00:20 +02:00
Shocker
1bc9bb6499
Core/Misc: Logic fix in previous build fix
2011-06-29 16:49:55 +03:00
Shocker
2cbff7d9ed
Fix build
2011-06-29 15:43:48 +03:00
Spp-
c9600143d9
Minor cleanup in SpellAuraEffect.cpp (codestyle and warning fix)
2011-06-29 13:09:32 +02:00
Machiavelli
86a48c1b63
Core/Vehicles: Fix CMSGS_CHANGE_SEATS_ON_CONTROLLED_VEHICLE after recent aura system changes. With thanks to QAston.
2011-06-28 16:48:57 +02:00
Shocker
e05f608919
Core/Spells: Don't allow Killing Spree to hit unattackable targets
2011-06-26 16:06:23 +03: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
click
f7b0e58a14
Core: Remove a few warnings (unused variables), clean up tabs whitespaces
2011-06-23 09:13:58 +02:00
tobmaps
afd524f36b
Core/Misc: Some random cleanups and code style fixes
2011-06-20 04:04:20 +07:00
Lopin
50a716e031
Revert "Core/Spells: Fixed Righteous Fury stacking exploit"
...
This reverts commit b7d504a7e6 .
2011-06-19 17:47:23 +02:00
Lopin
b7d504a7e6
Core/Spells: Fixed Righteous Fury stacking exploit
2011-06-19 14:28:22 +02:00
QAston
aebb75b816
Core/Auras: Move periodic aura effect handlers to separate functions, do a little cleanup in these, also allow periodic dummy/periodic trigger spell auras to tick when caster is not available.
2011-06-19 13:13:41 +02:00
click
f778c5e739
Whitespace cleanups...
2011-06-18 19:51:28 +02:00
tobmaps
1abdb65f5a
Core/Misc: Cleanups, code style and typo fixes
2011-06-16 20:08:28 +07: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
34d980ea4c
Core/Auras: Move AuraEffect::TriggerSpell missing spell error log to debug.
2011-06-11 13:16:19 +02: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
QAston
0575dddbb3
Core/Auras: Fix visibility aura effect handlers to work correctly on amount change
2011-06-08 09:19:34 +02:00
QAston
f74bc25af1
Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE aura handler to work correctly on amount change.
2011-06-07 22:25:39 +02:00
QAston
0196192c7a
Core/Auras: Fix a typo, which broke AuraEffect::ChangeAmount function
2011-05-31 16:20:27 +02:00
QAston
8ff2ed69bf
Core/Auras: Fix *nix build
2011-05-31 16:03:27 +02:00
QAston
2d3f4687e5
Core/Auras: Prevent assertion fail in AuraEffect::HandleEffect
2011-05-31 14:50:54 +02:00
QAston
3c93cccdb1
Core/Auras: Prevent assertion fail due code in AuraEffect::HandleAuraLinked, also improve the sync between auras linked by this aura type.
2011-05-29 15:49:32 +02:00
QAston
854438fb8a
Core/Auras: add missing parenthesis.
2011-05-29 13:23:49 +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
tobmaps
0faeb45932
Core/Spells: Cleanup code for Summon Gargoyle
2011-05-28 18:49:21 +07:00
Shauren
0f7b73c141
Compile fixes
2011-05-26 23:12:53 +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
tobmaps
5cab20c80a
Core/Spells: Fix animation for Haunt talent
...
Closes #1643
2011-05-23 16:46:42 +07:00
Shauren
5303238744
Core/Auras: Fixed infinite mana stacking exploit
2011-05-20 17:11:53 +02:00