Commit Graph
924 Commits
Author SHA1 Message Date
Shocker eb219ef5d8 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-06-04 13:19:02 +03:00
Shocker 599bbad6aa Core/Spells: Righteous Defense shouldn't affect targets that can't attack you 2011-06-04 13:18:38 +03: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
Shauren 97a5db68c2 Core/Auras:
* Fixed loading aura charges when they would exceed count set in SpellEntry while still remaining a valid value due to spell modifiers (that might not yet be active)
* Fixed refreshing aura charges when recasting the spell

Closes #1803
Closes #1786
Closes #1805
2011-06-03 21:30:50 +02:00
tobmaps e25c73978a Core/Spells: Drop dead code and fix some SQL updates 2011-06-01 01:58:32 +07:00
QAston 7b5b95966e Core/AuraScript: Add DoCheckAreaTarget hook to allow explicit area aura target selection. 2011-05-31 20:24:44 +02:00
tobmaps 223d3266d8 Core/Spells: Seals of Pure should affect Seal of Righteousness
Closes #1762
2011-05-31 23:10:58 +07:00
QAston 0196192c7a Core/Auras: Fix a typo, which broke AuraEffect::ChangeAmount function 2011-05-31 16:20:27 +02:00
QAston 8ff2ed69bf Core/Auras: Fix *nix build 2011-05-31 16:03:27 +02:00
QAston 2d3f4687e5 Core/Auras: Prevent assertion fail in AuraEffect::HandleEffect 2011-05-31 14:50:54 +02:00
Ramusik d1307ee47b Core: use UNIT_DYNFLAG_NONE instead of 0-value. Also fixed typo in reset UNIT_DYNAMIC_FLAGS at player death
Signed-off-by: click <[email protected]>
2011-05-31 01:18:50 +02:00
Shauren 91b572d669 Tabs to spaces 2011-05-30 19:48:22 +02: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 854438fb8a Core/Auras: add missing parenthesis. 2011-05-29 13:23:49 +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 9f1a4f33c0 Core/Players: Implemented AREA_FLAG_ALLOW_DUELS. Duels should be possible only at areas with this flag. Tnx to Destalker for pointing out this flag 2011-05-29 02:40:37 +07:00
SeTM fade2383cc Core/Spells: Implemented SPELL_ATTR5_HIDE_DURATION. Duration of auras with this attribute will not be displayed clientside 2011-05-28 21:53:32 +07:00
tobmaps 0faeb45932 Core/Spells: Cleanup code for Summon Gargoyle 2011-05-28 18:49:21 +07:00
DrTenma 0dedf84bd9 Core/Spells: Fix runic power gain from Blood Boil
Closes #1718
2011-05-28 03:12:41 +07:00
click 2d1b3ccaa1 Compile warnings fixes 2011-05-27 14:45:44 +02:00
Shauren 0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
QAston fb1772e8c9 Core/AuraScripts: Allow to use AuraScript::GetTarget in AfterEffectRemove and AfterEffectApply hooks. 2011-05-26 17:44:07 +02:00
QAston 0762791754 Core/AuraScripts: Fix runtime error messages appearing in aura scripts when one hook is called from inside of another one. 2011-05-26 16:12:33 +02:00
tobmaps 3405f1672c Core/Spells: Drop unnecessary code 2011-05-26 03:16:03 +07:00
QAston 0eb89fc282 Core/SpellScripts: Better debug output on startup script validation. 2011-05-25 18:00:35 +02:00
QAston a1b8fd2054 Core/AuraScripts: Add AfterEffectRemove and AfterEffectApply hooks, to allow safe triggering of spellcasts or other actions which may call linked events while OnEffectApply and OnEffectRemove are still there for overriding the way effect is handled on target. 2011-05-25 17:13:32 +02:00
QAston ca8eb707d7 Core/Auras:
- Use safer order of calls in AuraEffect handlers (unit modification goes before any calls which may result in linked events execution)
 - Allow manual removal of further effects of an aura during aura removal (so Unit::RemoveAurasByType works well in such situations)
2011-05-25 15:13:55 +02:00
Aokromes 6acd954bf5 Core/Misc: Some random cleanups 2011-05-25 19:54:17 +07:00
kaelima a44e97ab74 Core/Spells: Fix spell 52588 (Skeletal Gryphon Escape) used in quest 12701 (Massacre At Light's Point).
It should now target the player instead of the cannon.
2011-05-24 05:20:57 +02:00
tobmaps 5cab20c80a Core/Spells: Fix animation for Haunt talent
Closes #1643
2011-05-23 16:46:42 +07:00
Silinoron 4c1f56a2b3 Some cleanup in the first half of Spell.cpp. 2011-05-22 16:01:53 -07:00
tobmaps 4b1464dc41 Core/Spells: Fix problem with stackable spells after last commit 2011-05-22 06:12:25 +07:00
Shauren 78ea0075e1 Core/Spells: Allow overriding aura stack amount from CastCustomSpell 2011-05-21 21:36:37 +02: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 <[email protected]>
2011-05-21 14:36:29 +02:00
tobmaps d5cf8a6f5a Core/Spells: Drop some dead code 2011-05-21 03:51:41 +07: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
Shauren 5303238744 Core/Auras: Fixed infinite mana stacking exploit 2011-05-20 17:11:53 +02:00
tobmaps db5ff45e81 Core/Spells: Fix exploit with Improved Shadowform (Rank 1) 2011-05-20 19:28:14 +07:00
Shauren ac4ed1efdf Core/Spells: Moved setting UNIT_CREATED_BY_SPELL out of spell effect handlers and sending SMSG_TOTEM_CREATED into Totem class 2011-05-19 22:27:18 +02:00
tobmaps f03bdceaff Core/Spells: Properly fix Arcane Surge bug 2011-05-20 03:16:48 +07:00
Shauren 49a81557fa Core/Units: Fixed totem timer UI
Closes #298
Closes #1595
2011-05-19 18:50:57 +02:00
Shauren b8a7eace3e Core/Scripts: Print error when attempting to retrieve aura application target in script hook which does not have one 2011-05-19 13:22:17 +02:00
insider42 8049ad5ff5 Core/Spells: Fix health for Mana Tide Totem 2011-05-19 01:24:53 +07:00
tobmaps c4a0d47e0e Core/Spells: Fix Deep Wounds when more than one application applied 2011-05-19 00:25:53 +07:00
kaelima e0bdefb54f Core/Spells: Set models in HandleAuraTransform for the following spells:
Dread Corsair (50517)
Corsair Costume (51926)
Honor the Dead (65386,65495)
Darkspear Pride (75532)
2011-05-18 14:23:13 +02:00
Shauren 37145b6203 Core/Spells: Fixed spell modifiers losing charges on cancelled casts
Closes #247
Closes #640
Closes #1353
2011-05-17 13:33:24 +02:00
Shauren 63f7a6d3d9 Core/Spells: Use SpellDifficulty.dbc to check casterAuraSpell, excludeCasterAuraSpell, targetAuraSpell and excludeTargetAuraSpell
Scripts/Icecrown Citadel: Fixed Mutated Abomination not being able to eat ooze on heroic mode
Scripts/Icecrown Citadel: Removed some obsolete code

Closes #523, #1447
2011-05-17 13:17:42 +02:00