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
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
tobmaps
c42db7af8c
Core/Misc: Minor cleanup and code style fixes
2011-06-28 23:48:59 +07: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
Spp-
3bf0029208
Core/SpellMgr: Minor cleanup in code
2011-06-28 13:53:48 +02:00
kaelima
142943d4c1
This reverts commit f580cddc09.
2011-06-28 13:05:15 +02:00
click
f580cddc09
Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
...
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.
NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
kaelima
9a67aaa8b8
DB/Creature:
...
- Nuke the hacky column DeathState.
- Removed some hacks from Kologarn script, including some cleanup.
- Removed set deathstate command.
BIG thanks to Malcrom for replacing all creatures that had deathstate with proper dynamicflags/auras.
2011-06-27 20:22:53 +02:00
QAston
e5db97a28e
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
2011-06-26 19:32:41 +02:00
QAston
faaba1aa65
Core/Auras: Improvements in spell_linked_spell table handling, now auras with using this table have linked stack amount, also linked aura removal is called now when aura is removed on target death.
2011-06-26 19:31:11 +02:00
Shocker
e05f608919
Core/Spells: Don't allow Killing Spree to hit unattackable targets
2011-06-26 16:06:23 +03:00
QAston
557e06b1c1
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
2011-06-26 13:56:11 +02:00
QAston
ac88fa026f
Database/Spells: Add spell_proc table which is a replacement for spell_proc_event table. This is the initial patch from series of patches changing the way we currently handle procs in the core, and doesn't interfere with existing code in any way.
2011-06-26 13:54:44 +02:00
Shauren
bcd62b8d29
Scripts/Icecrown Citadel: Valithria Dreamwalker encounter should start when she is healed and fixed achievement credit
...
Closes #2117
Closes #2058
2011-06-26 12:47:34 +02:00
Shauren
2b1039d0e1
Scripts/Icecrown Citadel
...
* Removed spellmgr hacks for Boiling Blood
* Removed obsolete effect from Resistant Skin causing them to lose the aura when hit by shadow spell
2011-06-26 11:45:29 +02:00
QAston
6dcee0c0ea
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
2011-06-26 00:29:36 +02:00
QAston
2bcf63d387
Core/Spells: don't allow spells which hit target only with SPELL_EFFECT_DUMMY to execute spell triggers on that targets, also cleanup related code a bit.
2011-06-26 00:29:12 +02:00
elecyb
0a26e659ae
Core/Spells: Removed more unneeded hacks
2011-06-25 04:30:11 +07:00
elecyb
6bda92ac15
Core/Spells: Removed unneded hack
2011-06-25 04:17:27 +07:00
elecyb
83f7363123
Core/Spells: Drop some unneeded and wrong code
2011-06-25 03:57:37 +07:00
Shocker
3de42791ee
Core/Spells: Partial revert of 5ddf90c5fe, use checkcast hook for disallowing spells to be casted directly
...
Closes #2108
2011-06-24 21:56:37 +03:00
Shocker
5ddf90c5fe
Core/Spells: Don't allow players to cast client-side hidden spells directly
2011-06-23 23:43:49 +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
QAston
c4818f1892
Core/Auras: Fix refresh of auras with spellmodifiers applied to currently cast spell.
2011-06-21 19:59:17 +02:00
QAston
fcc02a045a
Core/Auras: Remove auras with AURA_INTERRUPT_FLAG_HITBYSPELL on spell hit, only when target hit is enemy.
2011-06-21 15:57:18 +02:00
tobmaps
afd524f36b
Core/Misc: Some random cleanups and code style fixes
2011-06-20 04:04:20 +07:00
tobmaps
24764a674b
Core/Spells: Fix crash with spellstealing of Divine Illumination
2011-06-20 03:39:07 +07:00
elecyb
66ce66ab73
Core/Spells: Fix diminishing group for Curse of the Elements
2011-06-20 01:15:33 +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
Lopin
0f95cf7ffd
Core/Spells: Fixed two more diminish returns - Curse of Tongues & Curse of Elements
2011-06-19 10:58:28 +02:00