Commit Graph

14709 Commits

Author SHA1 Message Date
Subv
b0bcf1f67c Core/Collision: Fixed LoS for doors with data0 = 0 and state = 0
closes #5197

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-11 21:47:00 -05:00
Subv
d3a510957e Codestyle: Renamed some battleground variables and changed some other things to fit codestyle 2012-02-11 19:44:10 -05:00
Subv
d0110dae9d Merge pull request #5193 from Souler/master
Dalaran Sewers Arena waterfall issue
2012-02-11 16:28:38 -08:00
Subv
0d77ae8fc1 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-02-11 19:23:40 -05:00
Subv
ff9830c18d Core/Spells: Blink wont be able to trespass solid objects anymore (walls/doors)
Refactored some code

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-11 19:23:18 -05:00
Matthew Goff
b0145e3b39 Core/Quests: Correct use of parenthesis in IsAutoComplete and IsAutoAccept
Closes #5195
2012-02-11 22:26:53 +00:00
neurorulez
cf9e183e25 DB/SAI: Send data to instance on Ward Keeper death
Closes #4819
2012-02-11 20:46:08 +00:00
Souler
491c25ddc5 Core/Arenas/Dalaran Sewers: Add warning before fully activating the waterfall 2012-02-11 21:08:26 +01:00
Pitcrawler
6bb7f15092 DB/NPCs: Remaining Grizzly Hills gossips
Scripts|SAI: Convert npc_kingdom_of_dalaran_quests to SAI
Closes #4845
2012-02-11 20:01:06 +00:00
Nay
605d3ffa52 Copy paste is bad, mkay? 2012-02-11 19:51:03 +00:00
Nay
5c62fd1d6a Core/Db/Conditions: Add conditions for world state and phasemask
CONDITION_WORLD_STATE - 11 - index - value - 0
CONDITION_PHASEMASK - 26 - value - 0 - 0
Idea by @LiMCrosS
2012-02-11 19:46:41 +00:00
Subv
1fc3470233 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-02-11 14:29:13 -05:00
Subv
f3802488ff Core/Collision: Missing a negation operator in Ring of Valor 2012-02-11 14:28:25 -05:00
Nay
987860c09c DB/SAI: Fix a typo in a recent SAI script
(Startup DB errors)
2012-02-11 19:00:57 +00:00
malcrom
001a2bc5e7 DB/Quests: Fix quest Sorlof's Booty
Closes #5071
Closes #1785
2012-02-11 18:59:07 +00:00
Subv
7eab228818 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2012-02-11 13:49:41 -05:00
Subv
0e57de54fb Battleground/Collision: Fixed the DS waterfall and RV pillar glitches 2012-02-11 13:47:43 -05:00
gecko32
c5cabd3295 DB/Quests: Script A Daughter's Love quest ending
Closes #5102
2012-02-11 18:47:19 +00:00
w1sht0l1v3
c80ab4d19e DB/Quest: Kickin' Nass and Takin' Manes
Thanks to @Pitcrawler for refactoring/correcting the code
Closes #446
Closes #5164
(not complete)
2012-02-11 18:33:46 +00:00
Pitcrawler
f76f091fc3 DB/Quest: Near Miss / Close Call
Closes #5169
(not complete)
2012-02-11 18:31:12 +00:00
Discover-
7a518fd3e0 DB/ATs: Add Botanica and Mechanar instance exits.
Closes #3369
2012-02-11 18:03:45 +00:00
Vincent-Michael
336f2c904d DB/Quests: Quest pooling for The Rokk and Old Man Barlowned
Closes #5189
Closes #5190
2012-02-11 17:50:15 +00:00
nelegalno
1b8135d07d DB/NPCs: Spawn Elders also on heroic difficulty (spawnmask change)
Closes #4976
2012-02-11 17:44:49 +00:00
Subv
231b849ac4 Fixed build 2012-02-11 11:05:37 -05:00
Subv
5d93b33f0f Fixed codestyle from last commit 2012-02-11 10:53:33 -05:00
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