Subv
ba3f25c143
Core/Scripting: Allow the use of WorldMapScript for maps that are not continents (aka, all maps)
...
Closes #171
Signed-off-by: Subv <[email protected] >
2012-04-07 11:59:01 -05:00
Gyx
360014856d
Core/Game: Code style.
...
Signed-off-by: Gyx <[email protected] >
2012-03-29 13:42:04 +08:00
Gyx
1e94ab8d51
Core/Game: Code style and remove unused core.
...
Signed-off-by: Gyx <[email protected] >
2012-03-17 20:13:37 +08:00
kaelima
23c5ce0e0a
Core/Unit: Fix some movement issues when leaving vehicles introduced in dce0a7d184
...
Sorry about that.
2012-03-16 22:52:20 +01:00
Shauren
a50fbb45be
Core/DBC: Updated ScalingStatValues format string
2012-03-16 12:43:07 +01:00
kaelima
acb3fde355
Core/DBC: added cloak mask to armorMod and did some cleanup in ScalingStatValuesEntry
2012-03-16 08:56:06 +01: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
Shauren
a1a7a2d7c0
Core/Players
...
* Add liquid special aura only if player is in it (not when above)
* Use CastSpell instead of AddAura - checks all dbc conditions on spell
2012-03-07 18:57:47 +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
Kandera
429f4b0c20
Core/DBCStruct: update the info for liquidtype (even though it is currently commented out)
2012-03-05 11:01:04 -05:00
Nay
9dbd9c02f4
Misc:
...
- Fix errors in recent SQLs (1fc122e5c6a5e0099,a3755f8355e64c9efc)
- Proper defines in DBCStructure.h (Holiday Entry)
2012-02-26 14:38:04 +00:00
Nay
a813e6f579
Core/Calendar: Use defines when sending holiday data
...
Update some comments
2012-02-25 16:17:23 +00:00
Nay
0f1bd50ae0
Core/Calendar: Holiday.dbc -> SMSG_CALENDAR_SEND_CALENDAR
2012-02-25 05:28:22 +00: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
Merlin2010
101b461c7c
Core/DBCs: Fix "Uncategorized taxi error" in Shadow Vault flight master
...
Closes #4999
This a bit "hackish", a proper fix for both flight masters (Ebon Hold and Shadow Vault) should be found
2012-02-08 20:50:58 +00:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
kaelima
07c294b0c2
Core/Vehicle: Corrected the flag of VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
2011-12-23 14:32:32 +01:00
Machiavelli
bb2696a688
Core/Vehicles: Define and implement VEHICLE_SEAT_FLAG_B_USABLE_FORCED_4
2011-12-22 14:10:05 +01:00
horn
c0f66ff07c
Core/Achievements: Define new achievement criteria condition ACHIEVEMENT_CRITERIA_CONDITION_NO_SPELL_HIT
2011-12-19 23:07:35 +01:00
Machiavelli
d7d79f058d
Forgotten change to seat flag defines, thanks to Venugh.
2011-12-11 15:28:33 +01:00
Machiavelli
c7cdd786fe
Core/Vehicles: In CMSG_ATTACKSWING check if current vehicle seat flags permit attacking before updating standstate etc. Client also checks this.
...
Furthermore, removed incorrect vehicle_seat_flag_b definition and added an unknown vehicle_seat_flag that was found in the client.
2011-12-11 14:44:58 +01:00
Machiavelli
8444532746
Core/Units: Second part of SMSG_MOVE_SET_COLLISION_HGT implementation: compute proper collision height according to client formulae and send this to the client when mounting up.
2011-11-22 20:28:10 +01:00
Machiavelli
a14cbcaa3e
Core/Units: Partial implementation of SMSG_MOVE_SET_COLLISION_HGT - send proper character collision height on dismount.
...
Fixes #2642
NOTE: Still have to properly implement collision height calculation for mounting up.
2011-11-21 22:54:25 +01:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
852ffcc139
Core/Scripting: Remove unnecesary reference in param function OnMemberRemove
2011-09-28 10:35:59 +02:00
QAston
e07535c3e3
Core/Entities: Add new functions: Unit::GetReactionTo and Unit::GetFactionReactionTo for more direct reaction checks than Unit::IsFriendly/HostileTo (those functions have many duplicated code and have many checks unrelated to unit reaction).
2011-09-15 17:44:03 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
kaelima
60f7737272
Core/DataStore: Add struct for LiquidTypeEntry.dbc, unused for now.
2011-09-14 15:02:12 +02:00
Shauren
f13f32c972
Core/Achievements: Award normal mode achievements when instance was done on heroic mode
2011-09-05 15:21:37 +02:00
QAston
81a841ed20
Database/Spells: Add AttributesEx6 and AttributesEx7 columns to spell_dbc table.
2011-09-03 21:05:26 +02:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
click
f778c5e739
Whitespace cleanups...
2011-06-18 19:51:28 +02:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
tobmaps
9f1a4f33c0
Core/Players: Implemented AREA_FLAG_ALLOW_DUELS. Duels should be possible only at areas with this flag. Tnx to Destalker for pointing out this flag
2011-05-29 02:40:37 +07:00
kaelima
bc2cca0733
Core/DBC: Update some Summon-properties enums and added some research for WorldStates in dbc.
2011-05-27 12:08:00 +02:00
kaelima
685868df88
Core/DBCStructure: Update HolidaysEntry structure. Research mainly by Click.
2011-05-27 01:25:38 +02:00
kaelima
78692e1246
Core/Area: Updated AreaFlags documentation to match 3.3.5 dbcs.
2011-05-27 00:58:18 +02:00
Shauren
3d8e4300b7
Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
...
Closes #803
2011-05-25 23:39:17 +02:00
Shauren
24a8cc24da
Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS
2011-05-14 12:26:49 +02:00
Lynx3d
b1d2fbc0c2
Core/Player: Use dbc data for calculating combat ratings
...
Closes #1156
2011-05-13 04:11:03 +07:00
click
b5fcd880e3
Core: Fix another warning (Implicit checking of flags in VehicleSeatEntry::IsUsableByOverride)
2011-05-09 02:05:55 +02:00
Shauren
acd81d6570
Core/Achievements: Fixed Children's Week achievements
2011-04-30 12:41:14 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00