Commit Graph

14684 Commits

Author SHA1 Message Date
Subv
c5e2e189de Core/Conditions: Allow to set SAI conditions to both the invoker and the object using ConditionTarget column.
ConditionTarget 0 = invoker
ConditionTarget 1 = object

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-11 10:49:28 -05:00
QAston
784d58c023 Core/Db/Conditions: Add new condition types:
- CONDITION_OBJECT_ENTRY
- CONDITION_TYPE_MASK
- CONDITION_RELATION_TO
- CONDITION_REACTION_TO
- CONDITION_DISTANCE_TO
- CONDITION_ALIVE
- CONDITION_HP_VAL
- CONDITION_HP_PCT
2012-02-11 15:17:33 +01:00
nelegalno
53458b4508 DB/NPCs: Correct a LiiA spawn
Ref 36bb3878bc
2012-02-11 14:16:47 +00:00
Subv
a3e739e726 Merge pull request #5178 from Kazt/master
Edit source files to represent the recent changes in the extractors (v4.00 2012_02) to avoid confusion with old extractors (v3.00 2010_07)
2012-02-10 15:56:56 -08:00
QAston
9d455c1e6f Fix build with GCC (it seems like it doesn't allow using references to temporary objects). 2012-02-11 00:15:05 +01:00
QAston
b362377b35 Argh 2.0 2012-02-10 23:54:11 +01:00
QAston
e337790c94 Argh. 2012-02-10 23:52:36 +01:00
QAston
ce4a4ffe50 Core/Db/Conditions: Add ContidionTarget column which allows selection of objects which will be checked by condition, depending on SourceTypeOrReferenceId.
So far usable only with CONDITION_SOURCE_TYPE_SPELL:
ContidionTarget = 0 - check caster
ContidionTarget = 1 - check explicit target
2012-02-10 23:42:08 +01:00
Ka0z
6627fe7203 Core/Collision: Edit source files to represent the recent changes in the extractors (v4.00 2012_02) to avoid confusion with old extractors (v3.00 2010_07) 2012-02-10 18:40:05 -03:00
Shocker
8c2526e7d0 Core/Misc: Avoid some redundant checks in Player::ResetTalents 2012-02-10 22:08:13 +02:00
QAston
46b9942f97 Core/Db/Conditions: remove ConditionValue2 parameter CONDITION_SPELL which was used for checking if player doesn't have spell and use NegativeCondition parameter instead. 2012-02-10 18:49:40 +01:00
Nay
ed3e5d816a Core/Db/Conditions: CONDITION_NOITEM and CONDITION_NO_AURA became deprecated with NegativeCondition
Wiki updated.
2012-02-10 16:32:26 +00:00
QAston
586a76e3a0 Core/Db/Conditions: Add 3rd parameter to CONDITION_ITEM so it can now perform a check if item exists in bank aswell as in equipment. 2012-02-10 16:47:58 +01:00
Shauren
05b18ca9ba Scripts/Icecrown Citadel: Attempt to fix Sindragosa spawning 2012-02-10 16:44:02 +01:00
Shauren
9155d21b64 Scripts/Icecrown Citadel: Fixed crash in spell_frostwarden_handler_order_whelp
Closes #5129
2012-02-10 16:40:02 +01:00
Nay
6a43ee5501 DB/GOs: Remove wrong flags and not working SAI script from (LiiT) Picnic Basket
Ref 32b2fccf33
Accepting suggestions on how to make it not despawn on first use/click.
2012-02-10 15:03:12 +00:00
QAston
f2f1150761 Fixed build. 2012-02-10 15:43:19 +01:00
QAston
676151f6ac Core/Db/Conditions: Don't use ConditionValue3 as a reference id for template conditions - ConditionTypeOrReference serves this purpose. 2012-02-10 15:30:33 +01:00
QAston
8713b44ee7 Core/Db/Conditions: Prepare conditions system to work on objects of different type than players.
Warning: API has changed a bit:
ConditionScript::OnConditionCheck(Condition* condition, Player* player, Unit* invoker) is now
ConditionScript::OnConditionCheck(Condition* condition, WorldObject* object, WorldObject* invoker)
2012-02-10 14:18:59 +01:00
QAston
e0ad0f0e8d Minor correction to a7fc2586e7 - load columns from db in the same order they're stored. 2012-02-10 12:54:34 +01:00
kaelima
5684f39d58 Core/Protocol: Remove useless ResetInstances call inside WorldSession::HandleResetInstancesOpcode. 2012-02-10 12:52:30 +01:00
QAston
a7fc2586e7 Core/Db/Conditions: Add NegativeCondition column to conditions table which allows to check whenever player does not meet condition specified by ConditionTypeOrReference column (ConditionTypeOrReference and ConditionValue3 set to reference id are not affected by the change) 2012-02-10 12:46:01 +01:00
kaelima
03b2717931 Core/Map:
- Fixed crash when a player was disconnected during a transfer to another map.
- Only call OnPlayerLeaveMap if player is removed from map. (Ty QAston)
2012-02-10 12:43:13 +01:00
Shauren
5251daf01a Core/Spells: Summoning players will now teleport them directly on summoner, not near him 2012-02-10 11:32:33 +01:00
Shauren
806733550c Core/GameObjects: Fixed crashes in GameObject::SetLootState and GameObject::SetGoState for summoned objects
Closes #5166
2012-02-10 10:24:56 +01:00
QAston
5365bd25fa Core/Spells: remove some workarounds about transform spells in corpse explosion script. 2012-02-09 23:27:59 +01:00
Subv
4ba341e892 Core/Spells: Removed deprecated code, fixed duration bonus of the Glyph of Dancing Rune Weapon 2012-02-09 15:27:12 -05:00
QAston
800cf73750 Core/Spells: Fix some problems with spells summoning to many objects. 2012-02-09 20:27:26 +01:00
Subv
9791bb599a Merge pull request #5160 from TrinityCore/dynamic_vmaps
Added Dynamic Vmaps, RE-EXTRACT YOUR VMAPS
2012-02-09 11:17:05 -08:00
Subv2112
93d199f043 Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Shocker
4623db0abe Merge pull request #5052 from devilcoredev/fix_003
Core/Spells: Check line of sight for AoE targeted spells
2012-02-09 10:29:45 -08:00
Shocker
d2e018dbbc Merge pull request #5150 from Kline-/master
Core/Config: Add config option for Quest Auto Accept/Ignore

(commiter's note: there is no blizzlike reason for this but that doesn't mean it's not a good idea)
2012-02-09 10:28:02 -08:00
Shocker
493ff0fbb2 Merge pull request #5148 from elecyb/impharmstring
Core/Spells: Remove incorrect diminishing group check for Improved Hamstring
2012-02-09 10:26:15 -08:00
Shocker
84092d69b1 Merge pull request #5147 from glkrlos/SartharionDebuffs
Scripts/Obsidian Sanctum: Sartharion Debuffs should be active while the respective bosses are alive
2012-02-09 10:24:07 -08:00
QAston
012be16796 Merge pull request #4726 from ille/baa2252bd31718e93ccc3e97aa81afeecb5ec9c3
Core/GameObject: implement stealth/invisibility for traps
2012-02-09 09:38:13 -08:00
QAston
b4022acdf3 Core/Spell: move conditions check to Spell::CheckCast. 2012-02-09 18:35:52 +01:00
QAston
0b1da6c0ad Core/Db/Conditions: update error log. 2012-02-09 18:18:06 +01:00
QAston
e0c699b0f3 Core/Db/Conditions: allow CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET to be used for spells with any spell using unit as explicit target instead of just TARGET_UNIT_TARGET_ANY and TARGET_UNIT_TARGET_ENEMY. 2012-02-09 18:12:47 +01:00
QAston
dc326131a3 Core/Entities: don't save aura caster's guid for pets to db. 2012-02-09 17:19:24 +01:00
kaelima
e7cd9f0b4c Core/Movement: Don't send heartbeat message only to self on movementflag update. Should solve some recent issues with vehicles. 2012-02-09 13:41:43 +01:00
Matthew Goff
89adbc1778 Add config values to allow ignoring auto accept and auto complete flags on quests. 2012-02-08 20:01:38 -06:00
elecyb
d585c68814 Core/Spells: Removed incorrect diminishing group check for Improved Hamstring. 2012-02-08 21:35:00 -03:00
glkrlos
201af95af3 From beginning of Sartharion encounter if Tenebron, Shadron and/or Vesperon are alive the Spell Power of Tenebron, Shadron and/or Vesperon must be casted on all players, this occurs like retail. 2012-02-08 18:25:58 -06:00
malcrom
1730cee9e1 DB/SAI: Scripts for Chillmaw and Cultist Bombardier
Closes #1502
(might need additional fixes)
2012-02-08 23:46:42 +00:00
zwerg
cd7b0c2635 Scripts/Noblegarden: Fix Spring Fling achievements
Closes #1070
2012-02-08 22:49:40 +00:00
Vincent-Michael
8a1f3a600f DB/SAI: Fix quests Chrushing the Crown
Closes #5100
2012-02-08 21:00:40 +00:00
Odyssey
da0235dca3 DB/Spawns: Lunar Festival, Rocket Clusters, Moonglade
Closes #4993
2012-02-08 20:56:47 +00:00
Merlin2010
101b461c7c Core/DBCs: Fix "Uncategorized taxi error" in Shadow Vault flight master
Closes #4999
This a bit "hackish", a proper fix for both flight masters (Ebon Hold and Shadow Vault) should be found
2012-02-08 20:50:58 +00:00
gecko32
7a8782c52c DB/Quests: Remove DB spawn for Zepik and give needed item on quest accept
Closes #5000
2012-02-08 19:44:11 +00:00
mweinelt
a32f7afc6f DB/Quests: Toxic Tolerance - Quest Pooling
Closes #5007
2012-02-08 18:36:21 +00:00