aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
AgeCommit message (Collapse)Author
2009-09-01*Better fix to dead player with health exploit..maximius
--HG-- branch : trunk
2009-09-01*Prevent players from casting spells while getDeathState() == DEAD (this ↵maximius
blocks an exploit where players can skip all mobs/doors/etc in an instance and ressurect themselves at boss) --HG-- branch : trunk
2009-08-29*Some improvements in Mirrors Image visual - by thenecromancer.QAston
--HG-- branch : trunk
2009-08-27*Fix a crash caused by possess pet. Thanks to nanounikomegamage
--HG-- branch : trunk
2009-08-27*A temp fix for the crash caused by creature 28782megamage
--HG-- branch : trunk
2009-08-26*Fix a crash caused by spellclick enter vehicle. Thanks to nanounikomegamage
--HG-- branch : trunk
2009-08-24[8403] Fixed cast spell opcode parsing for some cases with additional data. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-23*Update flame leviathan script.megamage
--HG-- branch : trunk
2009-08-20Revert part of last patch witch should be not pushed. SorryKudlaty
--HG-- branch : trunk
2009-08-20Add script for quest 12864. Script by manuelKudlaty
--HG-- branch : trunk
2009-08-19[8383] Implement WorldSession::HandleCancelChanneling. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-08-19 [8382] Implement ByteArray functions for skip read of fields not needed ↵megamage
for server in received packets. Author: VladimirMangos * Use this fucntions in some case. * Change some packets to form: read fields first check later for better control recieved packets structure. * Fix CMSG_STAND_STATE_CHANGE packet structure to more correct. --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-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --HG-- branch : trunk
2009-08-17*Add spell_bonus_data for lightwell - by ElronQAston
*Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks *Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead. --HG-- branch : trunk
2009-07-22*Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 ↵QAston
(SPELL_AURA_INITIALIZE_IMAGES) *Handle CMSG_GET_MIRRORIMAGE_DATA opcode. *Save Minions follow angle to allow themmoving in a formation *Improvements in SpellAI: correctly evade and select attack target for creatures without threat list *Use SpellAI instead of PetAI for not controllable guardians *Only guardians with SUMMON_TYPE_PET are controllable now *Add script and template data for Mirror Image. *Thanks to Drahy for help. --HG-- branch : trunk
2009-07-11*Allow Illumination to proc on Holy Shock.Destalker
--HG-- branch : trunk
2009-07-11*Fix Desecration.QAston
*Correct a typo which made some of charged auras to be not dropped. --HG-- branch : trunk
2009-06-15 [8016] Work at npc click table data use. Author: VladimirMangosmegamage
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity or to another quest, or from reward quest. * Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading. * Apply some speedups for creature checks affected by spel click state *Also add target position of 51852. By Roland --HG-- branch : trunk
2009-06-10[7983] Make static Spell::SendCastResult accessable from script DLL. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-06-09*Fix Heart of the PheonixQAston
*Fix autoshoot rotation with steady shot. *Make Incanter's Absorption not interrupt other casts. --HG-- branch : trunk
2009-06-08 [7980] Implement item use target requirements store and check (new table ↵megamage
`item_required_target`). Author: NoFantasy Signed-off-by: VladimirMangos <vladimir@getmangos.com> * Also implement this table reload * Static Spell::SendCastResult function for call not from spell code. Can be also used in scripts where need send explicitly spell cast error to client. --HG-- branch : trunk
2009-05-31Mangos [7911]. Author: tomrus88megamage
Very big patch. May cause bugs. --HG-- branch : trunk
2009-05-22Add a column to npc_spellclick_spells table to check if quest is ↵Kudlaty
completed/rewarded or incompleted 1: completed or rewarded; 3: incompleted; default 3 --HG-- branch : trunk
2009-05-18*Fix a bug that player cannot remove buff which is not casted by self.megamage
--HG-- branch : trunk
2009-05-05 [7776] Completed implementation of CMSG_SPELLCLICK Author: arraimegamage
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to npc_spellclick_spells, otherwise you won't be able to use them --HG-- branch : trunk
2009-04-30*Merge.megamage
--HG-- branch : trunk
2009-04-30*Do not allow client to interrupt instant spells. By thenecromancermegamage
--HG-- branch : trunk
2009-04-28*Fix a bug that mind control cannot be cancelled.megamage
--HG-- branch : trunk
2009-04-20 [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangosmegamage
* This let get objects at map without reference to player or another object. * Simplify future implementation for per-map storage for like objects --HG-- branch : trunk
2009-04-13[7663] Cleanup spell interrupt code. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-04-08*Merge.megamage
--HG-- branch : trunk
2009-04-05*Always delink spell and container when spell is cancelled.megamage
--HG-- branch : trunk
2009-04-06*Update of aura system.QAston
--HG-- branch : trunk
2009-04-03[7611] Prevent casting owner spell/use item or gameobject by mind controlled ↵megamage
player or creature. Author: VladimirMangos This also prevent some crashes in like wrong case. [7610] skipped. --HG-- branch : trunk
2009-04-03[7608] Implement ACHIEVEMENT_CRITERIA_TYPE_USE_GAMEOBJECT. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-27*Fix some bugs of pet.megamage
--HG-- branch : trunk
2009-03-27[7552] Move client version dependend DBC code to src/game. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-24[7532] Avoid warnings at use size_t with printf fromat strings. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-24*Do not proc anything for aura remove type = delete.megamage
*Use delete type for duel complete. --HG-- branch : trunk
2009-03-23*Do not proc anything when aura is removed by cancel.megamage
*Remove aura by cancel when duel complete. This fix a crash. --HG-- branch : trunk
2009-03-08[7403] much more unneeded includes removed Author: balrokmegamage
--HG-- branch : trunk
2009-03-02[7360] Use defines instead harcoded item prototype array sizes. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-02-18*Merge.megamage
--HG-- branch : trunk
2009-02-17Newline added to bottom of all files.KingPin
--HG-- branch : trunk
2009-02-12*Merge.megamage
--HG-- branch : trunk
2009-02-09Replace tabs with spaces in more files.Paradox
--HG-- branch : trunk
2009-02-04Replace tabs with spaces, and fix crlf issuesmegamage
--HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk