aboutsummaryrefslogtreecommitdiff
path: root/src/game/PetAI.cpp
AgeCommit message (Collapse)Author
2010-01-19*Fix petAi::Update crash.QAston
--HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16Fixed some problems with pets, port from tc1, by krz, thx Frankir.n0n4m3
--HG-- branch : trunk
2009-12-19Fixed some typos and revert one commitn0n4m3
--HG-- branch : trunk
2009-12-19Avoid not needed too oftent send update data, cleanups. by SilverIcen0n4m3
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-09*PetAI update;Machiavelli
Pets now start attacking their owners target in defensive mode as soon as the hunter does (3.0.2 change) Correctly chase target if attack command was given after pet has set gaze on target from defensive mode with chase = false --HG-- branch : trunk
2009-09-22*Fix Unit::m_regenTimer so creatures regen health properly, by MrSmitemaximius
*Partial Utgarde Pinnacle instance & boss scripts, rewritten by Tartalo, original by ckegg *Fix a bug where pets would engage new attackers while approaching the target their owner sent them to attack, by MrSmite --HG-- branch : trunk
2009-09-18*Indentation cleanupmaximius
--HG-- branch : trunk
2009-09-15*Fix pets not selecting next target bug, by MrSmitemaximius
--HG-- branch : trunk
2009-09-14Backed out changeset 60578c781be1maximius
--HG-- branch : trunk
2009-09-14*Use 4 spaces instead of tabs in .cpp and .h filesmaximius
--HG-- branch : trunk
2009-09-11*Attempt to fix PetAI crash, thanks WarHeadmaximius
--HG-- branch : trunk
2009-09-10*Cleanup comments, update THANKS (no idea if I missed anybody o_O), added ↵maximius
Themris' Warlock's Death Coil healing and damage fix, corrected some typos --HG-- branch : trunk
2009-09-10*MrSmite's PetAI patch, plus Hawthorne's Instant Flight Paths (now with ↵maximius
actual code! >_<) --HG-- branch : trunk
2009-08-05 [8297] Partly revert "[8291] Now allow auto-casting pet spells out of ↵megamage
combat by PetAI, related code cleanups." Author: VladimirMangos Use less stricted limitations for pet out-of-combat autoucasts. --HG-- branch : trunk
2009-08-02[8291] Now allow auto-casting pet spells out of combat by PetAI, related ↵megamage
code cleanups. Author: VladimirMangos --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-05-24 [7886] Drop use table `petcreateinfo_spell`megamage
This is first commit in chain for remove oudated and not used pet functionality. * Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets) * Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures) * Fixed bug with not removing from action bar spell icon for not ranked unlearned spells. Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template. [7887] Drop pet spell teaching code, including field in character_pet. Author: VladimirMangos --HG-- branch : trunk
2009-05-22*Fix a bug that owner cannot recall pet when pet is attacking target.megamage
--HG-- branch : trunk
2009-04-29[7730] Some optimizantion and code style. Author: zhenyamegamage
--HG-- branch : trunk
2009-04-14 [7667] Add to CreatureAI field pointing to creature itself. Use it ↵megamage
instead diff. fields in subclases. Author: VladimirMangos Also send pointer to AI constructors ans mark constructors as explicit. This changes allow move now some generic often used AI code to CreatureAI helper functions. --HG-- branch : trunk
2009-03-27[7552] Move client version dependend DBC code to src/game. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-03-20*Fix a crash for creatures using petAI without charminfo.megamage
--HG-- branch : trunk
2009-03-14*Merge.megamage
--HG-- branch : trunk
2009-03-14*Fix broken pet autocast.megamage
--HG-- branch : trunk
2009-03-13*Merge.megamage
*"Fix Glowing Blood" is not merged. Outdated patch? --HG-- branch : trunk
2009-03-13*Call stopmoving in moveidle.megamage
--HG-- branch : trunk
2009-03-12*Merge.megamage
--HG-- branch : trunk
2009-03-12*Assign possessed AI and pet AI to charmed creatures.megamage
--HG-- branch : trunk
2009-03-06*Merge.megamage
--HG-- branch : trunk
2009-03-05*Disable charmed/possessed creature AI.megamage
*Use general react states to replace charminfo react states. --HG-- branch : trunk
2009-03-02[7362] Use IN_MILISECONDS where appropriate, other cleanups. 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-01-30*AI structure update.megamage
--HG-- branch : trunk
2009-01-30*Fix some bugged AI which cause creatures enter evade mode repeatedly.megamage
*Let player enter combat when attacked but not hit by creatures. --HG-- branch : trunk
2009-01-28*Fix critter AI.megamage
*Some AI structure change. --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 2Drahy
* Changed mangos website --HG-- branch : trunk
2009-02-04* Updated copyright notice for new year (2009) part 1 - Mercurial cant ↵Drahy
convert all files at once --HG-- branch : trunk
2009-01-31*Merge.megamage
--HG-- branch : trunk
2009-01-29*Merge.megamage
--HG-- branch : trunk
2009-01-21*Update to Mangos 7136.megamage
--HG-- branch : trunk
2009-01-16*Do not let target get in combat until hit by attacker.megamage
--HG-- branch : trunk
2009-01-03*Update pet's speed when pet is incombat rather than when owner is in combat.megamage
--HG-- branch : trunk
2008-12-05*Update melee range calculation. By QAston.megamage
--HG-- branch : trunk
2008-11-27*Fix the bug that stealth spells crash the server. (Finally we know what is ↵megamage
wrong.) --HG-- branch : trunk
2008-11-14[svn] *** Source: MaNGOS ***visagalis
* Fixed build extractor at Windows Vista. Author: Vladimir * Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox. * Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza * Small fixes in send/received packet and simple code cleanup also. Author: Vladimir * Not output error at loading empty character_ticket table. Author: Vladimir * Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius * Applied props to few files. --HG-- branch : trunk