aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
AgeCommit message (Collapse)Author
2009-03-06[7393] Implement access to client side holiday ids. Author: VladimirMangosmegamage
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence * `game_event` now have new `holiday` field for store client side holiday id associated with game event * Added new enum HolidayIds with existed at this moment holiday ids. * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check. --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-27[7347] Prevent sql errors at GM-mode corpse save. Apply same chnages and for ↵megamage
other pahsemask save part for consistense and safe. Author: VladimirMangos --HG-- branch : trunk
2009-02-26*Merge.megamage
--HG-- branch : trunk
2009-02-26*Update active object code.megamage
--HG-- branch : trunk
2009-02-25*Fix some crash bugs.megamage
--HG-- branch : trunk
2009-02-24*Merge.megamage
--HG-- branch : trunk
2009-02-24*Try to fix some crash bug related to grid.megamage
--HG-- branch : trunk
2009-02-24 [7330] Code warnings and style cleanups. Some bugs fixes. Author: ↵megamage
VladimirMangos 1) comparison singed and unsigned values 2) redundent includes 3) wrong constructor :-part field initilization 4) unused not-/*name*/-guarded args in template/virtual functions that not required like args. 5) explicitly list not implemented achievement types. Also bugs fixed: 1) Drop wrong phase mask 0 check in WorldObject::InSamePhase. 2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result. 3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u. --HG-- branch : trunk
2009-02-23*Merge.megamage
--HG-- branch : trunk
2009-02-23*More fix about move flag.megamage
--HG-- branch : trunk
2009-02-19[7306] Updated POI icons defines. Author: NoFantasymegamage
--HG-- branch : trunk
2009-02-19*Implemented gameobjects and creatures grouping (pools of them)megamage
*Groups (called pools) can be also member of any game event Author: Neo2003 --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-16[7285] More code cleanups in static data structures use. Author: zhenyamegamage
--HG-- branch : trunk
2009-02-16[7283] Use map for trainer spells for fast find data by spell id. Author: zhenyamegamage
--HG-- branch : trunk
2009-02-15[7278] In case gossip flag use gossip menu instead quest menu as client ↵megamage
expected. Author: NoFantasy <NoFantasy@getmangos.com> --HG-- branch : trunk
2009-02-14*Make range check dependent from target.QAston
--HG-- branch : trunk
2009-02-12*Merge.megamage
--HG-- branch : trunk
2009-02-12*Merge.megamage
--HG-- branch : trunk
2009-02-11*Allow creatures to have up to 8 spells in creature_template.QAston
--HG-- branch : trunk
2009-02-09 [7250] Use bg type ids enum insted raw values and catch some bugs in ↵megamage
result for fixing. * Replace max bg type checks by DBC valid index check * Use in functions and fields BattlegroundTypeId type instead uint32 * Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls. Many bg have same raw values for type id and queue id but some can be affected by this bug: BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions) * Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr. * Remobe redundent for header itself includes for BG headers. * Use Auction location enum instead raw valus. Author: VladimirMangos --HG-- branch : trunk
2009-02-09Replace tabs with spaces in more files.Paradox
--HG-- branch : trunk
2009-02-09Fix exploit, dont allow possessed NPCs to gossip to playerBiglad
--HG-- branch : trunk
2009-02-04Replace tabs with spaces, and fix crlf issuesmegamage
--HG-- branch : trunk
2009-01-28*Fix build.megamage
--HG-- branch : trunk
2009-01-28*Clear combat flag when creature is created. This fix the bug that some ↵megamage
creatures do not fight back. Thanks to tlexii for pointing out the bug. --HG-- branch : trunk
2009-01-28*Fix the bug that event ai mobs sometimes chase victims even when polymorphed.megamage
--HG-- branch : trunk
2009-01-27*Add creature extra flag "immune to taunt" and "charmed ai".megamage
*Fix the bug that creature still use its ai when charmed. Only creature with charmed ai flag can use its ai when charmed. --HG-- branch : trunk
2009-02-04*Merge.megamage
--HG-- branch : trunk
2009-02-04*Merge.megamage
--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-02-03[7225] Correctly clear trainer and vendor data. Author: zhenyamegamage
--HG-- branch : trunk
2009-02-02[7220] Check creature spells data at server startup. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-02-01 [7214] Phase system continue development - Commands and fixes.megamage
* Fixed creature/gameobject save from game (used in commands code only) * Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change. In creature/gameobject case change saved in DB. * Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link (work for objects loaded in game in command time). Author: VladimirMangos --HG-- branch : trunk
2009-01-31*Update to Mangos 7208. Implement phase system.megamage
--HG-- branch : trunk
2009-01-29*Merge.megamage
--HG-- branch : trunk
2009-01-20*Update to Mangos 7125.megamage
--HG-- branch : trunk
2009-01-18*Update to Mangos 7111.megamage
--HG-- branch : trunk
2009-01-17*Merge.megamage
--HG-- branch : trunk
2009-01-17*Update flee and confuse movement.megamage
--HG-- branch : trunk
2009-01-16*Merge.megamage
--HG-- branch : trunk
2009-01-16*Fix Creature::FallGround. By Silver1ce.megamage
--HG-- branch : trunk
2009-01-12*Update to Trinity 843.megamage
--HG-- branch : trunk
2009-01-10*setActive(false) when creature dies.megamage
*Fix some script crash bugs. --HG-- branch : trunk
2009-01-09*Merge.megamage
--HG-- branch : trunk