Commit Graph
3856 Commits
Author SHA1 Message Date
QAston a0de042efe Core/Spells: Remove SpellSelectTargetTypes enum - it's not needed anymore. 2012-02-25 14:07:07 +01:00
QAston b7b37dca29 Core/Spells: send spell error messages on spell cast condition checks. 2012-02-25 11:54:12 +01:00
Shauren 1f373c0f37 Scripts/Icecrown Citadel: Removed obsolete workaround for Ice Tomb LoS 2012-02-25 11:42:00 +01:00
Nay 7885e2066a Copy-paste typos in previous commit (0f1bd50) :( 2012-02-25 05:33:27 +00:00
Nay 0f1bd50ae0 Core/Calendar: Holiday.dbc -> SMSG_CALENDAR_SEND_CALENDAR 2012-02-25 05:28:22 +00:00
Nay ad78d44da8 Core/Calendar: Change (revert) CalendarFlags vars to ints
P.S I'd like to have type safe enums (C#-like, also [Flags] attr)
2012-02-25 04:16:17 +00:00
Nay d6c0a67a7c Core/Calendar:
- Fix build
- Use enums where possible
- Renaming
2012-02-25 04:00:32 +00:00
Shauren 8945d115b2 Core/Calendar: Added some checks & error responses for calendar actions, many more to do still 2012-02-25 00:14:39 +01:00
Shauren 0e86b3a578 Core/Calendar: Corrected structure of SMSG_CALENDAR_COMMAND_RESULT 2012-02-24 23:40:06 +01:00
Shauren e5621dfd99 Compile fix 2012-02-24 23:30:09 +01:00
Shauren f1f469481d Core/MovementGenerators: Removed pointless check 2012-02-24 22:43:12 +01:00
Shauren ae5ecb6ac0 Core/Calendar: Code refactoring/removed obsolete functions 2012-02-24 22:04:29 +01:00
Spp 32eab3dca7 Core/Calendar: WIP Calendar. 2012-02-24 20:11:29 +01:00
Shauren a934abbbb7 Core/Calendar
* Added sending SMSG_CALENDAR_RAID_LOCKOUT_REMOVED when instance save is removed
* Refactored sending SMSG_CALENDAR_RAID_LOCKOUT_ADDED/REMOVED into separate method
2012-02-24 19:31:40 +01:00
Nay a09310244f Core/Calendar: Use enums
Source: WPP
2012-02-24 18:22:31 +00:00
Shauren 9c3357c1de Core/Calendar
* Fixed raid resets display in calendar
* Active instance locks will now be added to calendar as soon as they are created (not after login)
2012-02-24 19:06:53 +01:00
Nay c4b6dc3a15 Core/Calendar: Initial work for calendar
Original author: Silinoron
(from calendar branch)
2012-02-24 16:46:29 +00:00
Shauren 40cda6b095 Copypaste fix 2012-02-23 13:07:51 +01:00
Shauren dc28b92415 Core: Random cleanup + compile fix 2012-02-23 13:01:16 +01:00
Venugh 5416b734e4 Core/Movement: Use SetLevitate(true/false) instead of AddUnit/RemoveUnit. 2012-02-23 12:32:21 +01:00
Venugh 1cac01b3df Core/Movement: Use SetWalk(true/false) instead of AddUnit/RemoveUnit. 2012-02-23 11:50:58 +01:00
Machiavelli dc91fc1050 Core/Vehicles: Fix a crash in object update packet builder (need to remove UPDATEFLAG_VEHICLE on Unit::RemoveFromWorld) 2012-02-22 21:50:01 +01:00
QAston fb5d05c198 Core/Spells: Prevent assertion failure in Spell::SelectImplicitDestDestTargets by setting dest to caster if no dest provided. 2012-02-22 21:06:29 +01:00
Nay a7e5c3c7c4 Misc: Delete searing_gorge.cpp and fix a typo in worldserver config 2012-02-22 19:56:23 +00:00
Shauren dba27e61a3 Core/Unit: Corrected packet structure in Unit::BuildMovementPacket 2012-02-22 20:00:16 +01:00
Machiavelli fa546d1428 Core/Spells: Change logic in assertion in Spell::SelectImplicitTargetObjectTargets.
Not sure if this a step in the right direction for the intended design, but following the logic of the function there should be OR unit target OR gameobject target OR item target pointers available. If Item target doesn't belong there then the already present AddItemTarget call should be removed.
2012-02-22 19:16:47 +01:00
Machiavelli c9748aaacc Core/Vehicles: Fix a crash in ~Vehicle. Closes #5366 2012-02-22 16:51:56 +01:00
Kandera c2d56c8a6e fix issue with seasonal quests and repeatability 2012-02-22 09:30:05 -05:00
Machiavelli e742873f1b Merge pull request #5271 from Chaplain/knockback
Core/Movement: Fix MoveJump handling.
2012-02-22 03:45:52 -08:00
Machiavelli a3f3058499 Core/Vehicles: Remove some wrong/redundant calls to Unit::ExitVehicle. The aura system already handles it in most places.
Also add some documentation on upcoming work on making passenger exit positions work.
2012-02-22 12:26:05 +01:00
Machiavelli 7567d5e359 Core/Conditions: Fix grouping for CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT
Perhaps in the future a more generic solution can be implemented to prevent lots of repetitive code
2012-02-22 11:54:01 +01:00
QAston 7a261ff9b8 Core/Spells: Use right function for obtaining spell target type. Fixes assertion failures. 2012-02-22 10:34:08 +01:00
QAston 2a1ffc1cd9 Core/Spells: Fix a typo in f09b5a6bea - call right function for target dest case.
Closes #5357
2012-02-22 10:21:02 +01:00
Spp 1e246cb66c Fix build (gcc) and fix warnings 2012-02-22 09:15:57 +01:00
QAston 18948755ca Merge. 2012-02-21 20:17:45 +01:00
QAston f09b5a6bea Core/Db/Conditions:
-Drop condition CONDITION_SPELL_SCRIPT_TARGET, use other condition types instead
-Change CONDITION_SOURCE_TYPE_SPELL_SCRIPT_TARGET to CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET:
--allow using this condition for more spell implicit target types (not just ENTRY)
--SourceGroup value for this src type is now effMask and it's now required

Core/Spells: Unify the way implicit targets are handled, fully implement some partially implemented target types, fix some minor bugs found on the way, general improvements and cleanup.
2012-02-21 20:17:45 +01:00
kaelima c15f7bfc19 Core/Pet: Fixed possible crash after swapping pet with stable master. Closes #5177 2012-02-21 16:50:45 +01:00
Machiavelli 2f37e82097 Merge pull request #5337 from LiMCrosS/patch-1
Core/World: WorldState must be loaded before Conditions
2012-02-21 02:18:39 -08:00
Machiavelli 7c84500b9d Update src/server/game/Handlers/PetHandler.cpp 2012-02-21 11:12:10 +01:00
Machiavelli 1aceab6b62 Core/Pets: Fix stay command if pet is currently processing spline movement 2012-02-21 10:41:48 +01:00
MrSmite fb39566f1f Core/Pets: Fix bugged reactstate behaviour after spline system implementation.
Signed-off-by: Machiavelli <[email protected]>
2012-02-21 10:26:14 +01:00
Machiavelli 44195689b9 Core/Units: Use spellclick conditions in Player::canSeeSpellClickOn 2012-02-21 10:17:32 +01:00
Manuel Carrasco 4e8218025e Fixed compile error, thanks to AliveShiro. 2012-02-21 01:31:06 -03:00
LiMCrosS 1ef0801037 Core/World: WorldStates must be loaded before Conditions 2012-02-21 01:21:21 -02:00
Machiavelli 16818d7548 Core/Conditions: Convert npc_spellclick_spells data to condition system. This implements CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT (previous CONDITION_SOURCE_TYPE_UNUSED_18). Wiki needs to be updated accordingly. 2012-02-20 23:25:59 +01:00
leak 08268d2430 Core/Warden: Update copyright information / More cleanups 2012-02-20 14:31:26 +01:00
Subv c6f4ab10e1 Core/Scripts: Fixed Thrall's weapon and shield models in Old Hillsbrad Foothills.
closes #3904

Signed-off-by: Subv <[email protected]>
2012-02-19 19:01:03 -05:00
leak abb017dbeb Core/Warden: Various cleanups and warning fixes 2012-02-19 18:49:38 +01:00
click dce3bc01ac Core: Fix non-PCH building 2012-02-19 16:57:07 +01:00
leak 8e3a4b956e Core/Warden: Base implementation for Warden functionality
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table

Credits to TOM_RUS
2012-02-19 13:51:16 +01:00