ApoC
3f586feb25
[7978] Pets now can be send to fight another target even if pet in combat with some unit.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-08 00:49:25 +02:00
VladimirMangos
c56ef09fa3
[7887] Drop pet spell teaching code, including field in character_pet.
2009-05-24 07:20:13 +04:00
VladimirMangos
788cdf9b3a
[7826] Avoid use GetDistance* that used slow sqrt call where possible, other related speedups.
2009-05-14 18:51:13 +04:00
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
Mordred
5020fcd3f1
[7671] Wrong type casts not fixed in [7667].
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-15 02:17:47 +04:00
VladimirMangos
69fb9736cc
[7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases.
...
Also send pointer to AI constructors ans mark constructors as explicit.
This changes allow move now some generic often used AI code to CreatureAI helper functions.
2009-04-14 06:52:16 +04:00
VladimirMangos
c4d4bb5620
[7552] Move client version dependend DBC code to src/game.
2009-03-27 01:59:26 +03:00
VladimirMangos
2b9eeb782e
[7362] Use IN_MILISECONDS where appropriate, other cleanups.
2009-03-01 05:22:56 +03:00
ApoC
03b7d1006a
[7128] Cleanup in PetHandler.cpp and little PetAI.cpp
...
Fixed: pet stop attacking when casts spell by command.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 01:31:42 +01:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
ApoC
9534aece0b
Added checking global cooldown for pet autocast spells.
...
Added checking global cooldown for pet spell casting triggered by master.
Optimized PetAI::UpdateAI:
- Removed obsolete victim_guid as combat check.
- Stop pet combat when pet die in JustDied(Unit*) method.
- Optimized autospells selection and casting.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-28 21:31:41 +01:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00