Commit Graph

177 Commits

Author SHA1 Message Date
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
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
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
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
tobmaps
c42db7af8c Core/Misc: Minor cleanup and code style fixes 2011-06-28 23:48:59 +07: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
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
tobmaps
afd524f36b Core/Misc: Some random cleanups and code style fixes 2011-06-20 04:04:20 +07:00
elecyb
66ce66ab73 Core/Spells: Fix diminishing group for Curse of the Elements 2011-06-20 01:15:33 +07:00
Lopin
0f95cf7ffd Core/Spells: Fixed two more diminish returns - Curse of Tongues & Curse of Elements 2011-06-19 10:58:28 +02:00
elecyb
89c97b94fd Core/Spells: Judgment of Justice should be limited to 10 seconds in PvP
Closes #2036
2011-06-19 02:27:46 +07:00
kaelima
6f361be1ba Core/Spell: Correctly reordered diminishing groups for sharing diminishing timers between spells.
- Fixes several spells witch were in wrong group.
- Charge and scatter shot now has their own group.
- Moved Noblegarden Bunny costumes to negative effect.

Thanks Shocker for testing. Data comes from Elitist Jerks, Arena Junkies and a few addons tracking diminishing timers.
2011-06-17 22:35:05 +02:00
Lopin
0d2c8f7a96 Core/Spells: Conservator's Grip is now marked as a debuff, Fists of Stone as a buff. Also small coding-style change around 2011-06-17 12:00:11 +02:00
tobmaps
e854fd34d2 Core/Spells: effects with target mode TARGET_UNIT_AREA_PATH should be negative
Closes #434
Closes #729
Closes #1104
Closes #1840
2011-06-16 00:54:42 +07:00
Lopin
0cbd171935 Core/Spells: Fixed few spells in Auriaya's encounter (Ulduar) - Sonic Screech, Strength of the Pack, Sentinel Blast and Terrifying Screech 2011-06-12 21:10:55 +02:00
kaelima
b9e8694540 Core: Continued cleanup
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
158966dc79 Core: Codestyle cleanup 2011-06-11 22:35:29 +02:00
QAston
23d43c72b2 Core/Spells: Drop some redundant code. 2011-06-11 10:55:16 +02:00
Shauren
14689c2748 Core/Spells: Removed unneeded hack 2011-06-11 10:16:25 +02:00
tobmaps
73f0cb747c Core/Misc: Fix some typos 2011-06-11 05:37:59 +07:00
tobmaps
dfc92ef59e Core/Spells: Fix more spells that make damage from percent of health 2011-06-10 18:15:09 +07: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
9505607d95 Scripts/Spells: Proper target selection for 62775 - with thanks to Kaelima 2011-06-08 20:06:41 +02:00
Machiavelli
f4229e52f2 Core/Spells: Fix radius for spell 62775 (Ulduar/XT-002 encounter) 2011-06-08 16:52:02 +02:00
Greymane
bcfb8cf69d Core/Spells: Fix max targets for spells 63018,65121,63024,64234 (Ulduar/XT-002 encounter)
Closes #580

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-06-08 15:29:23 +02:00
Shauren
009aff2cc9 Core/Spells: Fixed targeting selection for target type 90 (TARGET_UNIT_TARGET_MINIPET)
Closes #1776
2011-06-04 12:13:27 +02:00
tobmaps
223d3266d8 Core/Spells: Seals of Pure should affect Seal of Righteousness
Closes #1762
2011-05-31 23:10:58 +07:00
Shauren
7fb8043b38 Scripts/Icecrown Citadel: Fixed Swarming Shadows on 25 man difficulties
Closes #1737
2011-05-29 18:53:35 +02:00
QAston
14bc68a291 Missaved file, thanks to Shauren for catch. 2011-05-29 15:54:46 +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
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
3405f1672c Core/Spells: Drop unnecessary code 2011-05-26 03:16:03 +07:00
tobmaps
1e783cc446 Core/Spells: Fix a bug when you can't use Ice Block under Forbearance effect 2011-05-22 01:28:27 +07:00
Lopin
18c016a890 Scripts/Ulduar:
* Added script for Freya encounter
* Cleaned up instance script
* Cleaned up teleporter script
* Fixed typo in Hodir script

Signed-off-by: Lopin <Lopin@TwinStar.cz>
2011-05-21 14:36:29 +02:00
Shauren
0ab5cdef2e Scripts/Icecrown Citadel:
* Added Valithria Dreamwalker script
* Fixed Mutated Abomination on heroic mode at Professor Putricide
* Fixed saving heroic attempts to db
2011-05-20 22:20:11 +02:00