Subv
06df126bd0
Core/Loading: Speedup on the creature loading code
...
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-02-12 17:34:41 -05:00
Subv
5ea49613d2
Core/Spells: Spell casts should be interrupted if the target goes out of LoS.
...
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-02-12 15:30:16 -05:00
Subv
a7f6c4f558
Fixed the logic on my last commit
2012-02-12 08:41:59 -05:00
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
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
f3802488ff
Core/Collision: Missing a negation operator in Ring of Valor
2012-02-11 14:28:25 -05:00
Subv
0e57de54fb
Battleground/Collision: Fixed the DS waterfall and RV pillar glitches
2012-02-11 13:47:43 -05: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
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
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
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
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