Commit Graph

823 Commits

Author SHA1 Message Date
leak
2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
thomas33
20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
Gyx
117fbb9010 Core/Script: Clean-Up in Scripts.
InstanceScript* Instance -> InstanceScript* instance

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-14 09:30:06 +08:00
Gyx
e8f414e143 Core/Script: Clean-Up in Scripts.
Creature* c -> Creature* creature

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-14 09:20:36 +08:00
Shauren
c0165ec7f8 Scripts/Icecrown Citadel: Lock Deathbringer Saurfang and Valithria Dreamwalker chests to players who fought them 2012-03-12 18:09:06 +01:00
Machiavelli
a48216e122 Scripts/UP/Svala: Temp compile fix for Svala. Currently rewriting the entire script. 2012-03-12 08:41:13 +01:00
Machiavelli
8af0067016 Scripts/ICC/Lich King: Typo correction in unit_field_bytes_1 usage related to hover, introduced in previous commit (thankfully the only one). 2012-03-12 01:10:02 +01:00
Machiavelli
03a24a84e4 Core/Units:
- Implement UNIT_FIELD_HOVERHEIGHT (requires DB data). This field, sent in update object packet, will determine the height at which a creature hovers if it has movementflag_hover applied. Note that hovering will now update the server-sided z-coordinate by the value of this field, and that all subsequent positional updates to the client will need to send z coordinate MINUS the hover height offset, or the hoverheight will be visually doubled client side.
- Correct our usage of movementflag_flying, movementflag_can_fly, movementflag_hover and movementflag_disable_gravity (previously levitate), and how they relate to InhabitType in the database. This fixes "flying creatures on steroids" bug (wings flapping too fast), and potentially a lot of visual issues in AI scripts. Note that a lot of scripts still set wrong movementflags, these need to be fixed on a case by case basis.
- Send correct packets for SPELL_AURA_FEATHER_FALL, SPELL_AURA_WATER_WALK and SPELL_AURA_HOVER apply/unapply.
- Send correct packet contents for movement update in Unit::SetSpeed.
- Misc. cleanup in affected scripts.
2012-03-12 00:53:45 +01:00
Discover-
410a6a080d Merge pull request #5632 from FrozenSouL/tc_helper
Update forgotten copyright-headers for 2012
2012-03-10 12:14:16 -08:00
Shauren
f85fdbebe7 Core/DBC: Remove store getters (useless since we don't have scripts as external dll) 2012-03-10 20:53:26 +01:00
frozenarmor
609728a17b Update forgotten copyright-headers for 2012.
Signed-off-by: frozenarmor <venom.victorios@gmail.com>
2012-03-11 00:52:06 +05:00
Spp
f495e0efe4 Warning fixes and some random cleanup here and there 2012-03-07 14:09:18 +01:00
click
a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
Vincent-Core
48a4950cac Core/Quest: Fix MovementInform handler filter for Quest "The Amphitheater of Anguish: Tuskarrmageddon!" 2012-03-04 13:19:20 +01:00
QAston
a08fe16d69 Core/Spells: Allow spell effects to have multiple destinations. Spells like: 49814, 10869 and similar are now properly selecting destination targets. 2012-03-03 00:19:48 +01:00
Shauren
254256668b Core: Fixed compile without PCH 2012-03-01 23:45:07 +01:00
Shauren
09f0a2c04f Core/CreatureTextMgr: Added support for creature_text localization 2012-03-01 22:26:05 +01:00
Malcrom
91e7dc8561 DB/Creature_Text: Convert script_texts to creature_text for boss General Bjarngrim 2012-03-01 17:42:49 -03:30
Malcrom
c531cbc695 DB/Creature_Text: Convert script_texts to creature_text for boss Volkhan, Halls of Lightning. 2012-02-29 21:56:22 -03:30
Malcrom
67e6f9afab DB/Creature_Text: Convert script_texts to creature_text for boss Ionar, Halls of Lightning. 2012-02-29 21:35:59 -03:30
Malcrom
8692eee014 DB/Creature_Text: Convert script_texts to creature_text for boss Loken, Halls of Lightning & Added sound. 2012-02-29 21:15:02 -03:30
Spp
d38bc3a178 Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there 2012-02-27 14:58:47 +01:00
click
e37d9d73a9 Core/Scripts: Remove script for npc_goblin_prisoner (handled by SAI already) 2012-02-25 21:19:05 +01:00
click
4e1c8e0fa1 Core/Scripts: Fix non-PCH building and linking under GCC 2012-02-25 19:41:51 +01:00
Shauren
1f373c0f37 Scripts/Icecrown Citadel: Removed obsolete workaround for Ice Tomb LoS 2012-02-25 11:42:00 +01:00
Kandera
348ed1782f Core/Scripts: fix rotface ooze flood (thx to vincent-michael) 2012-02-23 12:45:04 -05:00
Shauren
dc28b92415 Core: Random cleanup + compile fix 2012-02-23 13:01:16 +01:00
Venugh
5416b734e4 Core/Movement: Use SetLevitate(true/false) instead of AddUnit/RemoveUnit. 2012-02-23 12:32:21 +01:00
Venugh
1cac01b3df Core/Movement: Use SetWalk(true/false) instead of AddUnit/RemoveUnit. 2012-02-23 11:50:58 +01:00
Machiavelli
a3f3058499 Core/Vehicles: Remove some wrong/redundant calls to Unit::ExitVehicle. The aura system already handles it in most places.
Also add some documentation on upcoming work on making passenger exit positions work.
2012-02-22 12:26:05 +01:00
frozenarmor
d35356a7ae Scripts/PoS: Fix error in Forgemaster Garfrost text.
Signed-off-by: frozenarmor <venom.victorios@gmail.com>
2012-02-22 03:14:34 +05: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
click
dce3bc01ac Core: Fix non-PCH building 2012-02-19 16:57:07 +01: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
click
5411e1ce52 Core: Clean up whitespace and tabs in the base sourcetree 2012-02-18 16:52:08 +01:00
Kandera
c517806a23 Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts. 2012-02-18 12:12:49 +01:00
Shauren
41d99a474c Scripts/Icecrown Citadel: Remove obsolete code since spline movement implementation 2012-02-16 21:47:33 +01:00
Spp
03c34ee507 Fix a lot of warnings 2012-02-16 13:56:28 +01:00
Anubisss
ccb80da1e1 Fixed crash in the Twin Valkyrs encounter in ToC. closes #4915 2012-02-15 19:57:57 -05:00
QAston
210fa7743d Scripts/Auras: fix spell_trash_mob_glacial_strike script, original patch by cemak.
Closes #5196.
2012-02-15 23:48:43 +01:00
Nay
a1aa36cae3 Merge pull request #5244 from w1sht0l1v3/toc
Scripts/Trial of the Crusader: Removed "Touch of Jaraxxus" ability from Lord Jaraxxus's Script.
2012-02-15 08:28:38 -08:00
w1sht0l1v3
9ead33ff02 Scripts/Trial of the Crusader: Removed "Touch of Jaraxxus" ability from Lord Jaraxxus's Script. 2012-02-14 21:57:20 +02:00
Go6o
c8d9e30d6e Volunteer's Work - fix by Vincent-Michael 2012-02-14 21:51:54 +02:00
Subv
8a72aede16 Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-02-14 12:46:26 -05: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
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
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
Nay
32b2fccf33 Scripts/Misc: Script Romantic Picnic Basket
- Fix achievement "Lonely?"
- Added spell_holiday.cpp for spells related with holidays scripts
- Closes #5116
❤️
2012-02-08 03:07:21 +00:00