aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-13Check if precast spell exists before trying to cast it. (Otherwise ↵thenecromancer
charge-like spells spam console a lot) --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-13Remove hack for Freezing Fog aura.thenecromancer
Instead apply modifier directly to rune cost ( this will also fix runic power generation in that case ) --HG-- branch : trunk
2010-01-13Fix problems with action buttons related to switching specsthenecromancer
*saving spells without saving current talent map and m_activeSpec is not good idea at all, this might allow players various exploits *send expected packet to correctly handle action bar --HG-- branch : trunk
2010-01-13* Added GO script for Inconspicuous Landmark (142189) needed for quest 2882Brian
* Thanks manuel for the help! * Needs additional DB data for quest to work. --HG-- branch : trunk
2010-01-12* Fixed a small opps on the last commit with NPCHandlerBrian
* Fixed error in script boss_grand_champions (Thanks QAston) --HG-- branch : trunk
2010-01-12* Renamed 3.2.2.a_old to 3.2.2a_old (proper format)Brian
* Fixes cmake complaining :) --HG-- branch : trunk rename : sql/updates/3.2.2.a_old/6589_characters_bugreport.sql => sql/updates/3.2.2a_old/6589_characters_bugreport.sql rename : sql/updates/3.2.2.a_old/6589_characters_character_action.sql => sql/updates/3.2.2a_old/6589_characters_character_action.sql rename : sql/updates/3.2.2.a_old/6589_characters_character_aura.sql => sql/updates/3.2.2a_old/6589_characters_character_aura.sql rename : sql/updates/3.2.2.a_old/6589_characters_character_spell_cooldown.sql => sql/updates/3.2.2a_old/6589_characters_character_spell_cooldown.sql rename : sql/updates/3.2.2.a_old/6589_characters_characters.sql => sql/updates/3.2.2a_old/6589_characters_characters.sql rename : sql/updates/3.2.2.a_old/6589_characters_groups.sql => sql/updates/3.2.2a_old/6589_characters_groups.sql rename : sql/updates/3.2.2.a_old/6589_characters_instance_reset.sql => sql/updates/3.2.2a_old/6589_characters_instance_reset.sql rename : sql/updates/3.2.2.a_old/6589_characters_spell.sql => sql/updates/3.2.2a_old/6589_characters_spell.sql rename : sql/updates/3.2.2.a_old/6589_realmd_realmlist.sql => sql/updates/3.2.2a_old/6589_realmd_realmlist.sql rename : sql/updates/3.2.2.a_old/6589_world_battleground_template.sql => sql/updates/3.2.2a_old/6589_world_battleground_template.sql rename : sql/updates/3.2.2.a_old/6589_world_creature_template.sql => sql/updates/3.2.2a_old/6589_world_creature_template.sql rename : sql/updates/3.2.2.a_old/6589_world_instance_template.sql => sql/updates/3.2.2a_old/6589_world_instance_template.sql rename : sql/updates/3.2.2.a_old/6589_world_item_template.sql => sql/updates/3.2.2a_old/6589_world_item_template.sql rename : sql/updates/3.2.2.a_old/6589_world_player_classlevelstats.sql => sql/updates/3.2.2a_old/6589_world_player_classlevelstats.sql rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_action.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_action.sql rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_spell.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_spell.sql rename : sql/updates/3.2.2.a_old/6589_world_quest_template.sql => sql/updates/3.2.2a_old/6589_world_quest_template.sql rename : sql/updates/3.2.2.a_old/6589_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6589_world_spell_bonus_data.sql rename : sql/updates/3.2.2.a_old/6589_world_spell_elixir.sql => sql/updates/3.2.2a_old/6589_world_spell_elixir.sql rename : sql/updates/3.2.2.a_old/6589_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6589_world_spell_proc_event.sql rename : sql/updates/3.2.2.a_old/6597_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6597_world_spell_proc_event.sql rename : sql/updates/3.2.2.a_old/6643_world_gameobject_template.sql => sql/updates/3.2.2a_old/6643_world_gameobject_template.sql rename : sql/updates/3.2.2.a_old/6644_world_creature_template.sql => sql/updates/3.2.2a_old/6644_world_creature_template.sql rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu.sql rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu_option.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu_option.sql rename : sql/updates/3.2.2.a_old/6644_world_gossip_scripts.sql => sql/updates/3.2.2a_old/6644_world_gossip_scripts.sql rename : sql/updates/3.2.2.a_old/6644_world_locales_npc_option.sql => sql/updates/3.2.2a_old/6644_world_locales_npc_option.sql rename : sql/updates/3.2.2.a_old/6644_world_npc_gossip_textid.sql => sql/updates/3.2.2a_old/6644_world_npc_gossip_textid.sql rename : sql/updates/3.2.2.a_old/6644_world_npc_option.sql => sql/updates/3.2.2a_old/6644_world_npc_option.sql rename : sql/updates/3.2.2.a_old/6644_world_scriptname.sql => sql/updates/3.2.2a_old/6644_world_scriptname.sql rename : sql/updates/3.2.2.a_old/6645_world_gameobject_template.sql => sql/updates/3.2.2a_old/6645_world_gameobject_template.sql rename : sql/updates/3.2.2.a_old/6649_world_scriptname.sql => sql/updates/3.2.2a_old/6649_world_scriptname.sql rename : sql/updates/3.2.2.a_old/6655_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6655_world_spell_bonus_data.sql rename : sql/updates/3.2.2.a_old/6657_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6657_world_spell_proc_event.sql rename : sql/updates/3.2.2.a_old/6664_world_quest_template.sql => sql/updates/3.2.2a_old/6664_world_quest_template.sql rename : sql/updates/3.2.2.a_old/6665_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6665_world_creature_classlevelstats.sql rename : sql/updates/3.2.2.a_old/6665_world_creature_template.sql => sql/updates/3.2.2a_old/6665_world_creature_template.sql rename : sql/updates/3.2.2.a_old/6669_world_creature_template.sql => sql/updates/3.2.2a_old/6669_world_creature_template.sql rename : sql/updates/3.2.2.a_old/6675_world_spell_linked_spell.sql => sql/updates/3.2.2a_old/6675_world_spell_linked_spell.sql rename : sql/updates/3.2.2.a_old/6676_world_script_texts.sql => sql/updates/3.2.2a_old/6676_world_script_texts.sql rename : sql/updates/3.2.2.a_old/6678_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6678_world_creature_classlevelstats.sql rename : sql/updates/3.2.2.a_old/6686_world_scriptname.sql => sql/updates/3.2.2a_old/6686_world_scriptname.sql rename : sql/updates/3.2.2.a_old/6691_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6691_world_spell_proc_event.sql rename : sql/updates/3.2.2.a_old/6694_world_item_template.sql => sql/updates/3.2.2a_old/6694_world_item_template.sql rename : sql/updates/3.2.2.a_old/6710_realmd_account_access.sql => sql/updates/3.2.2a_old/6710_realmd_account_access.sql rename : sql/updates/3.2.2.a_old/6710_world_command.sql => sql/updates/3.2.2a_old/6710_world_command.sql rename : sql/updates/3.2.2.a_old/6710_world_trinity_string.sql => sql/updates/3.2.2a_old/6710_world_trinity_string.sql rename : sql/updates/3.2.2.a_old/6711_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6711_world_creature_classlevelstats.sql rename : sql/updates/3.2.2.a_old/6712_realmd_account_access.sql => sql/updates/3.2.2a_old/6712_realmd_account_access.sql rename : sql/updates/3.2.2.a_old/6739_world_script_waypoints.sql => sql/updates/3.2.2a_old/6739_world_script_waypoints.sql rename : sql/updates/3.2.2.a_old/6742_world_script_texts.sql => sql/updates/3.2.2a_old/6742_world_script_texts.sql rename : sql/updates/3.2.2.a_old/6742_world_script_waypoints.sql => sql/updates/3.2.2a_old/6742_world_script_waypoints.sql rename : sql/updates/3.2.2.a_old/6742_world_scriptname.sql => sql/updates/3.2.2a_old/6742_world_scriptname.sql rename : sql/updates/3.2.2.a_old/6748_world_command.sql => sql/updates/3.2.2a_old/6748_world_command.sql rename : sql/updates/3.2.2.a_old/6751_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6751_world_creature_classlevelstats.sql
2010-01-12Fix ACTION_T_RANDOM_PHASE_RANGE. Thanks Nayre and raczmanTrazom62
--HG-- branch : trunk
2010-01-12Fix normal10/normal25 raid detection in scripts.Trazom62
Replace HEROIC(n,h) macro by DUNGEON_MODE(n,h), RAID_MODE(n10,n25) and RAID_MODE(n10,n25,h10,h25) functions Cleanup all HeroicMode like flags in ScriptedAI sub-class Fix some missing virtual destructors --HG-- branch : trunk
2010-01-12Set close and delete unknown packets - helps with DDOS atack.n0n4m3
Print ip address and port for unknown packets(if debug mode on) - helps determine the ip address of the attacking. --HG-- branch : trunk
2010-01-12Sholazar Basin: Core support for quest Crocolisk Mastery: The Ambush ._manuel_
--HG-- branch : trunk
2010-01-12Zul'Drak: Trying to fix some crashes._manuel_
--HG-- branch : trunk
2010-01-12Closes #292. Updates flag respawn timer from battlegrounds and updates max ↵_manuel_
score and score warning from Eye of the Storm. Fix by naitsabes.s --HG-- branch : trunk
2010-01-11Fixed spell 44401 (Missile Barrage). Thanks to QAston._manuel_
--HG-- branch : trunk
2010-01-12*Make sure that any aura (in case of aura remove linked auras for example) ↵QAston
won't survive Unit::RemoveAllAuras. --HG-- branch : trunk
2010-01-11Do not compute incoming time for self casts.Astellar
--HG-- branch : trunk
2010-01-11* Fix crash when there's no creature_classlevelstats entry for a creature level.XTZGZoReX
* All this really does is fill in default values of 1.. If you got custom content, you'll have to fill in the creature_classlevelstats table yourself. This patch doesn't automagically fix stats for you. --HG-- branch : trunk
2010-01-11Fixed typo.Astellar
--HG-- branch : trunk
2010-01-10* Add support for .gobj target to output phaseMaskBrian
* Thanks to Aokromes for the original idea of adding it to .npc info output. --HG-- branch : trunk
2010-01-10* Add support for base armor values in creature_classlevelstats.XTZGZoReX
* Change the table structure to be more core-friendly. * Remove armor field in creature_template and add Armor_mod field. * Also add static CreatureBaseStats::GetBaseStats() function for scripts. --HG-- branch : trunk
2010-01-10Resolves #259 fixed crash, caused by incorrect cell_id generationsilver1ce
--HG-- branch : trunk
2010-01-10*Merge after backout.QAston
--HG-- branch : trunk
2010-01-10Backed out changeset 343bb9cc23ce - mistake fixed in last commit was the ↵QAston
real problem. --HG-- branch : trunk
2010-01-10* Fix a mistake in boss_satharion script which gave players very usefull ↵QAston
auras... --HG-- branch : trunk
2010-01-10Addition to previous commit.Astellar
--HG-- branch : trunk
2010-01-10Fixed quest Catch and Release, some fixes for Tag Murloc spell.Astellar
--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-10Fixed typo.Astellar
--HG-- branch : trunk
2010-01-10* add armor output in .npc infoBrian
--HG-- branch : trunk
2010-01-10*removed not existing file from VC90 project fileRat
--HG-- branch : trunk
2010-01-10Merge_manuel_
--HG-- branch : trunk
2010-01-10Borean Tundra: Improvements in lurgglbrAI by Kudlaty._manuel_
--HG-- branch : trunk
2010-01-10*MergeQAston
--HG-- branch : trunk
2010-01-10Fixes #262. Do not keep area aura enemy targets in combat - 61248 doesn't ↵QAston
bring whole northrend to Dalaran anymore:) --HG-- branch : trunk
2010-01-10Fixed quest 11881 by Kudlaty._manuel_
--HG-- branch : trunk
2010-01-10Fix Naxxramas Gluth timers. Thanks scarymovie87Trazom62
Fixes #251 - Timers: * EVENT_ENRAGE : Start 15 sec, Repeat 15 sec * EVENT_SUMMON : Start 15 sec - Code style : Replace "return;"s with "break;"s in switch-case - Added comments for missing texts and hardcoded emote that should be done with a script text entry. --HG-- branch : trunk
2010-01-10*cleaned up SharedDefinesRat
--HG-- branch : trunk
2010-01-10dropped old code, which unused since new visibility system implementedsilver1ce
--HG-- branch : trunk
2010-01-10*fix spell: Tag Murloc (30877)Rat
--HG-- branch : trunk
2010-01-10*spell_linked_spell entry for Deterrance. Resolves #237.QAston
--HG-- branch : trunk
2010-01-10*Correct code in npc_geezleAI which caused assertion fail.QAston
--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-10now all aura updates are placed into one packetsilver1ce
--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-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