Shauren
b9a6e2333c
Core/Spells: Removed implicit casts from SpellImplicitTargetInfo, fixed copypaste mistakes and one crash
2011-07-27 12:35:59 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
Spp-
fa50c0a464
Fix some warnings here and there
2011-07-27 11:00:39 +02:00
Spp-
39be30a39f
Fix compile
2011-07-27 11:00:14 +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
QAston
29c228a801
Core/Spells: Add SpellInfo class to store static data and methods for spells. This class is going to replace SpellEntry use in core. SpellInfo class includes all spell-related functions which resided in SpellMgr, and makes them much easier to access, reuse or add new stuff. Another advantage is that you no longer have to lookup db/dbc data by entry or index, because such data can now be included in the new class. Thanks to that, TC will have no problems on drastic spell dbc format change in 4.x.
2011-07-26 23:00:23 +02:00
insider42
17c2c122da
Core/Spells: Fix Glyph of Shadow Word: Death
2011-07-25 01:50:46 +07:00
tobmaps
17c3ac6b07
Core/Spells: Garrote and Ambush should be usable only behind the target
2011-07-24 23:49:15 +07: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
a0f1a5c789
Core/Spells: Removed remaining part of old global cooldown handler
2011-07-23 03:30:43 +07:00
Shauren
74e2d981ac
Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair
2011-07-22 21:22:05 +02:00
tobmaps
4c9269cd54
Core/Spells: Fix talent Deep Wounds. Original idea by DrTenma
...
Closes #395
Closes #954
Closes #1188
2011-07-23 00:10:44 +07:00
Shauren
6b1a7497dc
Scripts/Icecrown Citadel: Fixed Precious' Plagued Zombies duration
...
Closes #2365
2011-07-22 19:05:46 +02:00
tobmaps
a3feb40eb6
Core/Spells: Define and implement SPELL_ATTR6_NO_DONE_PCT_DAMAGE_MODS; revert SPELL_ATTR4_FIXED_DAMAGE
...
Closes #1307
Closes #2270
2011-07-22 23:30:23 +07:00
tobmaps
f50892fa77
Core/Misc: Small code style fix
2011-07-22 20:46:19 +07:00
tobmaps
6a89bd767f
Scripts/Trial of the Crusader
...
* Use spells instead of scripts to handle summons used by Lord Jaraxxus
* Fix stacks for spell Nether Power used by Lord Jaraxxus
* Make some triggers invisible
Closes #829
2011-07-22 06:04:10 +07:00
tobmaps
dd2990e2a7
Core/Spells: Fix Glyph of Scourge Strike
...
Closes #391
2011-07-21 20:38:13 +07:00
click
7fe3f55b5e
Core: Fix non-PCH build + clean up some sporadic warnings
2011-07-18 14:49:08 +02:00
QAston
f35d8c9bc4
Core/Spells: Temporary workaround for Summon Eye of Acherus (this time working)
2011-07-16 08:03:36 +02:00
tobmaps
66b217991c
Core/Spells: Fix Unstable Affliction
...
Closes #94
Closes #1244
Closes #1528
2011-07-16 01:24:15 +07:00
tobmaps
8a112a5c10
Core/Spells: Replace spell power coefficient for Divine Hymn by value from dbc
2011-07-16 01:02:50 +07:00
tobmaps
f7737f5660
Core/Spells: Moved part of improved presences code to spell scripts
2011-07-16 00:46:58 +07:00
Shauren
1e3c23a4e8
Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target
2011-07-15 12:33:03 +02: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
QAston
5f565709cf
Core/Auras: Correct display stackable aura amount in client when aura has 1 stack.
2011-07-13 20:57:11 +02:00
QAston
f70875510a
Core/Spells: Drop unrelated manaCostPct check from Spell::EffectPowerBurn and use explicit check instead, fixes some power burn spells.
2011-07-13 20:39:17 +02:00
QAston
b9413f08b3
Core/Spells: Define and implement attributes SPELL_ATTR1_CANT_BE_REDIRECTED and SPELL_ATTR1_CANT_BE_REFLECTED, fixes some problems with Grounding Totem and Spell Reflection.
2011-07-13 20:14:55 +02:00
QAston
7b2cf3d1f2
Core/Spells: Fix a typo (thanks to tobmaps for catching)
2011-07-13 17:31:09 +02:00
QAston
5b1d170272
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
...
Conflicts:
src/server/game/Entities/Unit/Unit.cpp
2011-07-13 17:22:04 +02:00
QAston
20e8c25b48
Core/Spells: Define and implement attribute SPELL_ATTR3_CANT_TRIGGER_PROC, change names of some attributes to better describe their functionality.
2011-07-13 17:18:04 +02:00
Spp-
f37a2030c0
Core: Minor optimization in AnyUnfriendlyAttackableVisibleUnitInObjectRangeCheck
2011-07-12 13:30:33 +02:00
QAston
1c7616dcc8
Core/Spells: Define and implement SPELL_ATTR3_IGNORE_RESURRECTION_TIMER - now you can instantly resurrect with Rebirth spell.
2011-07-12 10:43:58 +02:00
QAston
cd1df639b2
Core/Spells: Define and implement SPELL_ATTR2_CANT_TARGET_TAPPED attribute.
2011-07-12 07:34:42 +02:00
QAston
b253c844fc
Core/Spells: Add ability check in one more place, to prevent other kind of spell reflection.
2011-07-12 06:34:57 +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
QAston
22135f4d91
Core/Spells: Add a temporary workaround for spell Summon Eye of Acherus(51888) - fixes gameobject cast of the spell after recent changes.
2011-07-09 20:25:32 +02:00
Havenard
0c984bfdf5
Core/Auras: Fix problem with aura charges introduced on 42a20f1 with the reuse of existing aura objects on aura reapply.
...
Closes #1989
Closes #2039
Closes #2211
2011-07-09 14:59:35 +07:00
Spp-
f874ca6342
Compile fix (typo in ceefc8c3d7)
2011-07-08 11:45:18 +02:00
Spp-
ceefc8c3d7
Core/Misc: Replace dynamic_cast<XXX*> with proper ToXXX
2011-07-08 11:12:19 +02:00
QAston
99f917552e
Forgotten change from 0dc90a2cbb.
2011-07-07 18:04:35 +02:00
QAston
0dc90a2cbb
Core/Spells: use spell caster as a target of spells triggered by SPELL_EFFECT_FORCE_CAST
2011-07-07 18:02:59 +02:00
Spp-
f0c28cb398
Cosmetic: Define PetAuraMap
2011-07-06 13:28:59 +02:00
Spp-
e3729950b9
Core: Rename GetDispellMask to GetDispelMask
2011-07-06 13:21:39 +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
2bf3bc334c
Core/Spells: define spell attributes: SPELL_ATTR1_MELEE_COMBAT_SPELL, SPELL_ATTR1_FARSIGHT, SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR
2011-07-05 15:40:17 +02:00
Nay
19cd259113
Core/Spells: Remove utterly wrong delay on GameObject activate spells
2011-07-05 02:58:14 +01:00
QAston
3963d6eeb2
Typo in enum name, thanks Nayd for pointing this
2011-07-04 23:26:36 +02:00
QAston
0bc23239d8
Core/Spells: Remove some incorrect spell attribute checks and add custom attributes instead - it's better to know that there is no attribute for something than to pretend there's one and do ridiculous checks.
2011-07-04 23:14:20 +02:00