Commit Graph

7419 Commits

Author SHA1 Message Date
Kandera
af48083d86 Core/Spells: Fix improved unholy presence removal. 2012-03-23 09:54:34 -04:00
Kandera
01c997c60f Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart 2012-03-23 08:27:27 -04:00
w1sht0l1v3
ee305cbb26 Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
Flame Sphere should not be visible to players(only their visual).
2012-03-22 12:54:31 +02:00
Machiavelli
d521d75fae Merge pull request #5825 from w1sht0l1v3/ToCr
Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
2012-03-21 13:25:42 -07:00
w1sht0l1v3
e8c3cb1c10 Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
Add missing triggers.
2012-03-21 22:17:34 +02:00
Machiavelli
e4ee3788e7 Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being interrupted by other spells. 2012-03-21 12:42:45 +01:00
Shauren
f0ac821e0b Scripts/Serpentshrine Cavern: Fixed crash in boss_leotheras_the_blind caused by uninitialized variable; also replaced unsafe AI typecasting with Get/SetGUID 2012-03-19 17:03:39 +01:00
leak
847b4366f3 Core/DBLayer: Convert PExecute() queries to prepared statements 2012-03-19 16:48:08 +01:00
Machiavelli
41cc704bf8 Core/Movement:
- Don't abort relocation if movementflag restrictions were violated. There might be lag between client and server and even different parts of the core that made this approach improper.
- MOVEMENTFLAG_ROOT cannot be used in conjunction with MOVEMENTFLAG_MASK_MOVING, but it's a valid flag to receive from client.
- Fix falling to ground when unapplying fly/waterwalk aura. NOTE: This is a client-side initiated fall, in the future this should be initiated and updated by the server. (Working on it)
- Rename MOVEMENTFLAG_FALLING to MOVEMENTFLAG_FALLING_FAR
- Rename MOVEMENTFLAG_JUMPING to MOVEMENTFLAG_FALLING

Closes #5751
2012-03-17 20:36:12 +01:00
Gyx
5cb16b65fc Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17 17:54:48 +08:00
Gyx
7877eae6ba Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17 12:17:15 +08:00
kaelima
d810acdeea Core/InstanceScript: Encounterframe research - extended the EncounterFrameType enum 2012-03-16 23:16:49 +01:00
Gyx
d8b4bc590a Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 21:41:15 +08:00
Gyx
e5afa4a950 Core/Script: Clean-Up in Scripts.
Item* pItem -> Item* item

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 20:57:13 +08:00
Gyx
cd38e7df2b Core/Script: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 20:31:23 +08:00
Gyx
bef1b0c402 Core/Script: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 19:40:57 +08:00
Gyx
ddc0f5d7d6 Core/Script: Clean-Up in Scripts.
InstanceScript* m_instance -> InstanceScript* instance

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 19:35:13 +08:00
Gyx
76c18e00c7 Core/Script: Clean-Up in Scripts.
GameObject* pGO -> GameObject* go

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 19:28:10 +08:00
Gyx
fcbb222aca Core/Script: Clean-Up in Scripts.
Creature* c -> Creature* creature
Creature* _Creature -> Creature* creature
Creature* Creature -> Creature* creature

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 19:21:47 +08:00
Shauren
4a96ae22a9 Scripts/Icecrown Citadel: Corrected flying animations for frostwyrms in Sindragosa's Lair and prevent reentering combat with Deathbringer Saurfang after encounter is won 2012-03-15 13:10:42 +01:00
Martin Weinelt
419e6a4a9e Scripts/Magister's Terrace: Fix Translocation Orb Activation and correct some codestyle 2012-03-14 23:30:55 +01:00
leak
2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
kandera
b02a012b47 Core/SpellScripts: fix crash caused my spell_gen_vehicle_scaling. closes #5703 (thx vincent-michael) 2012-03-14 14:05:39 -03: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
Nay
2b2d054f64 R.I.P SimpleAI
- Convert SimpleAI to (DB) SmartAI
- Spell ids corrected (and completed some of the scripts)
- Random cleanup (code style) in some scripts
2012-03-11 16:59:17 +00:00
Shauren
3cf8b9a15a Scripts/Serpentshrine Cavern: Fixed crashes caused by uninitialized variables, patch by PuniCZ
Closes #4988
Closes #5645
2012-03-11 15:03:29 +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
f1949b20a6 Some random cleanup here and there 2012-03-09 13:42:52 +01:00
kandera
2e58d7b515 Core/Spells: cleanup warning for life tap 2012-03-07 10:15:40 -05:00
Kandera
c23ff109df Core/Spells: attempt to fix damage for life tap (thx again vincent-michael) 2012-03-07 09:16:52 -05:00
Spp
f495e0efe4 Warning fixes and some random cleanup here and there 2012-03-07 14:09:18 +01:00
Shauren
e5d23103f3 Core/Maps
* Corrected liquid type extraction in maps - MCLQ chunk must be parsed together with MH2O (they stack)
* Fixed liquid detection in WMO objects
* Implemented LiquidType.dbc use, players will now get proper auras in special liquids
* Turned off slime damage by default (Naxxramas uses periodic damage aura for this purpose)
* Implemented liquid type overrides basing on area/zone
* Renamed final temp_gameobject_models to GameObjectModels.dtree (the temporary one produced by vmap extractor remains unaffected)

Note: Map and Vmap re-extraction is required
2012-03-07 13:09:35 +01:00
click
a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
Shauren
bf5c8d7399 Scripts/Spells: Fixed target of visual polymorph in Silvermoon city 2012-03-06 22:05:33 +01:00
joschiwald
96a05600c4 Core/Commands: add command to reload locales_creature_text 2012-03-05 23:25:32 +01:00
Kandera
e1550d98e7 small cleanup 2012-03-05 11:21:53 -05:00
Kandera
a5e598b2c4 Core/SpellScripts: Fix life tap mana regen (thx to vincent-michael) closes #5536 2012-03-05 11:18:36 -05:00
click
45946e23ba Core: Adjust parameter output values to avoid excessive warning outputs on GCC and some other minor warnings 2012-03-04 21:38:57 +01:00
Malcrom
45ef7dbfcb Add handling for areatriggers at Area 52 entances. 2012-03-04 16:44:27 -03:30
Vincent-Core
48a4950cac Core/Quest: Fix MovementInform handler filter for Quest "The Amphitheater of Anguish: Tuskarrmageddon!" 2012-03-04 13:19:20 +01:00
Discover-
c48a1ad17d Scripts/Misc: Script entrance areatriggers for Area 52. 2012-03-04 02:45:21 +01:00
Subv
d21179ab56 Merge pull request #5426 from Souler/fix_ds_pipe_knockback
Dalaran Sewers Arena: Knockback from starting pipe
2012-03-03 12:20:39 -08:00