aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
AgeCommit message (Collapse)Author
2010-01-13Fix pickpocket - reveal rogue only if spell is resistedthenecromancer
--HG-- branch : trunk
2010-01-13Fix blink always teleporting to groundthenecromancer
--HG-- branch : trunk
2010-01-13Change SPELL_EFFECT_SUMMON_PHANTAS to SPELL_EFFECT_FORCE_DESELECT and allow ↵thenecromancer
it to be casted with active pet This fixes Mirror Image not changing names when Water Elemental is active. (Note that deselect effect is done in linked spells for Killing Spree/Shadowmeld) --HG-- branch : trunk
2010-01-13Remove unexpected arg, sorry for thatthenecromancer
--HG-- branch : trunk
2010-01-13Fix Kill Shot damage (increase damage by attack power, not weapon damage ( ↵thenecromancer
that is already included in effects)) --HG-- branch : trunk
2010-01-10* Make sure that aura is applied on unit before trying to remove it.QAston
--HG-- branch : trunk
2010-01-10*cleaned up SharedDefinesRat
--HG-- branch : trunk
2010-01-10*Implement attribute SPELL_ATTR_NEGATIVE_1QAston
*Remove unneeded hacks from SpellMgr::_isPositiveSpell *Missing ! in prev commit. --HG-- branch : trunk
2010-01-10* Use pair<uint32, uint64> lists instead of <Aura*> lists in ↵QAston
Dispel/SpellSteal effects handlers (prevent reference to aura removed from unit) * Correctly fill EffectStealBeneficialBuff list with Stackable/Chargeable auras --HG-- branch : trunk
2010-01-10Update aura system:QAston
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras: * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras * Aura data is shared for all units which have AuraApplication of the Aura * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now) * Remove spell source and AreaAuraEffect classes * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant) * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation * AreaAura updates are done in owner _UpdateSpells cycle * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list * And you can access area aura target list * Add basic support for aura amount recalculation * Save recalculation state and base amount of auras to db * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets * Sort aura effect handlers in SpellAuras.cpp and .h by their use * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly * Send aura application client update only once per unit update - prevent unnecesary packet spam * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet * Fix memory leak at player creation (not deleted auras) * Updated some naming conventions (too many to mention) * Added Unit::GetAuraOfRankedSpell() function * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc) * Implement AURA_INTERRUPT_FLAG_LANDING * Implement EffectPlayerNotification (thanks to Spp) * Remove wrong aura 304 handler * Add better handler for death runes * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script * Add many assert() procection from idiots using some functions in wrong way * I am to lazy to write here anything more Thanks to Visagalis for testing this patch PS: Do not make patches like this, please --HG-- branch : trunk
2010-01-07Some Fixes for Earth Shield.Astellar
Now Dispel and Spellsteal effects will correctly dispel and steal Earth Shield's charges instead of entire aura. --HG-- branch : trunk
2010-01-05Glyph of Blocking proc moved to DB.Astellar
--HG-- branch : trunk
2010-01-05Cleanups for Devastate and Glyph of Devastate.Astellar
--HG-- branch : trunk
2010-01-04fix Pain and Suffering (reduces the damage you take from your own Shadow ↵Win32
Word: Death) and remove double dmg Shadow Word: Death --HG-- branch : trunk
2010-01-04fix Restorative TotemsWin32
--HG-- branch : trunk
2009-12-27Fix Mind Blast applying Mind Trauma. Will now proc. Thanks to Morpheux forp0wer
pointing out that it wasn't proccing. --HG-- branch : trunk
2009-12-27Fix whitespace for Flask of the North. Cleanliness and organization = win. =Dp0wer
--HG-- branch : trunk
2009-12-27mergep0wer
--HG-- branch : trunk
2009-12-27Backed out changeset: bcf447b68a92p0wer
--HG-- branch : trunk
2009-12-27Support for spell 67751 used by Argent Confessor Paletress. Thanks to QAston ↵maanuel
and Gyullo. --HG-- branch : trunk
2009-12-27Replace some more id's with new variable names. Fix some whitespace formating.p0wer
--HG-- branch : trunk
2009-12-26Fixed spell Master's Call, autor ?, thx sundarkn0n4m3
--HG-- branch : trunk
2009-12-26Support for spell 67729.maanuel
--HG-- branch : trunk
2009-12-26Fixed Mana Gems, implement SPELL_EFFECT_CREATE_MANA_GEM and revert prev. ↵n0n4m3
commit... --HG-- branch : trunk
2009-12-25* Fix compile.p0wer
--HG-- branch : trunk
2009-12-25* Begin replacing SpellId's with their new variable names.p0wer
--HG-- branch : trunk
2009-12-25Fixed some typosn0n4m3
--HG-- branch : trunk
2009-12-25Fixed double bonus for Hammer of Wrath, already in spell_bonus_datan0n4m3
--HG-- branch : trunk
2009-12-25Update jugement damage calculation for 3.2. by talin0n4m3
--HG-- branch : trunk
2009-12-24* Begin removing hardcoded SpellFamilyFlags from the core.p0wer
* Now being placed in an enum. Starting with EffectDummy. --HG-- branch : trunk
2009-12-24Fixed spell Spirit Walk. by Oudenn0n4m3
--HG-- branch : trunk
2009-12-24Fixed overkill proc after vanish. by bodompellen0n4m3
--HG-- branch : trunk
2009-12-24Temporary revert 6743 commit. I fix this patch across 1-2 days.n0n4m3
--HG-- branch : trunk
2009-12-23Replaced time(NULL) on sGameTime.GetGameTime() this is used for better ↵n0n4m3
performance. Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton. 2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs. --HG-- branch : trunk
2009-12-21Fix Mana Burn to remove fear on target. Closes #629.p0wer
--HG-- branch : trunk
2009-12-21Cleanup in spell codewin32
--HG-- branch : trunk
2009-12-20Add missed change from rev6672.p0wer
--HG-- branch : trunk
2009-12-20Fix warning that became present in rev6655.p0wer
--HG-- branch : trunk
2009-12-20Fix Kill Shot. Patch partially by bodompelle. Closes #357.p0wer
Adds a second copy of weapon damage to total damage. (Same as multiplying damage by 200%) Spell's aura type isn't currently implemented into core, so fix isn't permanent. --HG-- branch : trunk
2009-12-20Mergen0n4m3
--HG-- branch : trunk
2009-12-20Fixed Improved Mind Blast heal reductionn0n4m3
--HG-- branch : trunk
2009-12-20Fixed Hammer of Wrathn0n4m3
--HG-- branch : trunk
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-20Fixed spell Righteous Defensen0n4m3
--HG-- branch : trunk
2009-12-20mergen0n4m3
--HG-- branch : trunk
2009-12-19fix CRLF in last 3-4 commits, take note, new devs using windows need to ↵Paradox
configure the win32text extension properly before pushing anything else. --HG-- branch : trunk
2009-12-19Fix Glyph of Blocking (43425). Patch by chops. Closes #195.bkhorizon
--HG-- branch : trunk
2009-12-19Fix Envenom Damage Formula. Closes #655.bkhorizon
--HG-- branch : trunk
2009-12-19Implement player's pet resilience, also fix DoT case. by VladimirMangos and ↵n0n4m3
thx tali --HG-- branch : trunk
2009-12-18Update Seal of Command (and Unleash) for 3.2.2. Closes #841.bkhorizon
--HG-- branch : trunk