aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-10Fix a mem leak.Anubisss
--HG-- branch : trunk
2010-01-10*Tabs to spacesQAston
*Fix a type in CreatureEventAI.cpp from last rev --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-09Fix Drakarri Colossus: mojo stay passive only if colossus still aliveTrazom62
--HG-- branch : trunk
2010-01-09Fix Script: add missing initialization. Fixes #216Trazom62
--HG-- branch : trunk
2010-01-09*Fix Drakarri Colossus event not startingTrazom62
- didn't started if the colossus was spawn after the mojo - avoid hard-coded coord --HG-- branch : trunk
2010-01-08Implemented new event for EventAI, EVENT_T_RESET._manuel_
--HG-- branch : trunk
2010-01-08Fixed typo by Corfiik. Now talent Tidal Waves should work._manuel_
--HG-- branch : trunk
2010-01-08* Fix some more cases where movement flags were +'d together, instead of |'d.XTZGZoReX
--HG-- branch : trunk
2010-01-08Fixed typos in scripts from Trial of the Champion. Thanks to Spp._manuel_
--HG-- branch : trunk
2010-01-07* Hopefully fix creature so they swim if InhabitType|2Brian
--HG-- branch : trunk
2010-01-07* Added support for outputting phasemask in .npc infoBrian
--HG-- branch : trunk
2010-01-07Deadmines: Implemented Mr.Smite chest event._manuel_
--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-07* Fix the .wp add command to output proper point starting at 1Brian
* Thanks QAston (For Malcrom with love) --HG-- branch : trunk
2010-01-07fishing: send correct message when fish escape.Trazom62
--HG-- branch : trunk
2010-01-07Added meaning for one unknown 3.2.0 column in Spell.dbc.Astellar
--HG-- branch : trunk
2010-01-07Fix Essence of Wintergrasp apply conditions removed in 3.2.2 upgradeSpp
--HG-- branch : trunk
2010-01-07solved problems, that came after 6b22e47d1csilver1ce
--HG-- branch : trunk
2010-01-07Fixes issue 152. Now Improved Water Shield works as intended.Astellar
1. Removed hardcoded proc chance for Lesser Healing Wave (all ranks had equal proc chance). 2. Added proc chance for Chain Heal (patch 3.2). 3. Fixed bug with Lesser Healing Wave and Chain Heal rolled default spell proc chance at first and then correct chance in dummy proc. So they have never ever proced for low ranks of the talent. 4. Removed consumption of charges (patch 3.2). --HG-- branch : trunk
2010-01-06Reverted commit ba4294dec1. n0n4m3 asked me to do it.Astellar
--HG-- branch : trunk
2010-01-06mergesilver1ce
--HG-- branch : trunk
2010-01-06call SetPosition when player relocated by movement generator.silver1ce
SetPosition should interrupt auras with movement or turn interrupt flags, update position for group, etc --HG-- branch : trunk
2010-01-06fixed the bug that GetVmapHeight returns incorrect height on terrains(flying ↵silver1ce
units fall below map etc) also unlocked max ray lenght for getHeight, by default it's 10 yards --HG-- branch : trunk
2010-01-05Merge :(_manuel_
--HG-- branch : trunk
2010-01-05Halls of Stone: Prevents Brann Bronzebeard stuck in combat._manuel_
--HG-- branch : trunk
2010-01-06Fixed Issue 11. Now combo points are kept when finishing move misses. Revert ↵Astellar
it if it's wrong. --HG-- branch : trunk
2010-01-05typosilver1ce
forget that cell area used not only in cell visit functions --HG-- branch : trunk
2010-01-05fix my typosilver1ce
--HG-- branch : trunk
2010-01-05update cell search methtod (visiting grids by coords)silver1ce
the old way will miss the grids when non standart cell size used --HG-- branch : trunk
2010-01-05DB update to have correct Windfury proc chance for already commited hack :)Astellar
--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-05Fixed Glyph of Sunder Armor.Astellar
--HG-- branch : trunk
2010-01-05uint8 does not allow to store values like 1000 and 2000. It is too small to ↵Astellar
do it. --HG-- branch : trunk
2010-01-04Shadowfang Keep: Implemented event after Boss Fenrus the Devourer death._manuel_
--HG-- branch : trunk
2010-01-05Fixed previous commit. Now elemental is despawned when totem is replaced.Astellar
--HG-- branch : trunk
2010-01-05Fixed Issue 10. Now summoned elemental is correctly despawned.Astellar
Try to find a better place for such check... --HG-- branch : trunk
2010-01-04Fixed Glyph of Lightwell.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
2010-01-04Zul'Farrak: Support for quest "The Spider Gold" q2936._manuel_
--HG-- branch : trunk
2010-01-03Blackfathom Deeps: Implemented Morridune event._manuel_
--HG-- branch : trunk
2010-01-03Fix GO crash in boss_arlokk script.p0wer
Remove irrelevant TODO comment. --HG-- branch : trunk
2010-01-03Blackfathom Deeps: Implemented event related with gameobject Fire of Aku'mai._manuel_
--HG-- branch : trunk
2010-01-03* mergeBrian
--HG-- branch : trunk
2010-01-03* Removed useless check for items in DBC but not in DB.Brian
--HG-- branch : trunk
2010-01-03* Update structure for SMSG_CALENDAR_SEND_CALENDAR and add support for ↵XTZGZoReX
sending raid reset times. Thanks to raczman for helping with the client research. --HG-- branch : trunk
2010-01-02Removed moveflags column from creature_addon and creature_template_addon. ↵_manuel_
Thanks to Zor and raczman. --HG-- branch : trunk