click
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
click
df20ba9956
Core/AI: Fix previous commit ( 467f33e)
2011-05-28 02:14:47 +02:00
click
467f33e3d9
Core/AI: Minor adjustment on the WorldBossAI : Avoid putting the entire map in combatmode...
2011-05-28 01:24:27 +02:00
click
fac7534611
Core/AI: Add WorldBossAI for world-side (non-instanced) bosses (essentially a stripped version of BossAI)
2011-05-28 00:28:04 +02:00
click
2d1b3ccaa1
Compile warnings fixes
2011-05-27 14:45:44 +02:00
Shauren
0ad14aeafd
Core/Gossip: Gossip menu items will now have constant index, allowing to properly define scripts relying on that index when mixed with conditions. Script-created menus via ADD_GOSSIP_ITEM will still have the index generated dynamically
2011-05-26 23:57:17 +02:00
Shauren
a644206f88
Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines
2011-05-26 23:31:46 +02:00
Shauren
c8f71c00a1
Core/Scripts: Added ExecuteEvent BossAI hook designed to contain event code which would otherwise be in while (uint32 eventId = events.ExecuteEvent()) switch blocks. This allows to define a base class sharing spells with other scripts
2011-05-25 18:50:44 +02:00
Shauren
9cc7f25b9a
Scripts: Removed CAST_PET and CAST_INST
2011-05-25 16:22:13 +02:00
Shauren
64adce7b8b
Scripts: Removed CAST_SUM define
2011-05-25 15:55:14 +02: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
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +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
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
pek2011
535b663280
Core/Cleanup: Drop various unused code
2011-04-03 16:05:27 +03:00
Shauren
0fbde67824
Core/AI: Some code style cleanup
2011-03-27 12:54:42 +02: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
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
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
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
click
d92fb9ad65
Core: Clean up some rogue whitespace and tabs
2011-02-27 18:34:24 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06:00
Manuel Carrasco
6b2ffc9039
Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
...
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)
Thanks to Kaelima, Xanadu, Shauren and linencloth.
Signed-off-by: Manuel Carrasco <manue.l@live.com.ar >
2011-02-10 22:36:35 -03:00
Machiavelli
deed0d0781
Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out.
2011-01-16 12:23:17 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Shauren
039d87bbc9
Scripts: Implemented virtual function DoCastSpellOnPlayers (self-explanatory) and CheckRequiredBosses checking states of other bosses before allowing combat with selected one
...
Scripts/Icecrown Citadel: Added checks to prevent skipping bosses
2011-01-01 23:37:35 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
82f45966fc
Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
...
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)
--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
Spp
408fce1de6
Core: Some optimizations
...
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file
--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
Spp
25ac835507
Core/Groups: Move all function definition from .h to .cpp
...
Core/Groups: Remove Group.h dependency from any .h file
--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
Rat
ee32b4b39a
Core/Objects: added ToUnit(), ToGameObject() (will be used in future)
...
Core/Unit:
- added SetFacing() function, using proper packet implementetion (spline type)
- added GetAuraCount() function (will be used in future)
Core/Creature: renamed one unknown type_flag
--HG--
branch : trunk
2010-10-17 21:14:08 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
dd29d9e422
More copyright header updates (will this ever end?)
...
--HG--
branch : trunk
2010-10-07 14:50:05 +02:00
Shocker
78803c9f09
Magic numbers cleanup:
...
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry
--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
Spp
405f312918
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-30 15:25:15 +02:00
Shauren
73d3f210a9
Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing alliance outro due to need of spawning and moving a transport)
...
Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly
Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts
Core/Scripts: Allow AuraScript to prevent default effects by effect index
Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man
Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET
--HG--
branch : trunk
2010-08-21 20:50:38 +02:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Spp
16d95d3115
Core: Fix some warnings
...
--HG--
branch : trunk
2010-08-23 07:51:19 +02:00
silinoron
5cbae843d5
Core/Game: fix all warnings related to converting doubles and floats.
...
--HG--
branch : trunk
2010-08-22 12:39:39 -07:00
Spp
e7856a831c
Core: Remove "enumeration value 'xxx' not handled in switch" warnings
...
--HG--
branch : trunk
2010-08-21 20:55:31 +02:00