gerripeach
7223adb0a0
Core/Pet: Allow all pets to swim
...
closes : #9331
2013-10-20 06:17:11 +02:00
Shauren
ce55647c41
Core/Transports
...
* Rewritten path generation, now uses splines - timers are a lot more accurate now
* Implemented stopping transports
* Implemented spawning transports in instances
* Implemented spawning gameobjects as transport passengers
* Transport passengers are now stored in creature/gameobject table using gameobject_template.data6 from transport's template as map id
2013-10-16 18:37:29 +02:00
Shauren
a368fae588
Core/Players: Fixed issues with incorrect targets being selected for spells
2013-10-03 17:07:25 +02:00
Discover-
80ce30ac7d
Core/SAI: Add 'playerOnly' parameters to SMART_TARGET_CLOSEST_ENEMY and SMART_TARGET_CLOSEST_FRIENDLY. Wiki is updated accordingly.
2013-09-30 10:11:02 +02:00
Sebastian Valle
07d793b94b
Core/Misc: Fixed some more issues found by static code analysis tools.
2013-09-03 17:31:02 -05:00
Machiavelli
e3f27a36fe
Core/Creatures: Fix base stats calculations for some cases.
...
i.e. health_mod of 0.001 resulting in hp of 0 instead of 1
2013-08-30 20:59:29 +01:00
Shauren
75cc4e7b25
Core/Auras
...
* Fixed unsafe removal of charm auras, it is now safe to remove them inside AI hooks
* Fixes crash in SmartAI::EnterEvadeMode
Closes #8679
2013-08-20 00:43:03 +02:00
Vincent-Michael
da1e466bd5
Core/Misc: Implemented GetObjectScale function
2013-08-17 23:47:43 +02:00
Vlad
0b9a8ccef5
Core/Misc: Change creatures and gameobject phasemask from 16 to 32 bits
...
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-07-19 04:03:40 +01:00
Shauren
30f6efb416
Core/Quests: Fixed quest sharing
2013-07-11 21:45:14 +02:00
Shauren
55fa58af19
Core/Movement: Prevent dynamic changes of movement flags for charmed creatures
...
Closes #10075
Closes #10079
2013-06-22 13:42:13 +02:00
Shauren
d9df460694
Core/Movement
...
* Added wrapper methods for setting various movement flags and sending correct movement opcodes
* Made flying and falling spline flags exclusive with each other
2013-06-18 16:47:12 +02:00
Malcrom
ec474a62e5
Core: More Function Renaming.
2013-06-11 21:25:12 -02:30
Malcrom
66978cfc3b
Core: Some function renaming.
2013-06-11 19:54:27 -02:30
Malcrom
047608e7de
Core/SAI: Add check so npc will not send text to pet. Also updated isPet() to IsPet().
2013-06-11 18:39:51 -02:30
Shauren
9ec22fffa0
Core/Objects: Object scale will now also affect bounding radius and combat reach fields
2013-06-11 17:28:16 +02:00
Vincent-Michael
cd24f8521c
Core/Gossip: Revert unlearn and dual spec gossip stuff in c238cae7d0
2013-06-08 20:51:39 +02:00
Shauren
88bbff2236
Core/Creatures
...
* Refactored setting movement flags into separate method
* Falling creatures are no longer treated as flying for movement flag setting purposes
2013-06-07 16:05:39 +02:00
Malcrom
c238cae7d0
Core: Remove some no longer needed gossip code.
2013-06-03 22:33:26 -02:30
Spp
9664c0ab5c
Core/Misc: Another batch of fixes for issues found by static analysis
2013-05-30 13:18:29 +02:00
Spp
d1677b2db0
Core/Logging: Performance-related tweaks to logging system
...
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
2013-05-13 15:07:36 +02:00
Gacko
8cbad9466d
Core/Gossip: New AddMenuItem method for using DB texts
...
Many thanks to @Erimioa
2013-04-08 18:16:44 +02:00
Spp
7c36e3a298
Core/Misc: Minor optimizations (+ code changes to reduce differences with 4.3.4 branch)
2013-03-25 10:36:30 +01:00
Shauren
cf1c1cf992
Core/Pets: Fixed crashes introduced in 1496e4df84
2013-03-21 21:00:47 +01:00
Spp
1496e4df84
Core/Pets: Remove unnecesary member variable (m_owner)
2013-03-21 15:00:43 +01:00
Spp
69e81d46b1
Core/Misc: Define multiple functions const (+ code cleanup here and there)
2013-03-20 14:20:17 +01:00
Spp
b4ee55dd05
Core/Misc: Do not use singleton when calling to static function ChooseDisplayId (and remove unused parameter)
2013-03-20 14:20:17 +01:00
Shauren
2c169bcca5
Core/Vehicles
...
* Fixed crash happening when passenger died on vehicle he was controlling
* Fixed crash happening if vehicle control aura was removed before passenger is fully added to vehicle
Closes #7160
2013-03-13 11:34:58 +01:00
Nefarion
49fd11ab5a
First step of comment style refactoring to doxygen-style.
2013-03-08 21:55:37 +01:00
QAston
9fd6b7ee01
Core/Entities: Move complex function implementations from Creature.h to Creature.cpp
2013-03-04 12:41:17 +01:00
QAston
e097994b23
Merge pull request #9299 from Ascathor/master
...
Few documentation changes
2013-02-28 02:24:19 -08:00
Nay
4ea31ce886
Core&SQL: Fix typos (RBAC and equips related)
2013-02-26 23:49:21 +00:00
Ascathor
d6d066f014
Several todo corrections for documentation
2013-02-26 20:05:17 +01:00
Ascathor
dec38b12a0
Fixing some Engrish.
2013-02-26 17:28:10 +01:00
Ascathor
6db8fed2ff
Additional changes and requests as by @subv
2013-02-25 20:43:06 +01:00
Ascathor
795d01bc1b
Some documentation additions within player.h and Creature.h
2013-02-25 18:14:29 +01:00
QAston
ca19852510
Merge pull request #9193 from drskull/master
...
Core: Fix Feral Spirit attack speed and update attack power
2013-02-25 08:21:35 -08:00
horn
ba549ddc30
Core/Summons: Implement summon groups system to be able to summon multiple NPCs at once without need of hardcoding the positions. Almost all hardcoded positions can now be moved to DB.
...
Thx to @Shauren for his help.
2013-02-24 17:10:02 +01:00
Shauren
0ef974a9de
Core/Creatures: Set hover movement flag if bytes1 have hover flag and creature cannot fly
2013-02-22 01:21:49 +01:00
Nay
65258666e0
Core/NPCs: Fix some equipment issues introduced with 028c72a9f2
...
Also changed equips defaults to 0 (no equipment) instead of 1.
It seems that some parts of the original commit were reverted locally, my bad.
2013-02-20 01:17:27 +00:00
Nay
028c72a9f2
Core/NPCs: Refactor equipments
...
- creature_template.equipment_id deleted
- creature_equip_template.entry == creature_template.entry
- id field added to creature_equip_template -> PK(entry, id)
- id field in creature_equip_template starts at 1
- creature.equipment_id references id of creature_equip_template
- creature.equipment_id = 0 means no equipment at all (default 1)
- creature.equipment_id = -1 means pick a random equipment from creature_equip_template
- add equipment info to .npc info command
While table creature_equip_template got bigger in size, this system is easier to mantain and allows creatures to have a random template from a group of equipments
2013-02-18 12:24:18 +00:00
Machiavelli
01fbbf3b93
Core/Vehicles: Refactor some parts of vehicle system
...
- Fix a few crashes:
Closes #9235
- Simplify and get rid of lots of redundant and silly code
- Optimisations in Unit::ChangeSeat
- More documentation
2013-02-18 00:39:58 +01:00
Shauren
944d7290ad
Core/Loot: Minor change to previous commit, thanks Vincent_Michael for reminding me about this method in Map class
2013-02-14 11:41:20 +01:00
Shauren
ca280dbe05
Core/Loot: Only 3 items of the same entry can drop on 25 man raid difficulties and 1 everywhere else (non-raid or 10 man)
2013-02-13 20:24:23 +01:00
dr.skull
760018647d
Set Spirit Wolf attack speed at 1.5s (enhancement shaman spell Feral Spirit)
...
Update Spirit Wolf Attack Power when shaman Attack power change
Signed-off-by: dr.skull <dr.skull@centrum.sk >
2013-02-11 15:53:33 +01:00
Nay
18f5de77c3
Core/GossipDef: Fix a build error from 9812afe08b
...
*slaps MrSmite*
2013-01-26 17:48:47 +00:00
MrSmite
a45f7fd878
Adds CONF option to show quest levels in dialogs.
...
Example: [13] Westfall Stew
Default = 0 (off). Make sure to set UI.ShowQuestLevelsInDialogs to 1 to turn it on
NOTES:
* DO NOT supply the quest level when using commands such as .lookup quest, it
is not actually part of the title (even though it will be printed in the result)
* Also adds the level in the quest tracker and quest log
* If locale is used, the level is added after the proper title is looked up
* LUA Mods that offer this feature do not work properly with TC, most will not put the level in all dialogs. Users who have such mods should disable the mod's feature or they may see the quest level listed twice.
Example: [13][13] Westfall Stew
2013-01-25 21:47:07 -05:00
Aokromes
134785f7f1
Core/Log: Change an error to contain DB table guid instead of low guid
...
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-01-16 01:17:13 +00:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Shauren
f1170ba0fb
Core: Fixed some level 4 warnings (msvc)
2012-12-31 20:43:14 +01:00