Commit Graph

38 Commits

Author SHA1 Message Date
QAston 30d31ca40a *Fix usage of EffectValueMultiplier in spell code.
*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.

--HG--
branch : trunk
2010-08-26 19:07:55 +02:00
Shocker c728681422 * Remove some old checks in aura stacking and change default stack rule to true
* Add stacking rules for Mark/Gift of the Wild, Power Word/Prayer of Fortitude, Prayer of/Shadow protection
NOTE: Although highly unlikely, this *might* cause some stacking problems until we properly define rest of the stacking rules in spell_group, so report any stacking issues
* Some missing lads from THANKS file

--HG--
branch : trunk
2010-08-24 14:38:00 +03:00
Spp 572f7bbd1d Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG--
branch : trunk
2010-08-21 23:08:54 +02:00
Spp a136403dee Core: Remove "suggest parentheses around ‘&&’ within ‘||’" and "suggest parentheses around assignment used as truth value" warnings
--HG--
branch : trunk
2010-08-21 21:54:41 +02:00
Spp c15c605a11 Core: Remove "unused variable 'xxx'" warnings
--HG--
branch : trunk
2010-08-21 21:14:35 +02:00
Spp e7856a831c Core: Remove "enumeration value 'xxx' not handled in switch" warnings
--HG--
branch : trunk
2010-08-21 20:55:31 +02:00
QAston 30bcf8c659 Scripts/Spell: extend SpellScript class: add target aura accessors and functions which prevent various effects of the spell from being executed. Check out SpellScript.h for details
--HG--
branch : trunk
2010-08-19 14:31:31 +02:00
John Holiver 8bf208c0fd Core/Spells: SPELL_ATTR_CU_IGNORE_ARMOR to Impale(65919) several difficulties
--HG--
branch : trunk
2010-08-18 15:21:24 -03:00
QAston 2ffe785765 Core/Spells: add SPELL_ATTR_CU_IGNORE_ARMOR to the avalible custom attribute list, make some spells use the attribute. Research made with JohnHoliver and Shauren
--HG--
branch : trunk
2010-08-18 19:26:07 +02:00
Shauren 71a5320eda Scripts: Added script for Lord Marrowgar
Added base script for Icecrown Citadel instance

--HG--
branch : trunk
2010-08-18 17:19:47 +02:00
QAston 5e78e222c1 Core/Spells: Implement TARGET_DEST_CHANNEL_CASTER(106) and TARGET_GAMEOBJECT_AREA_PATH(108). Rename TARGET_UNIT_CHANNEL to TARGET_UNIT_CHANNEL_TARGET, TARGET_DEST_CHANNEL to TARGET_DEST_CHANNEL_TARGET
--HG--
branch : trunk
2010-08-18 15:04:00 +02:00
QAston 0284ed4cfe *Core/Spells: Implement TARGET_UNIT_SUMMONER
*Rename TARGET_UNIT_MINIPET to TARGET_UNIT_TARGET_PUPPET.

--HG--
branch : trunk
2010-08-17 20:19:06 +02:00
XTZGZoReX 9083271a2f * Some singleton renames for consistency:
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr

--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
XTZGZoReX 909e332579 * Rename: BattleGround -> Battleground.
--HG--
branch : trunk
2010-08-08 04:37:24 +02:00
Shauren 5a345eeade Implemented Dalaran no-fly zone
--HG--
branch : trunk
2010-08-06 20:09:23 +02:00
QAston 96eb7c513f *Some more research about spell target flags - thanks to Zor for info.
--HG--
branch : trunk
2010-08-04 19:16:44 +02:00
Xanadu eb852f5bbd * Added the option to specify target entry in conditions table for spells with AoE GO targets.
* A few examples where this is desirable are posted on the forum.

--HG--
branch : trunk
2010-07-30 01:51:33 +02:00
QAston c44b601ac7 *Allow some spell effects to target units not in caster's map - fixes SPELL_EFFECT_SUMMON_PLAYER
--HG--
branch : trunk
2010-07-29 19:48:40 +02:00
QAston fb1727abb1 *Make Potent Pheromones dispel auras for which it provides immunity.
*Remove not needed attribute modification for Light's Beacon.

--HG--
branch : trunk
2010-07-27 02:36:27 +02:00
QAston dd8d6701b8 *Implement RepRewardRate for spells.
--HG--
branch : trunk
2010-07-27 02:25:22 +02:00
QAston fc4087cd98 *Resurrection sickness and similar debuffs are no longer dispelable.
--HG--
branch : trunk
2010-07-26 19:27:28 +02:00
click 8c76ea2f7c Ensure that Scatter Shot does not share diminishing returns with other spells
Closes issue 3013

--HG--
branch : trunk
2010-07-24 07:19:59 +02:00
QAston 13a2a1afc6 *Fix amount calculation for spell effect with EffectDieSides set to 0.
--HG--
branch : trunk
2010-07-22 12:21:11 +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 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 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 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 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 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
click 673c652ba6 change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
--HG--
branch : trunk
2010-07-12 00:30:17 +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 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
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
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
Shauren 9b2d3b0a71 Fixed typo
--HG--
branch : trunk
2010-06-16 19:58:40 +02:00
Shauren 3be48fe4fc Fixed old no-fly zone code to use area flags instead of hardcoded area ids (this fixes flying in Wintergrasp)
This does NOT implement no-fly zones!

--HG--
branch : trunk
2010-06-16 19:36:50 +02:00
Rat 75b80d9f5b rearranged core files
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00