Commit Graph
265 Commits
Author SHA1 Message Date
megamage 1b460da5cb *Fix broken instance scripts.
--HG--
branch : trunk
2009-05-06 17:52:45 -05:00
megamage 3f6f15e34b *Update instance script functions.
--HG--
branch : trunk
2009-05-06 00:06:38 -05:00
megamage 2a725194b6 *Merge.
--HG--
branch : trunk
2009-05-03 10:48:28 -05:00
megamage 558a5707ff *Only update object which are in world.
--HG--
branch : trunk
2009-05-03 10:34:02 -05:00
megamage db817d668a *Merge.
--HG--
branch : trunk
2009-05-01 18:37:32 -05:00
megamage c9cd3b07f9 *Add some InstanceData functions to better handle instance doors.
--HG--
branch : trunk
2009-05-01 18:24:12 -05:00
megamage de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage 94e25701ad *Fix the bug that neutural npc aggro players.
*Fix build.

--HG--
branch : trunk
2009-04-25 18:46:07 -05:00
megamage 8644c48db8 *Add new eventAI action 105 call assistance. Param1 = radius.
--HG--
branch : trunk
2009-04-25 09:15:40 -05:00
megamage bd56af1294 *Merge.
--HG--
branch : trunk
2009-04-23 21:44:48 -05:00
megamage e97ddc5872 *Do not let civilian aggro players.
--HG--
branch : trunk
2009-04-23 21:38:50 -05:00
QAston cc5414f925 *Correct check range for totem area auras.
--HG--
branch : trunk
2009-04-20 16:48:35 +02:00
Machiavelli 99fc17d44f * Tabs to spaces cleanup
--HG--
branch : trunk
2009-04-19 18:48:20 +02:00
megamage f0cbed1ad8 *Merge.
--HG--
branch : trunk
2009-04-17 15:29:55 -05:00
Anubisss 96ffb827ae *Better names for var Modelid.
--HG--
branch : trunk
2009-04-16 00:11:48 +02:00
megamage 905833f84e *Merge.
--HG--
branch : trunk
2009-04-15 17:06:38 -05:00
megamage 8e910aca6b *Merge.
--HG--
branch : trunk
2009-04-15 12:05:59 -05:00
raczman 4fb720c7d1 Update to creature formations.
This is a big merge, it may cause problems. Use with caution, report bugs.

--HG--
branch : trunk
2009-04-15 15:46:02 +02:00
megamage 4f4c6aeaf5 [7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName. Author: VladimirMangos
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.

--HG--
branch : trunk
2009-04-14 18:31:31 -05:00
raczman f428765065 Fix build on windows.
--HG--
branch : trunk
2009-04-14 15:41:59 +02:00
raczman def6071b8f Small update to creature respawn - by Iskander
--HG--
branch : trunk
2009-04-14 14:43:28 +02:00
raczman a712170758 Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
megamage 6b11f9a511 *Call new function InitializeAI() instead of Reset() to do one-time work.
--HG--
branch : trunk
2009-04-13 17:53:09 -05:00
megamage 53d37935a9 [7658] Drop dead code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-13 17:21:17 -05:00
megamage d697fbd158 *Merge.
--HG--
branch : trunk
2009-04-11 15:03:34 -05:00
megamage 9378a9cf21 *Add function GetPlayer and GetCreature for scripts. Please try to not use GetUnit in the future.
--HG--
branch : trunk
2009-04-11 13:42:34 -05:00
megamage d1c2d98015 *Merge.
--HG--
branch : trunk
2009-04-10 18:01:15 -05:00
Rat 1e61dffc89 *added creature extra flag No Crit (CREATURE_FLAG_EXTRA_NO_CRIT)
*added function to disable reputation gained from monsters
*tabs2spaces in affected files

--HG--
branch : trunk
2009-04-10 18:11:09 +02:00
XTZGZoReX 2fe9fed7c7 * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
megamage ac4edf0e09 *Update creature formation code.
--HG--
branch : trunk
2009-04-06 20:33:52 -05:00
megamage e8866340ce *CreatureGroups fixed and improoved. By TrullyONE
- Multimap support for instances added.
 - Removed redundant group checks.
 - New movement rules (bool group formed/dismissed added).
 - uint32 Creature::GroupID replaced with CreatureGroup pointer.

--HG--
branch : trunk
2009-04-06 13:27:42 -05:00
QAston 20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage f744c09075 *Merge.
--HG--
branch : trunk
2009-04-04 15:12:36 -06:00
megamage 86bd3bfb42 *Do not check formation for pet and summoned creatures.
--HG--
branch : trunk
2009-04-04 15:04:24 -06:00
megamage 8408fb7cd3 *Merge.
--HG--
branch : trunk
2009-03-31 18:21:45 -06:00
megamage 7f209249a2 *Do not call reset in construct funciton of script.
*Add function doaction to safely pass parameters between scripts.

--HG--
branch : trunk
2009-03-31 18:12:49 -06:00
megamage 031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage 783e4fd3ff *Add new creature_template column VehicleId
*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage eb894f39e8 *First remove object from world then unregister it. This may fix some crashes.
--HG--
branch : trunk
2009-03-28 16:04:37 -06:00
megamage 312b8e5b73 *Merge.
--HG--
branch : trunk
2009-03-25 16:00:38 -06:00
megamage 581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -06:00
megamage fe08615d17 *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-24 22:25:22 -06:00
megamage f18a9c916d *Fix some crashes possibly related to vehicles.
*Fix a bug that client crashes when seer is far away from caster.

--HG--
branch : trunk
2009-03-23 20:13:37 -06:00
megamage 708449298e *Merge.
--HG--
branch : trunk
2009-03-22 11:37:59 -06:00
megamage 7d2eb958d5 *Do not set civilians as react state defensive as default.
--HG--
branch : trunk
2009-03-21 23:29:18 -06:00
megamage 59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
megamage 8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
megamage a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
megamage 2453f22123 *Merge.
--HG--
branch : trunk
2009-03-16 11:48:25 -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