Commit Graph

1468 Commits

Author SHA1 Message Date
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
Machiavelli
cbee39a4dc Fix a warning. 2012-03-03 16:23:16 +01:00
Machiavelli
d1e4eb0512 Core/Commands: Implement .debug moveflags command. With params you can set MoveFlags and MoveFlagsExtra for targeted unit. Without params it will display the current MoveFlags and MoveFlagsExtra. Useful for debugging upcoming changes. 2012-03-03 16:12:28 +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
Souler
c119c0ce13 Core/Arenas/Dalaran Sewers: Players who stay on the pipe after the battle has begun should be knocked into the arena.
Also corrected the orientation of horde starting position
2012-03-02 17:20:45 +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
kaelima
b939ea5951 Script/Commands: Some safer code in wp modify 2012-03-01 12:16:06 +01:00
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
QAston
8653016bdd Merge pull request #5445 from Souler/fix_demonic_circle
Move Demonic Circle related code to spell_warlock.cpp
2012-02-27 07:15:39 -08:00
Spp
d38bc3a178 Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there 2012-02-27 14:58:47 +01:00
Souler
05097c7fc5 Scripts/Spells: Move Demonic Circle mechanics to spell_warlock.cpp 2012-02-26 17:22:27 +01:00
leak
1ebdc5c19c Core/Warden: Add reload ability for character.warden_action table / Centralize the crypto keys in one header file 2012-02-25 22:06:18 +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
6f152a1ff8 Core/Scripts: Remove some leftover debugging-output from the warlock spellscripts 2012-02-25 21:18:29 +01:00
Malcrom
bed3fb6d98 DB/SAI: SAI for Quest: 12843 "They Took Our Men!". Remove cpp script. 2012-02-25 15:59:40 -03:30
click
4e1c8e0fa1 Core/Scripts: Fix non-PCH building and linking under GCC 2012-02-25 19:41:51 +01:00
Malcrom
c952c7f98f Scripts/go_black_cage: Remove script replaced by SAI. 2012-02-25 07:26:01 -03:30
Shauren
1f373c0f37 Scripts/Icecrown Citadel: Removed obsolete workaround for Ice Tomb LoS 2012-02-25 11:42:00 +01:00
kaelima
bc151a0453 Scripts/Zalazane's Fall: Fixed a logical mistake from last commit 2012-02-24 23:10:12 +01:00
kaelima
c7ddb428b3 Scripts/Zalazane's Fall: Some cleanup and general code improvement 2012-02-24 22:56:41 +01:00
Kandera
348ed1782f Core/Scripts: fix rotface ooze flood (thx to vincent-michael) 2012-02-23 12:45:04 -05:00
QAston
ccbe209ded Merge pull request #5343 from kandera/fix_spell_script_stuff
fix a few issues with the spell scripts i made.
2012-02-23 09:35:10 -08:00
Kandera
c27a0333ce Core/Scripts: script despawn for dummy effect of muisek vessels 2012-02-23 12:18:51 -05:00
Shauren
dc28b92415 Core: Random cleanup + compile fix 2012-02-23 13:01:16 +01:00