raczman
07f3b91426
Some Creature* casts moved to new ToCreature.
...
Added const Creature* ToCreature()
--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
silver1ce
efb123f4f7
prevent stack overflow caused by MoveInLineOfSight calls
...
should close #995 issue
--HG--
branch : trunk
2010-03-06 18:18:32 +02:00
Xanadu
a5d1bc77ab
A great purge of obsolete macros.
...
--HG--
branch : trunk
2010-02-05 00:31:28 +01:00
n0n4m3
99f66a6bc9
Updated copyright for new year.
...
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3
67bc2fb4fe
Fixed typo
...
--HG--
branch : trunk
2009-12-17 06:58:19 +01:00
maximius
3f338cc1c3
*Massive cleanup redux.
...
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
Biglad
a6329701e2
* Fix exploit with non-combat pets, realy make them not fight, requires DB support set to type=12
...
--HG--
branch : trunk
2009-10-09 10:55:50 +01:00
maximius
dd84dfd56d
*Utgarde Pinnacle: Svala fixes - Fix some crashes, complete ritual code and change defines by enums, by Tartalo
...
*Fix Acherus Flightmaster for Alliance, by MrSmite
*Fix The Party's Over achievement (Prince Taldaram) & Implement Good Grief achievement (Maiden of Grief), by Tartalo
*Fix certaint things entering the threat list and never leaving, bugging mob's HP regeneration (ie: Priest's Lightwell).. again. Thanks Gyullo.
--HG--
branch : trunk
2009-10-06 13:16:10 -07:00
maximius
10231efc0f
*Revert 5675/43c0c883c44d back to 4821/9d0967884f0b way (seems to work properly now), thanks Gyullo
...
--HG--
branch : trunk
2009-09-27 15:52:17 -07:00
maximius
88d632d153
*Disable commit 4821 / 9d0967884f0b (caused some NPCs to not regenerate HP when they should), found by Gyullo and tested by Manuel
...
--HG--
branch : trunk
2009-09-15 19:47:18 -07:00
megamage
ad1acedea7
*Use updatecombatstate to replace updatevictim. This should fix the bug of MoveSeekAssistance is replace by MoveChase immediately. Thanks to totoro
...
--HG--
branch : trunk
2009-08-31 13:56:26 -05:00
megamage
ab5f515f21
*Update flame levi script. Allow player to shoot down pyrite container and refill the demolishers.
...
*Other script-related fixes.
--HG--
branch : trunk
2009-08-28 11:26:20 -05:00
megamage
d91903e5b1
*Fix the behavior of mob assistance.
...
--HG--
branch : trunk
2009-08-27 13:54:57 -05:00
megamage
0dd6fa751f
*Fix the bug that sometimes assisting mobs just chase the attacker without attacking.
...
--HG--
branch : trunk
2009-08-24 11:38:49 -05:00
megamage
1ee90e1022
*Update vehicle system. Make vehicle a seperate class from creature.
...
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
megamage
39accddb5f
*Let all accessories enterevademode when vehicle enter evade mode.
...
--HG--
branch : trunk
2009-08-22 21:25:35 -05:00
megamage
2d4dac0711
*Try to fix the bug of mobs' chain aggro.
...
--HG--
branch : trunk
2009-08-20 16:12:23 -05:00
megamage
658538a092
*Some update of vehicle.
...
--HG--
branch : trunk
2009-08-08 11:57:51 -05:00
megamage
9952786d14
*Also aggro player-controlled units in dozoneincombat.
...
--HG--
branch : trunk
2009-08-08 11:56:54 -05:00
QAston
2ff21d4cef
*Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
...
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.
--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
QAston
2120bc0d30
*Fix a bug that creatures with owner chase their enemies after death.
...
*fix a typo breaking procflags on aura remove - shattered barrier and master of subtlety work again
--HG--
branch : trunk
2009-07-13 18:05:53 +02:00
Machiavelli
6eaf6e962a
* Change name of recently added scriptAI functions to better reflect purpose
...
* Fix typo in 3910_world.sql, spotted by irish
--HG--
branch : trunk
2009-06-11 17:54:59 +02:00
megamage
853432b201
*Fix a bug that creature ignore LOS in assistance case.
...
--HG--
branch : trunk
2009-06-09 19:55:15 -05:00
megamage
5aa9fdb556
*Still use the old updatevictim functions for most scripts because some old scripts may cause crash using new function.
...
--HG--
branch : trunk
2009-06-05 14:37:15 -05:00
Anubisss
4ce92ed6fa
*Merge SD2.
...
*r983: Add additional checks for zoneInCombat-function.
*r984: Remove two useless functions, cleanup some code. - The most part of the patch skipped.
*r985: Clean up some code and prevent Spark from doing certain actions if in certain areas
*r986: Remove most EventAI code - Skip this patch
*r987: Correct and remove now obsolete documentation. - Skip: delete EventAI.txt
--HG--
branch : trunk
2009-05-27 21:30:03 +02:00
megamage
239919abb2
*Check reactstate in UpdateVictim.
...
--HG--
branch : trunk
2009-05-21 17:19:10 -05:00
megamage
6473e94358
*Update Naxx scripts. Now only Kelthuzad is incompleted
...
--HG--
branch : trunk
2009-05-20 11:44:38 -05:00
megamage
a922f36da5
*Update script for Loatheb.
...
--HG--
branch : trunk
2009-05-17 23:27:51 -05:00
megamage
c583767ad6
*Update gluth script.
...
--HG--
branch : trunk
2009-05-16 16:52:57 -05:00
megamage
819326f286
*Update some instance script functions.
...
--HG--
branch : trunk
2009-05-16 14:49:30 -05:00
megamage
ff7f023ff1
*Merge.
...
--HG--
branch : trunk
2009-05-15 13:57:10 -05:00
megamage
8994cbe081
*Update some script functions.
...
--HG--
branch : trunk
2009-05-13 10:54:11 -05:00
Muhaha
62c5720227
* avoid loot/exp when the mobs are killed by npc. Authore: KAPATEJIb @ getmangos.org
...
--HG--
branch : trunk
2009-05-13 10:34:55 +02:00
megamage
df4e8b456b
*Move MoveFollow owner from MoveTargetedHome to enterevademode.
...
--HG--
branch : trunk
2009-05-12 10:11:54 -05:00
megamage
f631b2a2d6
*Update creature AI functions.
...
--HG--
branch : trunk
2009-05-11 11:46:48 -05:00
megamage
82f886e3c1
*Update AI scripts. Use better default AI.
...
--HG--
branch : trunk
2009-05-10 22:48:22 -05:00
megamage
55d52e22a8
*Fix build.
...
--HG--
branch : trunk
2009-05-10 16:31:43 -05:00
megamage
dcf41256dd
*Move some AI functions to core. No real change.
...
--HG--
branch : trunk
2009-05-10 16:07:49 -05:00
megamage
40a8e6d3ab
*Rename some script functions (no real change).
...
--HG--
branch : trunk
2009-05-10 14:29:28 -05:00
megamage
08a0c543d1
*Fix some typos of script functions.
...
--HG--
branch : trunk
2009-05-09 14:08:11 -05:00
megamage
f4e8654337
*Update creature AI functions
...
--HG--
branch : trunk
2009-05-06 00:05:54 -05:00
megamage
b3cb9fb007
*Let summoned creature help to attack summoner's victim if possible.
...
--HG--
branch : trunk
2009-04-30 22:26:51 -05:00
megamage
ce68fc9c64
*Update some naxx boss scripts.
...
--HG--
branch : trunk
2009-04-29 00:15:18 -05:00
megamage
8e910aca6b
*Merge.
...
--HG--
branch : trunk
2009-04-15 12:05:59 -05:00
megamage
ceae9b8e0f
[7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use. Author: VladimirMangos
...
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
Like taunt, pet handler attack command.
* Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
Like non-dot damage, swing, negative spell landing, or fade fear/etc.
And provided by default call AttackStart if no current target.
This fix some problems, like:
* Civilian will react propertly at attack by another creature (not pet or player).
* Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.
*Note: AttackBy is still disabled until proved useful to TC.
--HG--
branch : trunk
2009-04-14 21:07:52 -05:00
megamage
25f71813c5
*Update moveinLOS assistance code.
...
--HG--
branch : trunk
2009-04-13 18:03:28 -05:00
megamage
f59c4debf6
[7622] Added creatureAI with related database tables. Author: AlexDereka
...
*Note: three tables are renamed.
--HG--
branch : trunk
2009-04-07 19:38:09 -05:00
QAston
20c02ef760
*Update of aura system.
...
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00