Commit Graph
247 Commits
Author SHA1 Message Date
Shauren 64adce7b8b Scripts: Removed CAST_SUM define 2011-05-25 15:55:14 +02:00
QAston 1121fcfb90 Core/Scripts: Remove hook GetAuraEffectTriggerTarget from CreatureAI.h
The hook was made for one obsolete script, which turned out to not work anyways.
2011-05-15 18:53:02 +02:00
Shauren ecc95a8690 Core/CreatureTextMgr: Converted chat types to use values found in sniff, without any need for conversions 2011-05-13 22:44:01 +02:00
Shauren 82b5f9c629 Scripts: Fixed compile 2011-05-12 12:08:47 +02:00
Shauren 6396cf3e46 Core/CreatureAI: Properly initialize attack distance in CasterAI 2011-05-12 10:43:54 +02:00
Shauren 169e4bfa2b Core/SAI: Added missed changes 2011-05-12 10:42:25 +02:00
Shauren 339e8cb7e0 Core/SAI/EAI: Pass struct parameters by reference instead of value, saves unneeded copying 2011-05-12 10:40:53 +02:00
Shauren 53b409e756 Core/SAI: Fixed memory leak 2011-05-11 21:19:22 +02:00
Az@zel f73c6c40bb Core/Misc: fix compiler warnings 2011-05-11 11:12:26 +06:00
click eff3c1f98a Core: Clean up some more silly warnings 2011-05-09 03:37:31 +02:00
leak 1003f30448 Add spaces after commas 2011-04-29 20:47:02 +02:00
leak 6d1924cee8 Removing SQLStorage class leftovers 2011-04-28 23:03:02 +02:00
leak c51c817a45 Core/ObjectMgr: Refactor sCreatureStorage 2011-04-28 22:57:08 +02:00
leak e2e9431ca3 Core/ObjectMgr: Refactor sGOStorage 2011-04-28 22:54:30 +02:00
leak 03365e9a57 Core/ObjectMgr: Refactor sEquipmentStorage 2011-04-28 22:34:40 +02:00
Shauren 8898db8b27 Core: Corrected NULL usage, it should only be used with pointers, not integers 2011-04-23 15:53:48 +02:00
Shauren 8dbdc15705 Core/Units: Made RemoveAllAurasExceptVehicle more generic, can now be used to remove all auras except specified type 2011-04-23 10:24:44 +02:00
Shauren d73ffc9e81 Core/Vehicles:
* Added generic solution for vehicle accessories not relying on AI calls
* Only accessories marked as minion will be respawned when the vehicle enters evade mode
* Notify the summoner's AI when vehicle accessory fails to install and despawns
2011-04-22 21:59:37 +02:00
Machiavelli 6d0c97b06b Core/SAI: Fix a possible crash in SMART_ACTION_SET_ORIENTATION with SMART_TARGET_SELF for TempSummons 2011-04-22 12:19:34 +02:00
Machiavelli d42ab6c8bd Core/ScriptedAI: Reset VehicleKit in BossAI::_Reset()
Core/Vehicles: Minor log fix and comment a redundant assertion
2011-04-22 11:07:58 +02:00
Sawiner 1be1b1559c Core/Scripts: Extended escort AI 2011-04-16 17:15:21 +02:00
Shauren 82991448f7 Core/Scripts: Removed some hungarian notation 2011-04-16 14:00:47 +02:00
Manuel Carrasco 4796848b83 Core/SAI: Implemented SMART_EVENT_IS_BEHIND_TARGET, it is triggered when the creature is behind its current target.
Signed-off-by: Manuel Carrasco <[email protected]>
2011-04-14 00:30:32 -03:00
pek2011 535b663280 Core/Cleanup: Drop various unused code 2011-04-03 16:05:27 +03:00
Shauren e1bacef346 Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll) 2011-04-01 20:31:15 +02:00
Shauren 0fbde67824 Core/AI: Some code style cleanup 2011-03-27 12:54:42 +02:00
Shauren 9fea7d9a85 Core/SAI: Fixed another memory leak 2011-03-27 12:54:11 +02:00
Shauren cbb552ead7 Core/SAI: Fixed memory leaks in targeting (lists were not being deleted) 2011-03-26 23:45:23 +01:00
Supabad e494a154c7 Scripts/Ulduar:
Some cleanup in Flame Leviathan script
Add support for Shutout - Three Car Garage - Unbroken - Quick Shave
Add reset to Razorscale controller on fight end
2011-03-26 10:00:41 +01:00
Shauren 99104ab576 Scripts/Icecrown Citadel: Replace instance check with a safer one, this way if failed the creature is not idle 2011-03-21 19:00:56 +01:00
Shauren 2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Shauren 3b343ac497 Core/Scripts: Code style cleanup in AI base classes, removed duplicate DoAction method 2011-03-19 19:41:42 +01:00
Shauren 1a4a618d81 Core/Scripts: Code style cleanup in ScriptedAI and BossAI 2011-03-19 10:54:16 +01:00
Machiavelli 7b62bfc1c5 Core/ScriptedAI: Add ResetLootMode() to BossAI::_Reset() and remove some redundant calls in General Vezax script 2011-03-13 22:28:37 +01:00
Shauren c2c40a4750 Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now 2011-03-09 21:32:04 +01:00
Shauren 9710c41a40 More warning fixes 2011-03-08 19:11:02 +01:00
Shauren e25a5ca4f8 Core/Scripts: Changed SummonList::DoAction to take signed int as action identifier to be consistent with AI()->DoAction parameter type 2011-03-08 17:17:41 +01:00
Shauren e5347a3bda Core: Fixed warnings:
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Shauren 36f848a4c2 Scripts/Icecrown Citadel: Only one Mutated Abomination can exist during Professor Putricide encounter
Scripts/Spells: Added blizzlike error messages for certain spells
Scripts/Items: Removed obsolete scripts
2011-03-04 23:53:11 +01:00
Machiavelli a9582964d3 Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.
Closes #805
2011-03-04 21:17:06 +01:00
Manuel 7a0df5876b Core/SmartAI: Moved log to debug level.
Signed-off-by: Manuel <[email protected]>
2011-03-04 00:13:25 -03:00
Nay eea7efa463 Core/SAI: Correct debug log for SMART_ACTION_CAST 2011-03-02 18:20:33 +00:00
Shauren 3cb0c4d969 Core/SAI: Fixed SMART_ACTION_EQUIP used with creature_equip_template ids 2011-03-02 18:23:50 +01:00
Shauren 6c020c72cc Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1 2011-03-02 16:50:09 +01:00
click d92fb9ad65 Core: Clean up some rogue whitespace and tabs 2011-02-27 18:34:24 +01:00
leak 3e046f9bc4 Core/AI: Put log messages on filter 2011-02-24 18:37:27 +01:00
Machiavelli 4e9cd1e490 Core/UnitAI: Add template<class PREDICATE> void SelectTargetList, to select target list based on unary predicate function, with parameters maxTargets and targetType. 2011-02-23 13:35:15 +01:00
darkstalker 1646f9d91c Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos) 2011-02-22 17:02:47 +06:00
Rat 8b37ac4688 Core/SAI: Fix invoker logic and possible crashes
Signed-off-by: Rat <[email protected]>
2011-02-21 22:23:43 +01:00
Machiavelli f8eae7427d Core/SAI: Fix a possible crash and clean up some copypaste errors in ProcessAction 2011-02-21 04:23:53 +01:00