aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2009-08-27*Use one dynobj to handle multiple aura effects.megamage
--HG-- branch : trunk
2009-08-26*Fix a crash caused by possess pet. Thanks to nanounikomegamage
--HG-- branch : trunk
2009-08-26*Some clean up and add debug info to find the reason of crash.megamage
--HG-- branch : trunk
2009-08-26* Also check for Power Type when checking out if player has enough Runes to ↵megamage
cast spell. Some spells have Rune cost entry, but use Runic Power instead ( eg. Mind Freeze ) By thenecromancer --HG-- branch : trunk
2009-08-24*Some update of aura system. Remove unnecessary variables and parameters ↵megamage
from auraeffect. Always refer to parent aura when finding target/source/caster. --HG-- branch : trunk
2009-08-24 [8394] Fixes for some non-self only positive spells. Author: VladimirMangosmegamage
* Propertly reject self targeting for pet spell 2947 and ranks, and spell 54646. * Some related fixes for pet spells with target mode TARGET_SINGLE_FRIEND_2 * Implement original caster bonus part of spell 54646. --HG-- branch : trunk
2009-08-24*Fix the wrong calculation in spell target selection.megamage
--HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-23*Fix Glyph of Wild GrowthNevan
--HG-- branch : trunk
2009-08-23*Some update of spell target selection.megamage
--HG-- branch : trunk
2009-08-19 [8381] Some refactoring work in Unit::m_currentSpells code. Author: ↵megamage
VladimirMangos * Restrict access, use enum args, move some repeated code parts to function. * Make m_selfContainer set only part of Unit::SetCurrentCastedSpell --HG-- branch : trunk
2009-08-17[8369] Some step back in triggered effect caster selection. Author: ↵megamage
VladimirMangos (I do not know what spells this will fix) --HG-- branch : trunk
2009-08-17* Fix bug that player cannot receive credit for killing a creature if damage ↵Machiavelli
done to the creature by spell reflect >=49% of the creatures HP. --HG-- branch : trunk
2009-08-11*Cleanups and obsolete spell handlers remove.QAston
--HG-- branch : trunk
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