Commit Graph

747 Commits

Author SHA1 Message Date
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
QAston
3bf7035fe1 Core/Spells: Remove some redundant code. 2011-07-04 22:10:42 +02:00
Nay
d6782fa826 Core/Misc: Refactor SendPlaySpellVisual and SendPlaySpellImpact and move them to Unit (from Spell) 2011-07-04 14:46:48 +01:00
Sarjuuk
81d3ca8027 Core/Spells: Fix Warlock T7 4P Bonus 2011-07-04 06:35:15 +07:00
click
7ee3a99a44 Core: Fix compile after the last attribute renaming (naming of this flag might change later) 2011-07-03 12:49:01 +02:00
QAston
29a7535638 Core/Spells: Define 2 more spell attributes: SPELL_ATTR6_CAN_TARGET_POSSESSED_FRIENDS and SPELL_ATTR6_CAN_TARGET_UNTARGETABLE 2011-07-02 17:06:19 +02:00
QAston
86dde83dda Core/Spells: Define many unknown SpellCastTargetFlags enum values, rename some target type enum values to follow standards, also correctly implement TARGET_UNIT_TARGET_PASSENGER. 2011-07-02 16:12:19 +02:00
QAston
06515b27b3 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-07-01 12:48:21 +02:00
QAston
3b8dce669d Core/Spells: Define attributes: SPELL_ATTR0_CAST_TRACK_TARGET(0x00400000), SPELL_ATTR1_CHANNEL_TRACK_TARGET(0x00004000), SPELL_ATTR0_ON_NEXT_SWING_2(0x00000400), add some attribute flag comments based on client research. 2011-07-01 12:47:26 +02:00
tobmaps
18a2d330a8 Core/Spells: Prevent abilities that are 'usable while stunned' being usable while in non-stun effects. Original idea by darkstalker 2011-06-30 08:05:03 +07:00
QAston
d3e887060d Fix build. 2011-06-30 02:17:07 +02:00
QAston
fb9719c653 Core/Spells: Define SPELL_ATTR0_ABILITY (old SPELL_ATTR0_UNK4) 2011-06-30 01:47:09 +02:00
QAston
e79d46e499 Core/Spells: Correctly define TARGET_UNIT_NEARBY_PARTY(3) and TARGET_UNIT_NEARBY_ALLY(4) target types. 2011-06-30 00:49:10 +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