aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2009-09-14Backed out changeset d3fe2d6d504a (please test your patches thoroughly ↵maximius
before getting me to push them ogeraisi) --HG-- branch : trunk
2009-09-14*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)maximius
--HG-- branch : trunk
2009-09-02*Fix a crash caused by spell target type channelled target. Thanks to nanounikomegamage
--HG-- branch : trunk
2009-09-01*Fix some restriction of pet spell cast.megamage
--HG-- branch : trunk
2009-09-01*Allow pet to have combo points.megamage
--HG-- branch : trunk
2009-08-31*Add a line in ~Spell for debug.megamage
--HG-- branch : trunk
2009-08-31*Fix a crash caused by unremoved spell mode. Thanks to Visagalismegamage
--HG-- branch : trunk
2009-08-29*More update about positions.megamage
*Ulduar: do not allow demolisher to regenerate pyrite. Player must shoot down and grab the containers to refill pyrite. --HG-- branch : trunk
2009-08-29*Make position as a class;megamage
--HG-- branch : trunk
2009-08-28*Update flame levi script. Allow player to shoot down pyrite container and ↵megamage
refill the demolishers. *Other script-related fixes. --HG-- branch : trunk
2009-08-27[8426] Use upper/lower iterator pairs as result instead 2 function calls. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-08-27*Correctly process more movement packets. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-08-28*Backout *[8394] Propertly reject self targeting for pet spell 2947 and ↵QAston
ranks, and spell 54646. --HG-- branch : trunk
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