Commit Graph
263 Commits
Author SHA1 Message Date
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
Tartalo c21c24d461 Fix Ice barrier scaling, Fire Ward & Frost Ward, by dr.te...
--HG--
branch : trunk
2010-06-24 15:05:55 +02:00
Xanadu 05976b7708 Fixed Divine Hymn, Hymn of Hope, Dispersion and Amplify Magic being erroneously displayed as debuffs, instead of buffs. Based on previous thenecromancer's implementation.
--HG--
branch : trunk
2010-06-23 03:45:44 +02:00
Xanadu ffaffe3fd7 * Renamed several VS projects and the executables they produce to reflect the new naming convention.
* Cleaned up some useless and redundant preprocessor definitions.
* Fixed the win build so that it correctly uses the mysql lib it built from the sources.
* Note that you still need to use 8615_mysql_openssl_libs.zip for the OpenSSL binaries.
* Also note that Win x64 build from the existing VS files is still fubar (mysql lib...).

--HG--
branch : trunk
2010-06-23 01:47:41 +02:00
Machiavelli 95ddfbd9e2 Remove some redundant explicit NULL checks for pointers before ´delete´ or ´delete[]´ calls since this check is done implicitly when deleting.
Also fixes a memory leak in .reload creature_template command

--HG--
branch : trunk
2010-06-21 23:20:58 +02:00
Tartalo 1c42795081 Backed out changeset 444ae3a9769f
Going to use a spell_linked_spell based better approach

--HG--
branch : trunk
2010-06-20 11:44:18 +02:00
Tartalo 77565846c6 Fix Spell 20066 (Paladin, Repeteance), by maxdestroyer
Now removes Righteous Vengeance

--HG--
branch : trunk
2010-06-20 06:05:16 +02:00
Tartalo bd599aea17 Fix spells 48129, 60320 & 60321 (Scrolls of Recall I, II & III)
Now they buff Lost! and stop teleporting if they are used beyond max safe
level
Lost! buff is not fixed so there is no random teleport penalty yet

--HG--
branch : trunk
2010-06-20 04:34:58 +02:00
Tartalo 1f709c7d19 Fix spells 52942 & 58837 (Loken Pulsing Shockwave: dinstance depending damage, by Josh
--HG--
branch : trunk
2010-06-20 01:37:58 +02:00
Tartalo a2ab87962d Minor cleansing
--HG--
branch : trunk
2010-06-20 01:34:11 +02:00
Tartalo 1d247017e5 Fix Spell 54732, Defibrillate from Gnomish Army Knife (now has success chance roll)
--HG--
branch : trunk
2010-06-20 00:55:54 +02:00
Tartalo d024e563f8 Fix Grievious bite (48920): now if removed when target is fully healed
--HG--
branch : trunk
2010-06-20 00:37:02 +02:00
Tartalo fb7dc51826 Fix spells 50811 & 61547 (Krystallus shatter), by microbius51
--HG--
branch : trunk
2010-06-19 23:51:33 +02:00
Xanadu 1218b001ac Fixed priest and druid AoE spells broken two commits back. Closes issue 2737.
--HG--
branch : trunk
2010-06-18 17:21:39 +02:00
Xanadu 9cd4e4289c In arenas Replenishment should only affect the caster.
--HG--
branch : trunk
2010-06-18 16:21:23 +02:00
Xanadu c2cdc9994e Reviewed and fixed smart heal and energize target selection:
* Implemented Divine Hymn and Hymn of Hope targeting. Closes issue #180. Closes issue #2538.
* Fixed CoH healing any monsters in your target.
* Removed obsolete hackfix of Wild Growth that attempted the above.
* Fixed Glyph of Holy Light target selection that had code in a wrong place.
* Removed too general check that gave smart targeting to spells that shouldn't have it.
* Implemented correct number of targets for Althor's Abacus heal proc.

--HG--
branch : trunk
2010-06-18 04:17:21 +02:00