Commit graph

23 commits

Author SHA1 Message Date
VladimirMangos
546ee35953 [9242] Fixed inconstence in one from recently added AI events name 2010-01-23 14:46:41 +03:00
VladimirMangos
36d90d6040 [9241] Implement AI/EventAI calls at summoned creature die/despawn
* New CreatureAI::SummonedCreatureJustDie called for owner at temporary summoned creature die.
* New EVENT_T_SUMMONED_JUST_DIE (25) for proccess CreatureAI::SummonedCreatureJustDie event
* New EVENT_T_SUMMONED_JUST_DESPAWN (26) for proccess CreatureAI::SummonedCreatureJustDespawn event
* Some code cleanups.
2010-01-23 14:41:38 +03:00
X-Savior
5febd55024 [9128] Updated doc/EventAI.txt version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-08 20:43:42 +03:00
ApoC
6311b73413 [9127] Allow use delayed forced despawn also in EAI.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-01-08 03:11:19 +01:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
fad1fb92f4 [8731] Restore difficulty 1 spawn use for creatures with special difficulty 1 versions.
* Rename creature template `heroic_entry` => `difficulty_entry_1`
  Possible need add 2 more fields for 2-3
* Use 2 more EventAI EFLAG_* flags for 2-3 difficulty support, update checks.
* Update area trigger code.

Note: support for specialized creature version for difficulties 2-3 not added yet
      and will be used same as difficulty 1 mode.

TODO: Rename area triggers heroickey/etc fields ?
2009-10-25 06:23:00 +03:00
VladimirMangos
18ae2de853 [8235] Fixed typos in ACTION_T_SET_INVINCEABILITY_HP_LEVEL.
Thanks to Zor for pointing.
2009-07-23 17:28:06 +04:00
VladimirMangos
dce0941511 [8233] Implement new EventAI action ACTION_T_SET_INVINCEABILITY_HP_LEVEL.
Action set min. health value that can be set for creature in result damage apply.
It can be used in duel like events with creatures to prevent killing creature and other
cases when creature must avoid damage at some health level while it used.
2009-07-23 12:40:21 +04:00
freghar
e612d0778a [8222] Partial EventAI.txt rewrite, typo and language fixes
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-20 19:34:32 +02:00
freghar
cd17ada2e5 [8221] Removed trailing whitespaces
With excluded dep/ - as usual.

Signed-off-by: freghar <compmancz@gmail.com>
2009-07-20 17:53:14 +02:00
NoFantasy
68848314e2 [8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 19:11:57 +04:00
VladimirMangos
5350dbafd9 [8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature EventAI.
Its can be used for check specific spell auras stack size for event triggering.
2009-06-15 02:25:57 +04:00
VladimirMangos
79dab3dae5 [7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat.
Also small fix for avoid unexpected set pet speed to owner speed for non-player case. In player case this hack speed setting still required.
2009-05-31 04:35:38 +04:00
VladimirMangos
39637858aa [7907] Also add documentation for ACTION_T_SET_SHEATH. 2009-05-29 01:22:19 +04:00
Alex
bde5402b40 [7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 05:26:38 +04:00
Neo2003
fa03b3663a Mobs fleeing and getting assistance feature implementaion.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also rename ACTION_T_FLEE to ACTION_T_FLEE_FOR_ASSIST for clear use
2009-05-21 01:33:28 +04:00
VladimirMangos
f332c000d1 [7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases. 2009-05-20 22:15:41 +04:00
X-Savior
1dbadb6ff0 [7857] Update doc/EventAI.txt
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-20 13:36:29 +04:00
freghar
2ebde81733 [7764] Top-level .gitignore cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-05-05 00:11:21 +02:00
NoFantasy
b697b05279 [7623] Added: doc/EventAI.txt
Documentation of new `creature_ai_*` db structure.
 Based on ScriptDev2 EventAI.txt
2009-04-06 01:11:44 +04:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
freghar
95840fd2c3 Removed trailing whitespaces and CRLFs
With /contrib/ and /dep/ excluded.

Signed-off-by: freghar <compmancz@gmail.com>
2008-10-22 11:52:03 +02:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00