Machiavelli
c65e3822a2
Fix build from 06314c9387
...
closes #99
2011-01-06 22:45:07 +01:00
Sarjuuk
06314c9387
Core/Spells: Implemented Pygmy oil use effect
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 21:40:32 +01:00
sarjuuk
dfc848b88e
Core/Spells: Periodic Dummy for spell 54798. Fixes quest 12851
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 20:25:51 +01:00
Ottowayne
7aa85728fc
Core/Spells: Dummy for spell 51961; support for Quest 12532 & 12702
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 20:22:39 +01:00
Ottowayne
1487ebedaa
Core/Spells: Dummy for spell 47703 (Unholy Union) for quest 12126
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 20:14:13 +01:00
sarjuuk
0cf89f635f
Core/Spells: Starfall skips targets in stealth, invisibility or not in LoS
...
Signed-off-by: Machiavelli <[email protected] >
Also minor codestyle fixes from previous commits
2011-01-06 19:57:36 +01:00
sarjuuk
20b49bccb0
Core/Spells: Set energy in cat form to zero on shapeshift before calculating energy gain from furor talent.
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 19:43:36 +01:00
Ottowayne
b0c559e704
Core/Spells: Fix Spell 54577 - Support for Quest 12828
...
Signed-off-by: Machiavelli <[email protected] >
2011-01-06 19:33:22 +01:00
Shauren
3208b7ae1f
Core/Auras: Prevent phase aura handler from incorrectly being stopped on aura removal
...
Closes #32
2011-01-04 22:41:44 +01:00
Anubisss
80da87f015
Add one more check to EffectDispel.
...
Passive auras are not dispelable.
This fixes a bug like spell Omen of Clarity (16864) can be dispelled by Purge (370) if you have a non passive aura like Mark of the Wild (1126).
Signed-off-by: Anubisss <[email protected] >
2011-01-02 22:43:36 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Shauren
a3eff12b33
Core/Auras: Fixed transform aura stacking logic
2011-01-02 17:22:45 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
QAston
42d3130a56
Core/Auras:
...
Fix a crash with spell 33499 - BIG thanks to Shauren for finding the reason of this crash
Corrections in managing stacked auras which change unit model.
2010-12-31 18:12:20 +01:00
QAston
1b18a0ac65
Core/Auras: Fix aura positivity check after rev bb4bd46d21.
2010-12-31 16:12:29 +01:00
QAston
dd5a77bebc
Core/Auras: Recheck aura presence on target after calling linked events in charm and vehicle aura effect handlers.
2010-12-31 15:37:44 +01:00
QAston
4eccbb81af
Core/Auras: Recheck aura presence on target after calling linked events in aura effect handlers. Prevents undefined behavious when aura effect remove handler is called before apply handler is finished.
2010-12-31 14:39:18 +01:00
QAston
c220fbbc45
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
2010-12-31 12:52:37 +01:00
QAston
bb4bd46d21
Core/Auras: Do not recheck aura positivity every aura effect apply/remove.
2010-12-31 12:50:17 +01:00
John Holiver
3a053c6cd3
Scripts/Trial of the Crusader:
...
1) Fix Leeching Swarm damage and create spell difficulty links to code. Closes issue #4909 .
2) Fix Valkyr's Touch. Closes issue #4553 .
3) Fix Permafrost aura difficulty check.
4) Reduce Slime Pool damage range.
5) Avoid Shaman Champion Heroism spam using 5 minutes (CD) as timer.
6) Fix many spell target selection to only select players (no more totens or pets).
7) Fix Anub'arak Spike being able to receibe the permafrost aura in order to cast spike fail, hopefully.
2010-12-31 06:01:01 +01:00
QAston
8cd2c73e45
Core/ScriptSystem: Add OnEffectManaShield and AfterEffectManaShield hooks to AuraScript class. Usage of these is the same as similar Absorb hooks.
...
Scripts: Move Incanter's Absorbtion script from Unit::CalcAbsorbResist to AuraScript.
2010-12-30 19:05:19 +01:00
QAston
c8adcc95f9
Core/Unit: Move spell specific code from Unit::CalcAbsorbResist to AuraScripts.
2010-12-30 02:03:46 +01:00
leak
1c244cced5
Core/Entities: Fixed disarming and related exploits
...
- Disarm shouldn't deduct stats other than weapon damage
- Ferals shouldn't be affected by disarm
- Fixed meta gem stacking exploit
2010-12-29 17:18:29 +01:00
Machiavelli
88fe1da9eb
Core/Spells: Fix caster selection in aura´s of type 284 (SPELL_LINKED_AURA).
...
Huge thanks to QAston for the brainstorming session.
--HG--
branch : trunk
2010-12-27 23:56:41 +01:00
click
464f1a9f8f
Core: Kill off some warnings
...
--HG--
branch : trunk
2010-12-27 22:58:22 +01:00
Shauren
52620db629
Core/Auras: Fixed enchant proc stack rules
...
Closes issue #5222 .
--HG--
branch : trunk
2010-12-27 22:27:11 +01:00
QAston
ef968f4b15
Core/Unit: Big cleanup in Unit::CalcAbsorbResist
...
Core/AuraScript:
Fix compile time check for AuraScript functions
Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.
--HG--
branch : trunk
2010-12-27 20:14:54 +01:00
Machiavelli
dd745ef326
Core/Vehicles: Some research on VehicleSeatFlagsB.
...
It is assumed that VehicleSeatFlagsB & 322 means the seat can be used indirectly (ie. by aura 236 (SPELL_AURA_CONTROL_VEHICLE)) even though !(VehicleSeatFlags & VEHICLE_SEAT_FLAG_USABLE).
More research to be done Soon (tm).
--HG--
branch : trunk
2010-12-27 16:55:17 +01:00
Machiavelli
bdc47053cc
Core/Spells: Partial fix spells 62056, 63985 (Stone Grip Force Cast - Part of Kologarn encounter), underlying AuraEffect::HandleAuraControlVehicle will no longer prematurely return.
...
--HG--
branch : trunk
2010-12-27 14:53:47 +01:00
Machiavelli
d951407822
Revert 0a95c34021 (thanks QAston for talking sense into me)
...
--HG--
branch : trunk
2010-12-27 11:06:53 +01:00
Machiavelli
299118cd3a
Remove missing lines from previous commit, thanks click for pointing out.
...
(WTB Coffee)
--HG--
branch : trunk
2010-12-27 09:49:38 +01:00
Machiavelli
d69a1c3629
Core/Spells: Fix SPELL_EFFECT_FORCE_CAST(140), SPELL_EFFECT_FORCE_CAST_WITH_VALUE(141). These should force the target to cast a certain spell, not serve as a proxy for the original caster to cast another spell.
...
--HG--
branch : trunk
2010-12-27 09:21:08 +01:00
Machiavelli
4a169412b7
Core/Spells: Implement 65594 (Cancel Stone Grip - Used in Kologarn encounter) spell
...
--HG--
branch : trunk
2010-12-27 09:19:06 +01:00
linencloth
efbc73d025
Core/Player: Split RemoveQuest into 2 separate functions
...
--HG--
branch : trunk
2010-12-26 21:34:08 +01:00
linencloth
6b58081e63
Core/QuestStatus: Fix EffectQuestClear, also clear rewarded quests again
...
--HG--
branch : trunk
2010-12-26 21:18:22 +01:00
Shauren
2c1be8e182
Core/Auras: Prevent model changing when shapeshifted and restore transforms when changing out of shapeshift
...
Closes issue #4754 .
--HG--
branch : trunk
2010-12-26 17:58:41 +01:00
Shauren
f00a589b2a
Scripts/Icecrown Citadel: Mutated Abomination should not damage its owner
...
Closes issue #5252 .
--HG--
branch : trunk
2010-12-26 17:15:41 +01:00
Shauren
79070ca820
Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
...
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
Machiavelli
821c0f6c42
Core/Spells: Add dummy effect for Saronite Vapors (63322) (Used in General Vezax encounter)
...
Based on original code by Lopin
--HG--
branch : trunk
2010-12-26 16:25:40 +01:00
linencloth
b150172521
Core/QuestStatus:
...
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
- Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations
WARNING: Backup your database!
--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
click
8fdbe7c4e6
Core/Spells: Update auraeffects for shapeshift forms with a few missing ones (kills off some more logspam as well)
...
--HG--
branch : trunk
2010-12-26 01:55:48 +01:00
QAston
f4e46db38a
Core/Auras: Add some asserions to hunt down reason of a crash in Aura::UpdateTargetMap. Thanks to Shauren for inspiration.
...
--HG--
branch : trunk
2010-12-26 00:14:13 +01:00
click
b181ba21d9
Core: Fix a few warnings here and there.
...
--HG--
branch : trunk
2010-12-25 06:28:38 +01:00
click
088ed9404b
Core/Entities: Fix a minor disrepancy in the handling of weapon specializations introduced in revision a83f26ef71 - patch by Dr.Tenma
...
Fixes issue 5059.
Fixes issue 5265.
--HG--
branch : trunk
2010-12-25 04:03:04 +01:00
Machiavelli
d587948a0f
Core/Spells: Use a workaround for Grab Crate, cast triggered spell with original caster as caster instead of target. Previous approach was prone to out of range errors.
...
Spell will now correctly restore 25 Pyrite energy (assuming aura 62495 is present to trigger the initial handler)
--HG--
branch : trunk
2010-12-25 03:18:21 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
b098c15674
Core/Auras: Removed pointless checks in SPELL_AURA_MOD_THREAT (10)
...
--HG--
branch : trunk
2010-12-23 19:58:00 +01:00
Machiavelli
f3dd337c6a
Core/Spells: Fix Glyph of Felhunter
...
Author: Lopin
--HG--
branch : trunk
2010-12-23 19:03:28 +01:00
Machiavelli
392a312c6b
Core/Spells: Fix SPELL_AURA_MOD_DAMAGE_PERCENT_DONE(79) to affect proper spellschools based on EffectMiscValue.
...
Author: Dr.Tenma
Fixes issue #4019
Fixes issue #5059
--HG--
branch : trunk
2010-12-23 16:22:30 +01:00
Shauren
66b4c8003c
Core/Spells: Removed a really retarded hack that searched for GameObject targets 50 yards further than it should
...
--HG--
branch : trunk
2010-12-22 23:04:05 +01:00