maximius
5b8ee23e47
*Better fix to the waypoint mobs returning to spawn issue, thanks XTElite1
...
--HG--
branch : trunk
2009-09-17 01:26:54 -07:00
maximius
1be0e825ce
*Backed out changeset f2d288ace33d
...
--HG--
branch : trunk
2009-09-17 01:07:22 -07:00
maximius
f7601aa00e
*Waypoint creature fix by DearScorpion - "example: the portal dragon in Duskwood will basically return to it's spawnpoint and start over without this patch, with it however it will more or less kill you on the spot and continue its waypoint path where it left off"
...
--HG--
branch : trunk
2009-09-14 12:40:40 -07:00
megamage
2a4c9bcaf9
*Make position as a class;
...
--HG--
branch : trunk
2009-08-29 14:58:45 -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
a795df9cca
*Remove function passengerleft
...
--HG--
branch : trunk
2009-08-27 19:26:18 -05:00
megamage
5c82ba864d
*Use ai function issummonedby to handle creature trigger spells.
...
--HG--
branch : trunk
2009-08-22 21:26:48 -05:00
megamage
c88304af95
*Add some vehicle ai functions.
...
--HG--
branch : trunk
2009-08-15 20:36:54 -05:00
QAston
8898e9f420
*Fix the bug that escorted creatures return to their spawnpoint after engaging combat.
...
--HG--
branch : trunk
2009-07-14 20:15:47 +02: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
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
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
8994cbe081
*Update some script functions.
...
--HG--
branch : trunk
2009-05-13 10:54:11 -05:00
megamage
91558b8b29
*Try to fix build in Linux.
...
--HG--
branch : trunk
2009-05-11 13:15:16 -05:00
megamage
f631b2a2d6
*Update creature AI functions.
...
--HG--
branch : trunk
2009-05-11 11:46:48 -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
e69d2cbed9
[7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
...
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage
f4f61852c2
*Add ai function spellclick
...
--HG--
branch : trunk
2009-05-03 10:45:57 -05:00
megamage
ce68fc9c64
*Update some naxx boss scripts.
...
--HG--
branch : trunk
2009-04-29 00:15:18 -05:00
megamage
2b753d0f23
[7723] New AI call EnterCombat called at enter creature to combat (and re-enter if leave by some reason). Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-27 19:14:37 -05:00
megamage
f5fff5b186
*Add a new class for event based scripts. Two examples are given.
...
--HG--
branch : trunk
2009-04-22 23:03:49 -05:00
Machiavelli
b92eac3b27
Merge SD2 up to r967
...
--HG--
branch : trunk
2009-04-19 21:16:11 +02:00
megamage
c5310844db
[7672] Move ReceiveEmote from script API to AI API. Author: VladimirMangos
...
This is also fix triggering ReceiveEmote for EventAI broken at it move to core.
--HG--
branch : trunk
2009-04-15 17:29:33 -05:00
megamage
8e910aca6b
*Merge.
...
--HG--
branch : trunk
2009-04-15 12:05:59 -05:00
megamage
fc2a30a53d
*Fix broken creature ai in 2697.
...
--HG--
branch : trunk
2009-04-15 11:45: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
3a65800218
[7667] Add to CreatureAI field pointing to creature itself. Use it instead diff. fields in subclases. Author: VladimirMangos
...
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.
--HG--
branch : trunk
2009-04-14 19:54:49 -05: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
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
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
16ee4a46c2
*Merge.
...
--HG--
branch : trunk
2009-03-12 14:22:59 -06:00
megamage
1fbfc6da64
*Assign possessed AI and pet AI to charmed creatures.
...
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
megamage
7915fd768a
*Merge.
...
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
megamage
8787c00ca3
*Disable charmed/possessed creature AI.
...
*Use general react states to replace charminfo react states.
--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
megamage
31637d4aac
*Merge.
...
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa
Newline added to bottom of all files.
...
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
f271e71dc5
[7288] Implement CreatureAI::JustReachedHome scripting call for home movement end point event. Author: NoFantasy
...
*Note: need to look at SD2 script to check what is the use of this function.
--HG--
branch : trunk
2009-02-16 20:18:21 -06:00
megamage
4d008f2043
Replace tabs with spaces, and fix crlf issues
...
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
8fee06f041
*AI structure update.
...
--HG--
branch : trunk
2009-01-30 18:10:05 -06:00
megamage
30c5bff102
*Fix critter AI.
...
*Some AI structure change.
--HG--
branch : trunk
2009-01-28 20:16:11 -06:00
megamage
d69198732e
*Merge.
...
--HG--
branch : trunk
2009-02-04 17:22:43 -06:00
Drahy
5dab980495
* Updated copyright notice for new year (2009) part 2
...
* Changed mangos website
--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6
* Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
...
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
2377f49ea8
*Update charm and possess code.
...
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
gvcoman
44bdb135f4
[svn] Implemented player on player and player on creature possession:
...
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast
--HG--
branch : trunk
2008-11-05 20:51:05 -06:00