aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2009-10-31*Reinit the iterator in each loop as the iter is removed from the list, in ↵maximius
AuctionHouseObject::Update, by Trazom *No longer disregard z/o in Map::CreatureRelocation, thanks Sisif *Cleanup, and make Divine Storm default to m_caster is no unitTarget is available *Some mtmaps optimization --HG-- branch : trunk
2009-10-30*Add virtual bool IsEscorted() to escort_ai.hmaximius
*Some minor cleanup and optimization --HG-- branch : trunk
2009-10-30*Target is never valid on MAPID_INVALID.maximius
--HG-- branch : trunk
2009-10-18*Cleanupmaximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-17Fix Faerie Fire (feral) - Damage. Original Author: Nevan.Muhaha
--HG-- branch : trunk
2009-10-09*Blackfathom Deeps - Event: Aku'mai, by Tartalomaximius
*Split Personality Achivement, by Destalker *Halls of Lightning Fixes, by Destalker Volkhan fixes + Achievement Ionar Fix - without this he resets each time he is invisible, spamming sparks Arcing Burn - should be a debuff (and stackable, stackable part NYI :/) *Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom *Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass *Merges by Stryker, thanks to all authors and testers. [8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos [8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos [8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal [8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal [8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy [8536] Fixed spell 62776. By: Ambal [8539] Check pet aura range at area aura update. By: Ambal [8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok [8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok [8561] Replace another auras code call by explicit code [8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok --HG-- branch : trunk
2009-10-08* Force pvp flag on player if assisting player all ready flagged for pvp, ↵Biglad
(exploit fix) --HG-- branch : trunk
2009-10-06* Do not let Seal of Command proc on anything other than a melee swing.Machiavelli
* Fix Judgement of Blood/Martyr dummy by nos4r2zod * Fix Judgement of Command dummy by nos4r2zod --HG-- branch : trunk
2009-09-29*Cleanup and attempt to fix some crashes.maximius
--HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-23*add 11 new event hooks to the OnEvents system, by Hawthornemaximius
--HG-- branch : trunk
2009-09-22*Send channeling start/update packet, converted by Stryker, original by pasdVnmaximius
--HG-- branch : trunk
2009-09-22*Hacky fix to Grounding Totem by Themris (better than no fix at all, and ↵maximius
very difficult to fix properly) --HG-- branch : trunk
2009-09-21*[8508] Not assign boolean value to integer variable, expecting to always be ↵maximius
0. Also renaming member variables. Author: NoFantasy *[8516] Implement spell 53271. Author: Shendor *[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos Thanks to: Stryker *[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor *Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii. --HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
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