aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
AgeCommit message (Collapse)Author
2008-12-09*Merge to solve EOL issue.megamage
--HG-- branch : trunk
2008-12-10Featuring a rewritten waypoint movement with more options, optimised code ↵MeanMachine@MeanMachine-PC
and revamped ingame waypoint control. To convert entries from the old tables manually, please use the PHP script provided at http://www.trinitycore.org/forum/project.php?issueid=830 --HG-- branch : trunk
2008-12-08*Update to Mangos 6888. Source: Mangos.megamage
*Major change: Make corpse erase async, Avoid DB access on deleting guild member. *Skip 6885 because of performance concern. --HG-- branch : trunk
2008-12-07*Use react state instead of isaggressive. Allow civilian to fight back.megamage
--HG-- branch : trunk
2008-12-06*Update to Mangos 6880. Source: Mangos.megamage
*Skip 6878, 6871. *Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect. --HG-- branch : trunk
2008-12-01*Fix a typo.megamage
--HG-- branch : trunk
2008-12-01*Do not allow chain aggro (since it is not official-like).megamage
--HG-- branch : trunk
2008-11-30*Update to Mangos 6867. Source: Mangos.megamage
*Big changes: *[6858] Prevent cheating with ignore waiting in login queue. *[6863] Arena team related clean ups and adding parts of w12x's arena patch. *Some Config changes and guild changes. --HG-- branch : trunk
2008-11-26*Hope this can fix instance respawn bug.megamage
--HG-- branch : trunk
2008-11-26*Fix the bug that neutral creatures do not fight back.megamage
--HG-- branch : trunk
2008-11-25*Do not let Steady shot pause autoshot timer.megamage
--HG-- branch : trunk
2008-11-25*Update to Mangos 6848. Source: Mangos.megamage
--HG-- branch : trunk
2008-11-23*Creatures with the same faction should always be friendly to each other. ↵megamage
This fix the bug that creatures with the same faction fight earch other. *Allow "chain effect" when creatures call assistance. --HG-- branch : trunk
2008-11-22*Update creature damage calculation. Make -ap spells have effect on them.megamage
--HG-- branch : trunk
2008-11-21Merge with 284 (54b0e67d97fe).megamage
--HG-- branch : trunk
2008-11-21*Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. ↵megamage
Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk. --HG-- branch : trunk
2008-11-21Merged commit 269 (5f0e38da128a).gvcoman
--HG-- branch : trunk
2008-11-21*Let creature search nearby target before enter evade modemegamage
*Add function canStartAttack to reduce code in MoveInLineOfSight *Fix a bug that cancelling bind sight auras may crash the server --HG-- branch : trunk
2008-11-20*Fix the bug that updatepacket is not sent to players.megamage
*TODO: move creature::update to map::update. This requires that move activeobjectlist to map. --HG-- branch : trunk
2008-11-20*Add m_isAggressive. Only aggressive creatures will call AttackStart and ↵megamage
MoveInLineOfSight. *Set melee dmg school for summoned creatures. *Fix some compiling errors. --HG-- branch : trunk
2008-11-20Re-commit 262 due to EOL issues. (no difference from 262)megamage
--HG-- branch : trunk
2008-11-16Delete possessed AI only on creature delete.gvcoman
--HG-- branch : trunk
2008-11-14[svn] *** Source: MaNGOS ***visagalis
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir) * Fix auth login queue. Author: Derex * Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak * Fixed some format arg type/value pairs. Other warnings. Author: Vladimir * [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir NOTE: Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data. --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
2008-11-08[svn] Disable LOS check in canSeeOrDetect. It has been proved that CPU ↵megamage
cannot sustain so much calculation. --HG-- branch : trunk
2008-11-07[svn] Remove isVisible function. Check stealth and invisible in canAttack();megamage
Use new remove aura by interrupt flag function. --HG-- branch : trunk
2008-11-06[svn] Rewrite canSeeOrDetect function.megamage
Minor change on trigger creatures. Remove some unused hacks in scripts. --HG-- branch : trunk
2008-11-05[svn] Implemented player on player and player on creature possession:gvcoman
* Implemented packet and vision forwarding through possessed units * Added new OnPossess script call alerting scripts on when possession is applied/removed * Moved fall damage and fall under map calculations into the Player class * Added new PossessedAI that is applied only while possession on creature is active * Implemented summon possessed spell effect * Fixed Eyes of the Beast --HG-- branch : trunk
2008-11-05[svn] * Avoid access to bag item prototype for getting bag size, use related ↵KingPin
item update field instead as more fast source. * Better check client inventory pos data received in some client packets to skip invalid cases. * Removed some unnecessary database queries. * Make guid lookup for adding ignore async. * Added two parameter versions of the AsyncQuery function * Make queries for adding friends async. - Hunuza * Replace some PQuery() calls with more simple Query() - Hunuza * Mark spell as executed instead of deleteable to solve crash. *** Source mangos. **Its a big commit. so test with care... or without care.... whatever floats your boat. --HG-- branch : trunk
2008-11-05[svn] *** Source Mangos ***KingPin
*Load npc_options at server startup, use cached data at creature gossip menu init. * Also new .reload table command added *Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded * Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client. * Fixed crash at .pinfo command use from console. * Fixed windows ad.exe build *Creature related code and DB cleanups. * Rename 2 creature_template fields to more clean names and related code update also. * Use enum values instead raw values for type_flags, use halper functions instead code repeating. * Move tamed pet creating code to new function. ** Small code changes to make things compliant with above changes. ** Another rev with big changes so test away. --HG-- branch : trunk
2008-11-04[svn] Fix 146_world.sql. Do not use default for text. (Ignore this if you ↵megamage
have successfully applied 146_world.sql) Fix HandleAuraModIncreaseHealth, also increase current health. Merge from Mangos: 2008-11-02 10:53:27 854e0d64e3410b2a1eff6d56705f8e42b4291534 Do not split self caused damage. (PART) 2008-10-31 12:45:22 e56b671979623570acd358a9b99aa169be22ffba Move tamed pet creating code to new function. --HG-- branch : trunk
2008-10-29[svn] Provide creature dual wield support.megamage
Update glancing damage formula. Do not daze creatures when other creatures attack from the back (need to find a better way). Fix the damage calculation of +damage aura. --HG-- branch : trunk
2008-10-27[svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no ↵w12x
longer incorrectly chosen based on player faction. Patch provided by WarHead. --HG-- branch : trunk
2008-10-23[svn] Fixed copyright notices to comply with GPL.w12x
--HG-- branch : trunk
2008-10-14[svn] * Merge Temp dev SVN with Assembla.Seline
* Changes include: - Implementation of w12x's Outdoor PvP and Game Event Systems. - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed). - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql). - Improved Config cleanup. - And many more changes. --HG-- branch : trunk
2008-10-11[svn] * svn:eol-style native set on all files that need itNeo2003
--HG-- branch : trunk
2008-10-09[svn] * Updated to 6743 and 685Neo2003
Moved language id used by Arena to a higher place to solve conflicts Added the empty script folders --HG-- branch : trunk rename : 6731-680 => 6743-685
2008-10-06[svn] * Little fix in RandomMovementGeneratorNeo2003
* Updated to 6731 and 680 --HG-- branch : trunk rename : 6721-676 => 6731-680
2008-10-05[svn] * Added fleeing and call assistance in script until we move all AI ↵Neo2003
functions to core --HG-- branch : trunk
2008-10-04[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and ↵Neo2003
partial Windows part) * Updated to 6721 and 676 * Fixed TrinityScript logo * Version updated to 0.2.6721.676 --HG-- branch : trunk rename : 6700-670 => 6721-676
2008-10-02[svn] * Proper SVN structureinitNeo2003
--HG-- branch : trunk