aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
AgeCommit message (Collapse)Author
2010-02-05A great purge of obsolete macros.Xanadu
--HG-- branch : trunk
2010-02-02*Drop spell_stack_masks tableQAston
*Add spell_group_stack_rules table (for more info see wiki) *The table is maintained by core team *Move some spell specific out of core to the new table --HG-- branch : trunk
2010-02-01*drop spell_elixir tableQAston
*add spell_group table for storage of groups of spell (kinda obvious, isn't it?) and populate the table with converted spell_elixir table data *the table is going to be maintained by core team *fix percentage display at spell_ranks table loading *add TARGET_UNIT_CASTER to allowed learn spell targets in npc_trainer table, thanks to Aokromes for noticing the issue. --HG-- branch : trunk
2010-01-27Removed tabs. Closed issue 397 and 171._manuel_
--HG-- branch : trunk
2010-01-27Re-add event support for type 10 (goober) GOs. By Biglad_manuel_
--HG-- branch : trunk
2010-01-25Fix SpellEffect Quest Complete: shall work if player is the unitTargetTrazom62
--HG-- branch : trunk
2010-01-24Do not allow units that are not in world to create dynamic objects from ↵thenecromancer
spell effect handlers --HG-- branch : trunk
2010-01-24SPELLMOD_DAMAGE is applied in SpellDamageBonus() - remove this hack for ↵thenecromancer
Eviscerate to prevent double apply --HG-- branch : trunk
2010-01-24*Do not keep area aura targets in combat with aura ownerQAston
*Add some safety checks to area aura target map update. --HG-- branch : trunk
2010-01-23Fix Empowered Rune Weaponthenecromancer
Cleanup cast flags --HG-- branch : trunk
2010-01-21Fix EffectSendEvent to work if target is GO or Unit.Trazom62
--HG-- branch : trunk
2010-01-19*Integrate Script system to CoreRat
-added ScriptMgr for loading scripts -removed bindings -moved script system to src/game -moved scripts to src/scripts -VC project files updated -cmakes updated (not 100% done yet) NOTE to Devs: -file locations changed -precompiled renamed to ScriptedPch -ecsort_ai renamed to ScriptedEscortAI -follower_ai renamed to ScriptedFollowerAI -guard_ai renamed to ScriptedGuardAI -simple_ai renamed to ScriptedSimpleAI -sc_creature renamed to ScriptedCreature -sc_gossip renamed to ScriptedGossip -sc_instance renamed to ScriptedInstance *use the new headers in scripts, thank you NOTE to ALL: cmake not fully tested, please report any errors with it could make creashes, incompability USE AT YOUR OWN RISK before further tests!! --HG-- branch : trunk
2010-01-18*Remove some of no longer needed debug code.QAston
--HG-- branch : trunk
2010-01-18*Cleanups before delete after not successfull load pet from db. Thanks to ↵QAston
Drahy for debug traces. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16 Rewrite parts of GameObject use for GO type 10, by NoFantasy.n0n4m3
--HG-- branch : trunk
2010-01-16Fixed some problems with pets, port from tc1, by krz, thx Frankir.n0n4m3
--HG-- branch : trunk
2010-01-16Fixed wrong duration for Dancing Rune Weapon, removed in 3.2.x, thx QiSoft.n0n4m3
--HG-- branch : trunk
2010-01-13* Merge.XTZGZoReX
--HG-- branch : trunk
2010-01-13Backed out changeset: 52e769d95f14XTZGZoReX
--HG-- branch : trunk
2010-01-13* Fix CRLF.XTZGZoReX
--HG-- branch : trunk
2010-01-13Removed all my commits for today, this is hack? really? okeyn0n4m3
--HG-- branch : trunk
2010-01-13Allow apply spell mods for spell Eviscerate.n0n4m3
--HG-- branch : trunk
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