aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2009-08-08*Fix a bug that UNIT_STAT_CASTING is not cleared when delayed spells are casted.megamage
--HG-- branch : trunk
2009-08-08*Cleanups, remove obsolete code and minor optimizations in spellauras.cpp ↵QAston
and spelleffects.cpp *Remove GetDummyAura(uint32 spellid) function - it is faster to use GetAuraEffect or GetAura if id is known than iterate threw dummy auras list *Move Death Strike code from HandleDummyAuraProc to Spell::EffectDummy - original patch by hununza. --HG-- branch : trunk
2009-08-07*Fix a bug introduced in 3874. This makes IsNonMeleeSpellCasted cannot ↵megamage
correctly check if caster is casting. *This fixes the bug that Heigan chases players when he is channelling. --HG-- branch : trunk
2009-08-07*Check category instead of flags for some spells. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-08-05*Fix a typo.megamage
--HG-- branch : trunk
2009-08-05 [8308] More generic code for new continent spell casting including fly ↵megamage
form/mounts. Author: VladimirMangos * Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in SpellMgr::GetSpellAllowedInLocationError. * Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item) * For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state. * Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality. * Allow in `spell_area` have data deepndent from ghost auras This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area` --HG-- branch : trunk
2009-08-05*Fix Coyote Spirit Despawn Aura (52172) and Blood Parrot Despawn Aura ↵QAston
(60244) - inspired by Disassembler's patch. --HG-- branch : trunk
2009-08-05*Fix target selection for Ancestral Awakening and Replenishment - by ThemQAston
--HG-- branch : trunk
2009-08-05*Correct implementation and use of dbc data for aura ↵QAston
SPELL_AURA_CONVERT_RUNE(249) *Fix Blood of the North, Reaping - original patch by thenecromancer *Fix Death Rune Mastery. --HG-- branch : trunk
2009-08-04*Fix Gargoyle feeding behaviour - original patch by thenecromancer.QAston
*Add SPELL_TARGET_TYPE_CONTROLLED for spell_script_target table for fast search of units(grid search skipped) and to prevent applying effects to not owned summons --HG-- branch : trunk
2009-08-02 Avoid target requirement checks for spells with caster base target ↵megamage
selection (self,pet,around). Author: VladimirMangos This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster. --HG-- branch : trunk
2009-07-31*Handle target area path as area cone for now.megamage
--HG-- branch : trunk
2009-07-30*Correct some trap proc checks (do not threat trap cast as triggered)QAston
*Fix a typo causing freeze. --HG-- branch : trunk
2009-07-30 [8250] Cleanup code and data for `spell_threat` Author: nos4r2zodmegamage
* Load table data to std::map instead SQLStorage and add check loaded spell existance. * Drop from table not existed spells. --HG-- branch : trunk
2009-07-28*Cleanups and Fixes in Mirror Image script.QAston
--HG-- branch : trunk
2009-07-28*Restore correct drop of charges after EventAi cancast fix.QAston
--HG-- branch : trunk
2009-07-27*Do not allow to cast corpse explosion twice on one corpse - by thenecromancer.QAston
--HG-- branch : trunk
2009-07-27*Spell_bonus_data for Shattering throw and Hand of ReckogningQAston
*Do not check SPELL_ATTR_EX_CANT_TARGET_SELF for triggered spells --HG-- branch : trunk
2009-07-23*Creature eventAI cancast power check - by smellbee.QAston
--HG-- branch : trunk
2009-07-18*Implement attribute flag SPELL_ATTR_EX_CANT_TARGET_SELF.QAston
--HG-- branch : trunk
2009-07-16 [8183] Some gameobject despanw related fixes Author: VladimirMangosmegamage
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use. * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers. * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped) --HG-- branch : trunk
2009-07-16 [8182] Store and use Map* pointer in WorldObject instead map ids for ↵megamage
speedup Author: Ambal Also some code logic cleanups. Changes let make more cleanups in base map access and other places, but this chnages not inlcuded in patch. *This patch may cause crash. --HG-- branch : trunk
2009-07-14*Do not allow spells having damage to break root casted by the spell.QAston
*Typohunt: wand skill gain, Improved spell reflection aura drop from party. --HG-- branch : trunk
2009-07-14*Move target selection check for Death Coil to Spell::CheckCast - by AstellarQAston
--HG-- branch : trunk
2009-07-13*Make charge-like spells with talented warbringer correctly remove movement ↵QAston
impairing auras. *Fix Revitalize. *Use MaxHp of target instead of base hp for CC auras amount. --HG-- branch : trunk
2009-07-13*Set pvp flag for spells with SPELL_ATTR_EX3_NO_INITIAL_AGGRO if needed.QAston
--HG-- branch : trunk
2009-07-12*Try to fix a crash caused by charm spells. Do not allow to apply charm aura ↵megamage
on invalid target. --HG-- branch : trunk
2009-07-11*Some improvements in procflags:QAston
-handle proc_flag_death -allow trap selection in spell proc event entry for proc_flag_on_trap *Add spell_proc_event entry for Lock and Load - by Bengan *Add spell_proc_event entry for Improved Spell Reflection. --HG-- branch : trunk
2009-07-11Rewrite script for quest 12680Kudlaty
Add support for spells 52267 and 52264 Thanks to Drethek for patch --HG-- branch : trunk
2009-07-10 [8131] Some anti-cheating server side checks. Author: Lightguardmegamage
* Loot in ghost state * Apply duplicate glyphs. --HG-- branch : trunk
2009-07-08*Correct target requirement for eyes of the beast and add some crash ↵QAston
preventing checks to charm code. --HG-- branch : trunk
2009-07-08*fix some addons tracking autoshot cooldownthenecromancer
--HG-- branch : trunk
2009-07-08*Implement attribute flag SPELL_ATTR_EX3_DISABLE_PROC - this fixes double ↵QAston
proc of seal auras *Add Judgement Anti-Parry/Dodge Passive spell for paladins. --HG-- branch : trunk
2009-07-08*Fix the bug that freezing trap has not diminished duration.QAston
--HG-- branch : trunk
2009-07-07*Fix Improved Aspect of the Hawk.QAston
--HG-- branch : trunk
2009-07-07*Do not apply fear diminishings for creatures.QAston
*Remove obsolete code for blood fury - by maxdestroyer. --HG-- branch : trunk
2009-07-05*Allow dest target spells to proc spellcast.QAston
*Allow source target spells to be triggered during spellproc if no unit target avalible. --HG-- branch : trunk
2009-07-02*Redefine procflags:QAston
PROC_FLAG_SUCCESSFUL_POSITIVE_MAGIC_SPELL = 0x00004000 PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL = 0x00008000 PROC_FLAG_SUCCESSFUL_NEGATIVE_MAGIC_SPELL = 0x00010000 PROC_FLAG_TAKEN_NEGATIVE_MAGIC_SPELL = 0x00020000 *Add procEx flag: PROC_EX_NOT_ACTIVE_SPELL = 0x0008000 for spells which proc on spells not doing damage and not specified by familyflags. --HG-- branch : trunk
2009-07-02*Fix 'crazy procs' issue and shadowstep remove on stealth.QAston
--HG-- branch : trunk
2009-07-01[8088] Fixed min_range checking for spell casts. Author: ApoCmegamage
Skip in check values 0.0f from DBC, this spells do not have min range limitation. This should fix some inappropriate target too close messages. --HG-- branch : trunk
2009-07-01*Fix a crash caused by charm spells.megamage
--HG-- branch : trunk
2009-07-01*Fix possible exploits with flying paths.QAston
--HG-- branch : trunk
2009-06-30*Fix a typo causing problems with triggered spell procing.QAston
*More correct damage calculation for conflagrate - by tlexii --HG-- branch : trunk
2009-06-30*Correct typo in spellid check for Corpse Explosion.QAston
--HG-- branch : trunk
2009-06-30Remove cooldown of spells triggered on stance change - this fixes shadowform ↵QAston
dot crit. --HG-- branch : trunk
2009-06-29*Fix the issue of water elemental GCD preventing freeze to be casted - by LarvaQAston
*Correct a typo in prev commit. --HG-- branch : trunk
2009-06-29*Implement aura rank selection for aoe auras casted by playerQAston
*More correct level requirement checks for unit target *Fix some visual issues with spells which are interrupted after SendSpellStart but before SendSpellGo *Prevent adding spellmods permamently to already finished spells. --HG-- branch : trunk
2009-06-28*Correct damage of Faerie Fire (feral)QAston
*Trigger passive aura for shadowform. --HG-- branch : trunk
2009-06-27[8082] Update Diminishing Returns. Author: Lightguardmegamage
--HG-- branch : trunk
2009-06-27*Do not allow triggered spells to remove stealth.QAston
--HG-- branch : trunk