Commit Graph
78 Commits
Author SHA1 Message Date
Shauren 14b6a68857 Added new spell disable flag - core will not check if that spell exists in dbc, used for blizz deprecated items/quests
Fixed loading of access_requirement

--HG--
branch : trunk
2010-07-21 15:17:29 +02:00
Shauren 6a539270ec Added global disable system and moved all disable fields/tables/configs into it
NOTE: instance disables were not converted for new system! if you had some then you need to fix that using new system

--HG--
branch : trunk
2010-07-21 12:14:23 +02:00
QAston dd89c54c6e *Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
click e4a008ca75 Branch merge
--HG--
branch : trunk
2010-07-21 01:35:57 +02:00
thenecromancer a94afe82ca Small improvement in spell mechanic check (do not include effect mechanic in mask when there's no associated effect)
Fixes issue #63

--HG--
branch : trunk
2010-07-21 01:30:25 +02:00
click 4484b75b8f Fix: Warlock Drain Soul effect - use correct spell for soulshard creation (fix by manisamja, thanks ogeraisi for testing)
Closes issue 1931

--HG--
branch : trunk
2010-07-21 01:28:39 +02:00
thenecromancer a71d11149f Make passive auras always visible when they've got some area effect.
--HG--
branch : trunk
2010-07-21 01:22:52 +02:00
thenecromancer c9860e3b9f Some spells with special proc state, some talents like it
--HG--
branch : trunk
2010-07-21 01:15:27 +02:00
QAston c0f9ef6059 *Implement SPELL_EFFECT_CREATE_TAMED_PET(153).
--HG--
branch : trunk
2010-07-20 22:55:28 +02:00
QAston a7c52864b4 *Implement SPELL_EFFECT_DISCOVER_TAXI(154).
--HG--
branch : trunk
2010-07-20 18:27:18 +02:00
QAston b59b21fa69 *Implement SPELL_EFFECT_QUEST_START (150).
--HG--
branch : trunk
2010-07-20 16:11:49 +02:00
Xanadu 37c79360b4 Moved SpellEffects.cpp where it belongs.
--HG--
branch : trunk
rename : src/server/game/Spells/Auras/SpellEffects.cpp => src/server/game/Spells/SpellEffects.cpp
2010-07-20 05:21:15 +02:00
QAston 6d54f02bb4 *Implement SPELL_EFFECT_REMOVE_AURA(164)
*Rename SPELL_EFFECT_KNOCK_BACK_2 to SPELL_EFFECT_KNOCK_BACK_DEST

--HG--
branch : trunk
2010-07-20 04:29:17 +02:00
QAston f906976837 *Remove assertion from packet handler. Assertions should not be put in such places because we can't trust clients nor network.
*Do not allow to charm mounted units.

--HG--
branch : trunk
2010-07-20 01:42:14 +02:00
QAston b5f7ac86ea *Implement SPELL_EFFECT_FORCE_CAST_WITH_VALUE(141).
--HG--
branch : trunk
2010-07-19 22:52:21 +02:00
QAston 7eaaa06375 *Rename SPELL_EFFECT_JUMP2 to SPELL_EFFECT_JUMP_DEST, split the handler of effect from SPELL_EFFECT_JUMP handler
--HG--
branch : trunk
2010-07-19 21:24:09 +02:00
QAston b1fab8caaf *Correct typo in CastSpeedSlow spellgroup - by tassader1000, thanks azazel_kon for sql
*Fix a compile typo in prev commit.

--HG--
branch : trunk
2010-07-19 19:28:54 +02:00
QAston e1e16310ec *Rename SPELL_EFFECT_CHARGE_2 to SPELL_EFFECT_CHARGE_DEST, fix its implementation.
--HG--
branch : trunk
2010-07-19 19:22:05 +02:00
click 84c6fa001c Allow HOT/DOT-stacking for spells with PERIODIC_DUMMY spellauras (QAston working as a teacher)
Closes issue 2645

--HG--
branch : trunk
2010-07-19 13:57:28 +02:00
QAston 9c9bc32d09 *Add missing 295 aura effect handler lost somewhere in 33x repo merge to handler table - this fixes crash with access to 316 aura and binds correct handler to aura 305.
--HG--
branch : trunk
2010-07-17 00:48:31 +02:00
QAston 0ed0b1f7f5 *Fix for Six demon Bag - patch by pxlcreations and antihrists.
--HG--
branch : trunk
2010-07-16 18:37:43 +02:00
QAston 974e120235 *Remove no longer needed check in Arcane Potency script - by A.Metaphysical.Drama.
--HG--
branch : trunk
2010-07-16 18:05:25 +02:00
QAston d005e14faf *Update spell_proc_event entry for Everlastin Affliction - by francesco.buldo.
*Manually add corruption to list of spells affected by Everlasting Affliction.

--HG--
branch : trunk
2010-07-16 17:25:14 +02:00
QAston a7b7073cc5 *Item - Coliseum 25 Heroic Caster Trinket - patch by microbius51
--HG--
branch : trunk
2010-07-16 15:48:31 +02:00
QAston 7e8c61c95a *Remove hack for Divine Storm from Unit::DealDamage
*"Zip" some data in SpellMgr::LoadSpellCustomAttr
*Add MaxAffectedTargets for Divine storm heal effect
*Move Divine Storm to correct spellfamily switch-case block in Spell::EffectDummy
*Some ordering fixes of case blocks in Spell::EffectDummy

--HG--
branch : trunk
2010-07-16 14:42:24 +02:00
QAston b406321c01 *Prevent possible problems with application of negative auras with 0 duration, now only spell hits which were diminished are immuned.
*Remove old code of SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE forgotten in c84e55b632.

--HG--
branch : trunk
2010-07-16 14:23:03 +02:00
QAston 719f13874e *Rename SPELL_AURA_RANGED_AP_ATTACKER_CREATURES_BONUS to SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE, and reimplement that aura type.
*Some more research about new aura types.

--HG--
branch : trunk
2010-07-16 13:20:50 +02:00
QAston 5ca1748326 *Implement aura type SPELL_AURA_SHARE_DAMAGE_PCT(300), somewhat based on patch by joshwhedon
*Add some guess comments about unknown aura types

--HG--
branch : trunk
2010-07-16 01:08:06 +02:00
QAston 0252202504 *Correctly set basepoints of Learn spells - patch by Toni.Shocker.
*Make sure that Spell::m_currentBasePoints are used correctly in any other place of the code.

--HG--
branch : trunk
2010-07-15 23:20:41 +02:00
QAston d59cc55351 *Typofix
--HG--
branch : trunk
2010-07-14 17:09:30 +02:00
QAston a43ec3f158 *Add SpellMgr::CalculateSpellEffectAmount function for consistency of effect amount calculations in core
*Remove SpellEntry::CalculateSimpleValue function and use the new cuntion instead
*Remove some workarounds made because of incorrect effect amount calculations
*Since now aura effect amount problems should be gone.

--HG--
branch : trunk
2010-07-14 16:57:13 +02:00
Shauren 6385a48b45 Fixed base points for Heart of the Wild however this does not fix its incorrect amount as the issue is somewhere else
Add forgotten Stances and StancesNot fields to data insert in world sql

--HG--
branch : trunk
2010-07-14 09:51:18 +02:00
QAston c783cacbe6 *Remove unsafe call of Aura::CheckTarget() which was causing aura list corruption on some units.
*Change the function name to Aura::CheckAreaTarget()
*Move some functions in SpellAuras.cpp to match order from SpellAuras.h

--HG--
branch : trunk
2010-07-13 21:41:21 +02:00
click 673c652ba6 change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
Shauren bf111e7d96 Fixed Savage Defense
Fixed Master Shapeshifter

Fixes issue #1299.

--HG--
branch : trunk
2010-07-08 20:35:01 +02:00
Shauren 2484df3918 Revert revision 4b8a7a570412 until properly fixed, caused auras to get stuck at client sometimes
--HG--
branch : trunk
2010-07-07 09:42:18 +02:00
Shauren 9ba91d50d0 Fixed sending aura remove packet at stack modification
--HG--
branch : trunk
2010-07-06 13:22:24 +02:00
click 53f4b517ce Remove doublecalculation of crit res (fix by dr.tenma)
Fixes issue 2031

--HG--
branch : trunk
2010-07-04 21:31:20 +02:00
click a11391b3c0 Fix warrior selfheal & heal-reduction (and handling of OBS_MOD_HEALTH in the same time)
(Thanks to dr.tenma)

--HG--
branch : trunk
2010-07-04 19:28:40 +02:00
Shauren eba3f0a1dd Implemented SPELL_EFFECT_CLEAR_QUEST (139), patch by Socolin
Closes issue #2840.

--HG--
branch : trunk
2010-07-04 19:16:40 +02:00
click c834a45ba5 Initialize m_flags after m_isNeedManyNegativeEffects, as m_isNeedManyNegativeEffects is used in _CheckPositive()
Thanks to ge0rg and his valgrind-running

--HG--
branch : trunk
2010-07-04 16:57:26 +02:00
Shauren 4b19773df1 Added support for SPELL_AURA_SCHOOL_HEAL_ABSORB (301)
--HG--
branch : trunk
2010-06-29 14:20:49 +02:00
Xanadu bde8e96cc5 Aspect of the Viper now correctly displayed as a buff. Closes issue #107.
--HG--
branch : trunk
2010-06-28 20:34:11 +02:00
Xanadu 0485d99e5d Fixed periodic damage for stackable auras (Deadly Poison...). Patch by Lyall. Closes issue #1368.
--HG--
branch : trunk
2010-06-28 05:26:00 +02:00
Xanadu ba2e5ec2a2 Fixed Shiv.
* Now it does weapon dmg and adds a combo point even without poison (yes, that's blizzlike).
* Poisons from Shiv cannot crit.
* No more double poison procs.

--HG--
branch : trunk
2010-06-27 20:40:41 +02:00
Xanadu 39429b0548 Dispell code cleanup - GetDispelChance now really returns dispel chance and not resist chance.
--HG--
branch : trunk
2010-06-27 04:03:30 +02:00
Tartalo 0fd3e47edc Fix crash when applying mind control to vehicles
Closes issue #2816
What should happen when mind control is applied to vehicles?

--HG--
branch : trunk
2010-06-27 00:58:04 +02:00
Shauren 456c6291ab Move trade data to dynamic structure and added support for applying enchant after trade ends, based on Vladimir's commits
--HG--
branch : trunk
2010-06-25 13:15:51 +02:00
Machiavelli 0f7657b68c Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
Also get rid of unused CountedReference class that used Trinity threading pattern.

--HG--
branch : trunk
2010-06-25 00:18:01 +02:00
Tartalo 55ca26294a Fixed Shadow Ward coefficient, by dr.te...
--HG--
branch : trunk
2010-06-24 15:12:01 +02:00