Machiavelli
09f2a48227
Core/Spells: Add unittarget check for spell 54798
2011-01-16 00:50:57 +01:00
Machiavelli
38816cb1df
Core/Spells: Implement SPELL_ATTR6_IGNORE_CROWD_CONTROL_TARGETS (0x00000100). Spells with this attribute flag (Avenger's Shield, Hammer of Righteousness, Shield of Righteousness, Felguard Cleave, Fel Iron Bomb) will ignore secondary targets that are under the effect of crowd control aura's.
...
Thanks to Shauren for advices.
2011-01-15 19:40:06 +01:00
Shauren
458c7c642f
Core/Spells: Fixed Glyph of Pain Suppression
...
Signed-off-by: Shauren <[email protected] >
2011-01-14 20:24:39 +01:00
Machiavelli
d399daab59
Core/Quests: Resolve ambiguity between QUEST_STATUS_COMPLETED and rewarded state by implementing QUEST_STATUS_REWARDED. The latter is not used in the database explicitly, only in the core. This is to prevent overhead by iterating over the rewarded quests storage multiple times.
...
All relevant upper level code has been updated accordingly to the best of my ability.
2011-01-13 23:06:59 +01:00
Shauren
8d59953f93
Scripts/Icecrown Citadel
...
* Call EnterEvadeMode before teleporting players to entrance - prevents players being stuck in combat
* Fixed Gaseous Blight stacking damage
* Properly initialize phase for Professor Putricide when entering combat
* Fixed Blood Nova and Boiling Blood abilities of Deathbringer Saurfang
2011-01-12 22:50:51 +01:00
Anubisss
806794d4ce
Fix a crash in Spell::CheckCast().
...
This crash happens when effect is SPELL_EFFECT_TALENT_SPEC_SELECT and the caster is not a player.
You should always check object's type (or sure that object is 101% a player) before you use ToPlayer() casting function.
Signed-off-by: Anubisss <[email protected] >
2011-01-12 02:06:06 +01:00
Manuel
014714fb17
Core: Killing magic numbers.
2011-01-09 20:44:33 -03:00
Manuel
5cf76896eb
Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
...
Anyway the map is not yet playable, there are issues not related with the script.
I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
McBitter
63333dc6ff
Core/Spells: Fixed targeting for spell 49305 (missing unit target)
...
Signed-off-by: Shauren <[email protected] >
2011-01-08 17:40:10 +01:00
Machiavelli
dc3d6a2f23
Remove redundant code from 1487ebedaa
2011-01-07 19:13:19 +01:00
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