Commit Graph

73 Commits

Author SHA1 Message Date
megamage
5299225a8b [7220] Check creature spells data at server startup. Author: VladimirMangos
--HG--
branch : trunk
2009-02-02 09:53:01 -06:00
megamage
05c07aa74a [7214] Phase system continue development - Commands and fixes.
* 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-02-01 16:46:57 -06:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
b0bf621a13 *Merge.
--HG--
branch : trunk
2009-01-29 19:35:49 -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
68c0bcd069 *Update to Mangos 7125.
--HG--
branch : trunk
2009-01-20 19:59:43 -06:00
megamage
40e7dcb599 *Update to Mangos 7111.
--HG--
branch : trunk
2009-01-18 19:01:41 -06:00
megamage
8739ded05d *Merge.
--HG--
branch : trunk
2009-01-17 13:34:43 -06:00
megamage
f414ab1686 *Update flee and confuse movement.
--HG--
branch : trunk
2009-01-17 00:00:48 -06:00
megamage
fa2e6622ad *Merge.
--HG--
branch : trunk
2009-01-16 22:59:24 -06:00
megamage
ba4338783a *Fix Creature::FallGround. By Silver1ce.
--HG--
branch : trunk
2009-01-16 19:05:30 -06:00
megamage
90f30abd86 *Update to Trinity 843.
--HG--
branch : trunk
2009-01-12 11:02:18 -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
1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -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
megamage
75cd06b98c *Mangos Implement AURA_STATE_HEALTH_ABOVE_75_PERCENT use. By DiSlord.
*Mangos [7045]. More correct spell select for creatures if spell PreventionType == SPELL_PREVENTION_TYPE_SILENCE. Also add check for PreventionType == SPELL_PREVENTION_TYPE_PACIFY. By DiSlord.
*Mangos [7046] Do more security level checks in commands using HasLowerSecurity. Make use .account set addon safe for players. By Vladimir.
*Mangos [7047] Fix Draenei race spell add at client switch. By DiSlord.

--HG--
branch : trunk
2009-01-07 11:56:57 -06:00
megamage
13cfff2327 *Mangos [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage. By DiSlord.
--HG--
branch : trunk
2009-01-04 16:45:32 -06:00
megamage
7346ed5951 *Merge to Trinity 673.
--HG--
branch : trunk
2008-12-26 16:27:41 -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
megamage
f511dc2c12 *Mangos 6940 + Trinity 615.
--HG--
branch : trunk
2008-12-24 10:33:58 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06: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