Commit Graph

73 Commits

Author SHA1 Message Date
megamage
7d2eb958d5 *Do not set civilians as react state defensive as default.
--HG--
branch : trunk
2009-03-21 23:29:18 -06:00
megamage
8c1914a3ae *Init motionmaster before AI init. This fix some crash bug of script.
--HG--
branch : trunk
2009-03-14 23:24:21 -06:00
megamage
25720e5a90 *Move creature spell init from updateentry to initentry. This allows pet have spells defined in db.
--HG--
branch : trunk
2009-03-14 09:18:55 -06:00
megamage
ce4c9cb2ae *Allow not to switch to charmed AI for some scripts.
--HG--
branch : trunk
2009-03-13 17:48:57 -06:00
megamage
146b2560aa *Call stopmoving in moveidle.
--HG--
branch : trunk
2009-03-13 14:42:57 -06:00
megamage
1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
megamage
8787c00ca3 *Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states.

--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
megamage
ee6418d92a *Update active object code.
--HG--
branch : trunk
2009-02-26 16:29:55 -06:00
megamage
ccde296fd3 *Fix some crash bugs.
--HG--
branch : trunk
2009-02-25 17:53:05 -06:00
megamage
fe5fa58275 *Try to fix some crash bug related to grid.
--HG--
branch : trunk
2009-02-24 20:05:29 -06:00
megamage
34517a860f *More fix about move flag.
--HG--
branch : trunk
2009-02-23 13:14:04 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
Biglad
b0694d7e5e Fix exploit, dont allow possessed NPCs to gossip to player
--HG--
branch : trunk
2009-02-09 08:06:43 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
adee7cab17 *Fix build.
--HG--
branch : trunk
2009-01-28 22:51:12 -06:00
megamage
53e646d230 *Clear combat flag when creature is created. This fix the bug that some creatures do not fight back. Thanks to tlexii for pointing out the bug.
--HG--
branch : trunk
2009-01-28 00:25:06 -06:00
megamage
6de869d8f6 *Fix the bug that event ai mobs sometimes chase victims even when polymorphed.
--HG--
branch : trunk
2009-01-28 00:01:52 -06:00
megamage
beb293383c *Add creature extra flag "immune to taunt" and "charmed ai".
*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-01-27 15:23:26 -06:00
megamage
f414ab1686 *Update flee and confuse movement.
--HG--
branch : trunk
2009-01-17 00:00:48 -06:00
megamage
ba4338783a *Fix Creature::FallGround. By Silver1ce.
--HG--
branch : trunk
2009-01-16 19:05:30 -06:00
megamage
4b5bca4f0a *setActive(false) when creature dies.
*Fix some script crash bugs.

--HG--
branch : trunk
2009-01-10 10:43:57 -06:00
megamage
2377f49ea8 *Update charm and possess code.
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
megamage
4296a32f60 *Try to fix the bug that creatures still "spark" after respawn.
--HG--
branch : trunk
2009-01-08 14:41:01 -06:00
Blaymoira
db1a5d4ba0 *Add condition for ghostlands.cpp
*Remove unused creature_movement - by EIFEL

--HG--
branch : trunk
2008-12-26 17:49:45 +01:00
TrullyONE
08fa019253 *Additional movement checks added.
--HG--
branch : trunk
2008-12-24 12:06:25 +02:00
Blaymoira
cce6986e4f *Fix 2 typo
--HG--
branch : trunk
2008-12-23 10:54:13 +01:00
TrullyONE
222999c225 *Fixed creature initialize movement at respawn. Loot and tagging - correct set of dynamic flags.
--HG--
branch : trunk
2008-12-19 05:02:51 +02:00
shadowu@mail.bg
51f0c70b7e *Movement Generators standardization.
- bool GetDestination(&x,&y,&z) added to all movement generators.(it is used by update of players view distance)
- Fixed when creature entering in combat not count this as StoppedByPlayer.
- Random Movement Generator - added support for creating custom spawndist during the game.
- Random Movement Generator - Db spawndist is checked only at initialize(NOT in each sellect of random location).
- Added Random Movement to motion master - it can be called now by MoveRandom(spawndist) e.g. for use in SD2.
- Home and Random movements no more using RespawnCoords(Home Position has implemented)
- Fixed bug when creature is moving on path and enter combat, after that returns to spawn position.
-Typo fix in Confused Movement Generator

--HG--
branch : trunk
2008-12-19 00:37:40 +02:00
shadowu@mail.bg
9948e98703 *Creature formations implemented.
--HG--
branch : trunk
2008-12-15 00:07:21 +02:00
megamage
b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage
39083f4ff8 *Add function SummonTrigger and allow to override its AI.
*Remove some trigger scripts. Use default trigger AI and db data instead.
*Small fix on eagle boss' electrical storm.

--HG--
branch : trunk
2008-12-10 20:25:47 -06:00
megamage
ebf6469fb4 *Merge to solve EOL issue.
--HG--
branch : trunk
2008-12-09 23:06:16 -06:00
MeanMachine@MeanMachine-PC
cc0838459a Featuring a rewritten waypoint movement with more options, optimised code 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-10 06:34:35 +02:00
megamage
ce643187f0 *Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member.
*Skip 6885 because of performance concern.

--HG--
branch : trunk
2008-12-08 16:34:03 -06:00
megamage
087f735251 *Use react state instead of isaggressive. Allow civilian to fight back.
--HG--
branch : trunk
2008-12-07 09:21:12 -06:00
megamage
c5593ef779 *Update to Mangos 6880. Source: Mangos.
*Skip 6878, 6871.
*Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect.

--HG--
branch : trunk
2008-12-06 14:01:44 -06:00
megamage
42b9fabcfb *Fix a typo.
--HG--
branch : trunk
2008-12-01 12:59:39 -06:00
megamage
65db262e95 *Do not allow chain aggro (since it is not official-like).
--HG--
branch : trunk
2008-12-01 10:45:45 -06:00
megamage
bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*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-30 12:47:26 -06:00
megamage
b591c21659 *Hope this can fix instance respawn bug.
--HG--
branch : trunk
2008-11-26 12:28:36 -06:00
megamage
77b753b452 *Fix the bug that neutral creatures do not fight back.
--HG--
branch : trunk
2008-11-26 11:41:03 -06:00
megamage
99cf79bdf7 *Do not let Steady shot pause autoshot timer.
--HG--
branch : trunk
2008-11-25 17:58:06 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -06:00
megamage
8d687761bc *Creatures with the same faction should always be friendly to each other. 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-23 13:58:06 -06:00
megamage
d6066ce585 *Update creature damage calculation. Make -ap spells have effect on them.
--HG--
branch : trunk
2008-11-22 13:55:11 -06:00
megamage
32485bc5d1 Merge with 284 (54b0e67d97fe).
--HG--
branch : trunk
2008-11-21 19:49:54 -06:00
megamage
fa667cf450 *Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. 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-21 19:45:49 -06:00
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
megamage
71707df1de *Let creature search nearby target before enter evade mode
*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-21 10:07:11 -06:00