aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
AgeCommit message (Collapse)Author
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-06* Implement Spell 6962 by Muhaha & Nevan , based on ↵Muhaha
http://bitbucket.org/panaut0lordv/tc2-patches/src/tip/bgpetressurect --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-09-10*Fix Hunter pet focus regen (thanks MrSmite)maximius
--HG-- branch : trunk
2009-09-09*Replace uint32 with int32, should fix "Pet::Update(): pets aren't ↵maximius
regenerating focus even though m_regenTimer is less than diff".. --HG-- branch : trunk
2009-08-26*Some clean up and add debug info to find the reason of crash.megamage
--HG-- branch : trunk
2009-08-24*Some update of aura system. Remove unnecessary variables and parameters ↵megamage
from auraeffect. Always refer to parent aura when finding target/source/caster. --HG-- branch : trunk
2009-08-24*Remove log spams when ghoul is summoned.megamage
--HG-- branch : trunk
2009-08-24*Fix a bug that dk's ghoul generates energy twice per tick.megamage
--HG-- branch : trunk
2009-08-23*Allow vehicles to regenerate energy.megamage
--HG-- branch : trunk
2009-08-23*Let ghoul regenerate 20 energy per 2 seconds instead of 4 seconds (I think ↵megamage
it should be the same as rogue) --HG-- branch : trunk
2009-08-23*Update vehicle system. Make vehicle a seperate class from creature.megamage
--HG-- branch : trunk
2009-08-14*Script for Ebon gargoyle - original patch by thenecromancer.QAston
--HG-- branch : trunk
2009-08-11*Try to fix a crash caused by single target auras. Thanks to QAston.megamage
--HG-- branch : trunk
2009-08-11*Only use m_isWorldObject to check if an object is in grid or world.megamage
--HG-- branch : trunk
2009-08-01*Improvements in map managing.QAston
--HG-- branch : trunk
2009-07-31Backed out changeset "[8251] Store in some DB tables only data for first ↵QAston
rank. Author: VladimirMangos" until support for different values for ranks and for custom ranks is added. --HG-- branch : trunk
2009-07-31 [8251] Store in some DB tables only data for first rank. Author: ↵megamage
VladimirMangos * Allow add to DB data only for first rank in table `mangos_spell_bonus_data` and `mangos_spell_proc_event`. * Copy data for other ranks for speedup use at loading for this data and data from `spell_proc_item_enchant`. --HG-- branch : trunk
2009-07-30 [8221] Removed trailing whitespacesmegamage
With excluded dep/ - as usual. Signed-off-by: freghar <compmancz@gmail.com> --HG-- branch : trunk
2009-07-28*Cleanups and Fixes in Mirror Image script.QAston
--HG-- branch : trunk
2009-07-22*Add SUMMON_MASK_CONTROLABLE_GUARDIAN to regular pets.QAston
--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-16 [8182] Store and use Map* pointer in WorldObject instead map ids for ↵megamage
speedup Author: Ambal Also some code logic cleanups. Changes let make more cleanups in base map access and other places, but this chnages not inlcuded in patch. *This patch may cause crash. --HG-- branch : trunk
2009-07-01*Backup your DB!megamage
[8098] Support uint32 spell ids in code. Author: VladimirMangos * Propertly work with uint32 spell ids in player action bar * Fix in same time bug with not save equipment set button with id==0 * Merge misc field in character_action and playercreateinfo_action to action field as 3 byte * Propertly load uint32 spell ids from character_spell * Fixed types for some pet/creature related structure for spell id storing. --HG-- branch : trunk
2009-06-27[8057] Move code from Event AI to class Creature function for reuse in other ↵megamage
scripting cases. Author: NoFantasy --HG-- branch : trunk
2009-06-23* Fix some typo's in LoadPetFromDB SQL, spotted by DrahyMachiavelli
--HG-- branch : trunk
2009-06-23[8052] Fixed typo in error log output. Author: The_Game_MasterQAston
[8049] Added energize effect after last heal tick for 33763 and ranks. Author: bobaz [8053] At character talents reset using chat command also reset talents for all character pets. Author: VladimirMangos --HG-- branch : trunk
2009-06-18* More updating of iterator data types in loopsMachiavelli
--HG-- branch : trunk
2009-06-18* In case of a 'for' loop, don't declare the iterator of a type that has a ↵Machiavelli
larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases). * Other minor cleanups, Null pointer checks etc. --HG-- branch : trunk
2009-06-18*Fix raise dead spell - original patch by Astellar, thanks for some help in ↵QAston
conversion for Azrael *Correctly apply spell cooldown for spells with cooldown starting after pet unsummon. --HG-- branch : trunk
2009-06-11*Switch to support client version 3.1.3megamage
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
2009-06-09*Fix the client crash caused by enslave demon.megamage
--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-06 [7971] Implement support exotic pets limtations related to hunter telent ↵megamage
53270. Author: VladimirMangos Note: before this commit hunters can tame exotic pets like any other. After patch like not propertly contriolled pets will auto-dismiss at loading if talent not learned. --HG-- branch : trunk
2009-06-03[7948] Use SetFaction instead explcit field set, other cleanups. Author: ↵megamage
NoFantasy --HG-- branch : trunk
2009-06-02* Revert partly "[7903] Load and save for pets only talents." Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-06-02*Fix the bug that hunter pet does not get correct stat bonus.megamage
--HG-- branch : trunk
2009-06-01*Fix the bug that shaman/druid/mage pets do not have scaled statsmegamage
--HG-- branch : trunk
2009-06-01[7932] Store in DB only spell part of pet action bar, set other to default ↵megamage
state (reaction saved). Author: VladimirMangos --HG-- branch : trunk
2009-05-31 [7918] Improve portability in work with uint64 string format specifiers ↵megamage
and in code literals. Author: VladimirMangos * Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define. I64FMTD renamed to UI64FMTD for more clear name. * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals. Please always use UI64LIT(0x00001) instead less portable 0x00001LL --HG-- branch : trunk
2009-05-30*Fix a bug that pet does not autocast after summoned or log in.megamage
--HG-- branch : trunk
2009-05-28 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make ↵megamage
possibility set ranged fire state. Author: VladimirMangos Also related cleanup code in field cases and player Player::SetSheath. --HG-- branch : trunk
2009-05-28 [7903] Load and save for pets only talents. Not store unused (in fact) ↵megamage
free talent point amount. Author: VladimirMangos * Other pet spell types auto-learned at level setup/load. * Code will cleanup pet_spell table from non-talents spell if detect any at load. * Free talents points recalculated at loading and levelup so store its in DB useless. Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed. --HG-- branch : trunk
2009-05-27 [7901] Refactoting pet action bar related code. Fixed some related bugs. ↵megamage
Author: VladimirMangos * Correctly update action bar at loading and other cases when listed unlearned/not existed spells * Avoid send data by PetSpellInitialize() many times while pet loading --HG-- branch : trunk
2009-05-25*Do not consider possessed creatures as pet. Also fix the bug that possessed ↵megamage
creature does not display spells. --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-19*Fix some bugs about pet spells: such as cannot cast/cannot autocast.megamage
--HG-- branch : trunk
2009-05-17[7840] Fixed unexpected rounding in pet size scale calculation. Author: Naicisummegamage
--HG-- branch : trunk
2009-05-17 [7839] Rafactoring player targeting code in chat command and related ↵megamage
cleanups/improvments. * New extractOptFirstArg function for easy get 2 args in case option playe name as first arg. * New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name or if not provided by current seelction with error cases processing. * Property apply mute/unmute in case use different character name from loggined currently for account. * .reset commands can be used from console now * .repairitems comamnd can be used from console now but only to online player. Author: VladimirMangos --HG-- branch : trunk