Commit Graph

4857 Commits

Author SHA1 Message Date
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 <machiavelli.trinity@gmail.com>
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
Malcrom
35bc842fde Scripts/npc_sergeant_bly: Talk text was placholders. Replaced with Creature text. 2012-02-19 21:30:43 -03:30
Subv
c6f4ab10e1 Core/Scripts: Fixed Thrall's weapon and shield models in Old Hillsbrad Foothills.
closes #3904

Signed-off-by: Subv <s.v.h21@hotmail.com>
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
5cd6165ab1 Core/Scripts: Add a forgotten header after stash/reapply sequence from last commit 2012-02-19 17:30:41 +01:00
click
dce3bc01ac Core: Fix non-PCH building 2012-02-19 16:57:07 +01:00
Nay
3b1cd7caea Scripts/Spells: Remove debug leftover from spell_dru_starfall_dummy 2012-02-19 15:36:38 +00: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
Subv
25d9e2ec29 Core/SAI: Implemented SMARTCAST_AURA_NOT_PRESENT as castflag, the spell will only be casted if the target does not have the aura
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-18 19:10:18 -05:00
mweinelt
e48290d2cc Scripts/EoE: Fix achievement You Don't Have An Eternity (10+25)
Closes #5273
2012-02-18 23:54:46 +00:00
QAston
9abc47736f Core/Spells: Changes in code related to spell explicit target redirection (cleanups, added target validation, prevent unexpected behaviour in some cases) 2012-02-19 00:40:55 +01:00
Nay
0a0233b215 Core/Packets: Use a single method to send SMSG_ACTIVATETAXIREPLY
Also fix a typo introduced in 703ad4889
2012-02-18 23:03:41 +00:00
Nay
703ad48890 Scripts/Spells: Revert a little part of spell_dru_starfall_dummy (original code)
Thanks to Drago for testing
Closes #5305
2012-02-18 21:26:24 +00:00
vincent-michael
34a41d0152 Scripts/Spells: Use correct spell and fix crash in spell_item_impale_leviroth 2012-02-18 21:18:02 +00:00
Malcrom
f87da6d664 DB/Gossip: Fix gossip for Fallen Hero of the Horde and remove cpp script. 2012-02-18 15:38:51 -03:30
click
5411e1ce52 Core: Clean up whitespace and tabs in the base sourcetree 2012-02-18 16:52:08 +01:00
Shauren
da5027ef3a Core/ObjectMgr: Warn about creatures that have waypoint movement type set but no path assigned on startup 2012-02-18 16:20:00 +01:00
Subv
8660f20703 Merge pull request #5290 from kandera/fix_blink
fix blink making you fall under ground when blinking into water (needs c...
closes #5289
2012-02-18 04:36:23 -08:00
Malcrom
958c32b026 Move gossip for Lore Keeper of Norgannon to db. Remove cpp script. Also rename some incorrectly named sql updates. 2012-02-18 08:27:00 -03:30
Kandera
c517806a23 Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts. 2012-02-18 12:12:49 +01:00
MrSmite
d55c8c7cc4 Core/Misc: Correct console output for ObjectMgr::LoadCorpses
Closes #5299

Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-02-18 11:46:05 +01:00
Subv
9c01620938 Core/AuctionHandler: Move the MAX_AUCTION_ITEMS check to where it actually does something in HandleAuctionSellItem, thanks @e000 for the suggestion 2012-02-17 17:46:50 -05:00
Subv
b3f729274a Core/Spells: Fixed an error in the logic of the AuraEffect constructor, thanks @A-Metaphysical-Drama for noticing 2012-02-17 17:19:23 -05:00
Kandera
e277588689 fix blink making you fall under ground when blinking into water (needs correct liquid level calculations) 2012-02-17 14:25:08 -05:00
QAston
cd3ed111c9 Core/Spells: Fix recently broken feral spirit and force of nature. Closes #5278. 2012-02-17 11:45:21 +01:00
Subv
80d7972619 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-02-16 16:28:04 -05:00
Subv
161e765400 Core/Characters: Fixed crash at character creation.
closes #5256
2012-02-16 16:27:38 -05:00
Shauren
41d99a474c Scripts/Icecrown Citadel: Remove obsolete code since spline movement implementation 2012-02-16 21:47:33 +01:00
Shauren
d2567a9f2f Core/Entities: Removed unused variable 2012-02-16 21:46:37 +01:00
kaelima
7ce7853606 Core/Spells: Revert part of 65d269f6de. Solves some recent instant spell casting issues. 2012-02-16 20:38:48 +01:00
Manuel Carrasco
85e0f2de5e Core/Unit: Small correction to commit 60adf066d9. 2012-02-16 15:08:27 -03:00
QAston
0d5ae5784c Core/Spells: Make channeled auras stackable by default with other auras. 2012-02-16 17:14:32 +01:00
leak
ba4d1c36f1 Core/Maps: Remove redundant if() 2012-02-16 16:17:56 +01:00
leak
88905ae70f Scripts/Spells: Missing break; and trailing whitespace (tss...) 2012-02-16 16:13:00 +01:00
Spp
03c34ee507 Fix a lot of warnings 2012-02-16 13:56:28 +01:00
QAston
e47ec04b4d Core/Db/Conditions: Drop CONDITION_CREATURE_TARGET, CONDITION_TARGET_HEALTH_BELOW_PCT, CONDITION_TARGET_RANGE and 3rd parameter for CONDITION_AURA. Instead of those use other available conditions, which are not limited to player's selection only. 2012-02-16 13:16:43 +01:00
QAston
ad6613261c Core/Db/Conditions: Drop usage of CONDITION_ITEM_TARGET and CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET and use CONDITION_SOURCE_TYPE_SPELL instead. 2012-02-16 12:09:09 +01:00
kaelima
d336c9efc5 Core/Movement: Fix a crash when a player logout in a hostile area. The honorless spell should and is already casted after recieving CMSG_MOVE_SPLINE_DONE.
Closes #5245

- Also corrected an error message in auctionhousemgr.
2012-02-16 11:11:29 +01:00
Anubisss
ccb80da1e1 Fixed crash in the Twin Valkyrs encounter in ToC. closes #4915 2012-02-15 19:57:57 -05:00