Commit Graph

6743 Commits

Author SHA1 Message Date
Vincent_Michael eef7754dc2 Update more copyright note for 2013. 2013-01-01 15:35:09 +01:00
Vincent_Michael 11e1227784 Update more copyright note for 2013. (alcohol sucks) 2013-01-01 12:57:23 +01:00
Vincent_Michael cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Shauren 47ac83ec3a Core/Units: Check aura presence before casting liquid spell to avoid resetting periodic tick timers 2012-12-31 21:12:33 +01:00
Shauren f1170ba0fb Core: Fixed some level 4 warnings (msvc) 2012-12-31 20:43:14 +01:00
Shauren b229f72bf4 Core/Units: Cleaned up DealDamage log message and moved it to debug level 2012-12-31 18:53:44 +01:00
Shauren c021bff594 Core/Vehicles: Fixed basepoints used when ride vehicle aura is created for !IsInMap case 2012-12-31 17:58:21 +01:00
click 7ef2c1e062 Core: Change a rather badly phrased warning regarding "bad" DBC datastructures 2012-12-31 16:36:58 +01:00
Gacko edb90f957b Core/DB: Haaleshi Altar
- Prevent crash due to spamming GossipHello
- Convert core script to SAI
- Solves #8220
2012-12-31 15:03:19 +01:00
Subv b4be02c8a0 Core/Conditions: Rename CONDITION_INSTANCE_DATA to CONDITION_INSTANCE_INFO.
And allow it to be used with GetData, GetData64 and GetBossState.
2012-12-30 16:03:25 -05:00
Trista 0aef9419b6 Core/Vehicles: Missed change 2012-12-30 01:34:53 +02:00
Trista 6edffb036d Core/Vehicles: revert 95152d5753 and 95152d5753
Sorry about troubles caused, hed reason to think formula was wrong, but it wasn't. However there is part of the code that needs to be improved I describbed in this commit as TO DO: Connected with: #8195
2012-12-30 01:06:55 +02:00
Warpten 63b9a7579c Core/SAI: Fixed build, i need new glasses. 2012-12-29 22:30:29 +01:00
Warpten 609c5700d6 Core/SAI: SMART_ACTION_NONE is not a valid action. Also accept SMART_ACTION_SET_RANGED_MOVEMENT as a valid action. 2012-12-29 22:27:32 +01:00
Subv 2002bc785e Core/SAI: Fixed SMART_ACTION_SET_RANGED_MOVEMENT 2012-12-29 15:35:56 -05:00
Subv 9bc339cd89 Core/Movement: MSG_MOVE_TELEPORT is not supposed to be sent to the player being teleported.
Thanks @vlad852
Closes #8798
Closes #8774
2012-12-29 15:25:48 -05:00
Subv 3d3a8107e0 Core/Entities: Account for creatures that are spawned below ground level when adding flying flags. (Triggers, mostly) 2012-12-29 14:23:23 -05:00
therzok 5c8c458d60 *Fixing a typo. 2012-12-29 21:14:12 +02:00
Subv 3ad9dafdb6 Core/Entities: Update movement flags for flying/swimming creatures on Creature::Update 2012-12-29 04:01:55 +01:00
Subv 8f589dcdd0 Core/Entities: Add a delta to the ground level difference for removing the flying movementflags when landing. 2012-12-28 13:53:44 -05:00
Nay 7ccef51c8c Merge pull request #8518 from ille/goreset
scripts/gameobject: correct reset of gameobjects (cages/prisons), move command out of if statement
2012-12-27 18:50:35 -08:00
Faq e04275984e Core/Spells: fix self-damage caused by Glyph of Chains of Ice. oMadMano
Closes #7270
Closes #644

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-28 02:24:01 +00:00
Trista 95152d5753 Core/Vehicles: Closes all issues with seats for real (finishing and fixing previous change)
* Author, Joschiwald, all credits to him please
* DieSide should be not  calculated with basepoints for these auras, thiss correctly finish previous fix 452e585f7b from Horn
* What it fixes, FL, XT, Demolishers, Accessories, Not being able to leave vehicle and so many more can't track them sorry
2012-12-28 04:11:51 +02:00
secharles 8272affe92 Script/Commands: New command: lookup spell id #spellid
Command to allow to know spell names based on id

Example:
 lookup spell id 686:
 686 - [Shadow Bolt rank 1 esES] [know]

Closes #8800

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-28 01:05:56 +00:00
Subv 873aa5f2a7 Core/Movement: Do not set movement flags for creatures based only on their InhabitType, check if they are actually on air/water. newline. Should allow us to fix some problems on ICC and the mmaps branch. 2012-12-27 19:31:34 +01:00
Nay 7fe2d7309a DB/Schema: Rename and change types of a few fields in locales_creature_text and locales_npc_text
locales_creature_text.textGroup -> locales_creature_text.groupid
locales_npc_text.entry -> locales_npc_text.ID
2012-12-27 16:42:05 +00:00
Nay 29f3476947 Merge pull request #8791 from AliveShiro/icehowl
Scripts/Trial of the Crusader: Fix Icehowl Script closes #8539
2012-12-27 08:07:17 -08:00
Subv 1a8d7d738a Merge pull request #8787 from joschiwald/load_spell_procs
Core/Spells: fix possible crash when loading `spell_proc` table
2012-12-27 06:48:45 -08:00
Nay b530602b96 DB/Schema: Rename locales_quest.entry to locales_quest.Id for consistency with quest_template table 2012-12-27 14:29:05 +00:00
AliveShiro b19563fb6a Scripts/Trial of the Crusader: Fix Icehowl Script closes #8539 2012-12-27 12:12:27 +01:00
joschiwald 3288d7024a Core/Spells: fix possible crash when loading spell_proc table 2012-12-27 06:04:45 +01:00
Vincent_Michael e48bbac93f Core: Fix warning in 7b9b67a3b3 2012-12-27 01:42:25 +01:00
Trista 452e585f7b Core/Vehicles: Fixed seat id for auras with SPELL_AURA_CONTROL_VEHICLE. Also always allow npc passengers to cast spells and remove TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE hacks.
* Author: Horn. Please give feedback, I tested a lot stuff, but it will be appreciated.
* One of the fixes allow all creatures to cast when being passangers, researched, this doesn't involve players.
* This basically rewrittes vehicle seat formula calculated, so it fix quite stuff that will not be visible and some eye candies: #3831 and #1984 Heart part ;) (which magically fix a lot more of it and some quests), also Yog-Sarron mechanics
2012-12-27 01:35:38 +02:00
Vincent_Michael ece2f7c7ab Add missing changes in 7b9b67a3b3 (fucking save button) 2012-12-26 23:23:49 +01:00
Vincent_Michael 7b9b67a3b3 Core/Quest: Drop table quest_end_scripts 2012-12-26 23:20:05 +01:00
Subv 81d53f8a87 Scripts/Ick&Krick: Krick should only say his KilledUnit text when the victim is a player. 2012-12-26 13:36:07 -05:00
Malcrom 30e2ab8e0f DB/SCRIPTS: Fix text for High Botanist Freywinn and remove creature_ai_texts. 2012-12-26 11:52:05 -03:30
MidnaAT 30936fd1c4 Core/Totem: Have Lightwell use Totem logic
ref www.trinitycore.org/f/topic/7599-propper-lightwell-handling/
2012-12-26 04:34:40 +01:00
kaelima a8cd34c4a4 Core/Battleground: Rename and correct usage of opcode 1223 and increase the timer before arena/bg invitation window is removed to its proper value. Closes #6725 2012-12-26 04:02:42 +01:00
Vincent_Michael 6e921feebd Core: Fix some codestyle 2012-12-25 02:56:19 +01:00
Vincent_Michael fa5f2b4c60 Core: Fix non pch build 2012-12-25 02:51:40 +01:00
Trista 6189eeb8e6 Core/Movement: Fix codestyle -7092e9350bbb8123de688be0bf5dd87d8196d34f 2012-12-24 23:59:25 +02:00
Shauren 75e7cf7eb5 Core/Quests: Added support for 10/25 man only raid quests 2012-12-24 19:53:28 +01:00
Trista 7092e9350b Core/Movement: Final fix for MSG_MOVE_TELEPORT
* Creator Subv, (thx to Shauren also who stated that this packed should be used when researchs were started)
- You all should'be thankful, that bug was a real bitch
* Fix creatures using NearTeleportTo (example Urom in Oculus, Skeram/Viscidus in AQ and Heigan in Naxxramas)
2012-12-24 18:04:58 +02:00
Subv f6f3680995 Core/BuildSystem: Added some more headers to the collisions project PCH 2012-12-24 10:34:36 -05:00
Trista fb3245d125 Scripts/Quest: Gambling Debt and Words of Power
* Quest support for Gambling Debt. Closes: #3122
* Fix bugging script for Words of Power: Closes: #7349
* Fix codestyle that vs broke from: 8c82c075cc
2012-12-24 01:35:55 +02:00
Trista 8c82c075cc Scripts/Quest: Defending Wyrmrest Temple
* insert complete db sniff support, appart from missing spawns
* remove achievement from disables (supported by core - timed one)
* insert core support for spells and the defender itself, since SAI makes it act weird (maybe in future when SAI get integrated someone will convert it)

Closes #1861 on 90% (except spawns (there are enough, but a lot more needed and minnor stuff that are core side connected with vehicles spellcastresults)
2012-12-24 00:51:39 +02:00
Subv c33a1724ae Core/Spells: Spells that are usable while stunned should no longer have problems with stun auras that don't apply any mechanic. 2012-12-23 13:21:00 -05:00
stfx 51fadb57e0 Allow setting afk/dnd message in afk/dnd state
Also use the same variable to store the message for AFK and DND

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-23 17:49:47 +00:00
stfx 01ef119703 Fix receiving whispers while being dnd
Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-23 17:49:46 +00:00