Commit Graph
1304 Commits
Author SHA1 Message Date
Bootz 96d7a1e970 REPO: code-style clean-up
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
stfx 9a7805fd88 Fix sending custom gameobject animation of gameobjects which have a time_to_restore = 0 2011-10-07 12:05:31 +03:00
Sebastián Orellana 2be0207c1d Core/GameObjects: DestructibleGameObjects only have display info in intact state 2011-10-04 20:14:30 -03:00
megamage 7f4be7e93a Fix a crash caused by items with 0 price. 2011-10-03 08:43:21 -04:00
Nay 8373e6c32e Core/Creature: Do not attack non-combat pets.
Fixes an issue where non-combat pets were aggroing other creatures
2011-10-01 16:57:10 +01:00
Shauren 2a34c5e4c8 Core/Auras: Fixed crashes in Infusion of Light and Frozen Power proc handlers
Closes #3271 & #3272
2011-09-30 18:45:49 +02:00
Shauren da54fb92d5 Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back) 2011-09-30 18:24:12 +02:00
n4ndo d1370a5e0a Fix Crash in ProcessQueryCallbacks 2011-09-30 10:57:02 -05:00
unknown 8acf07dbab Random minor code cleanup 2011-09-29 22:35:00 +04: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 9e517c963b Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*" 2011-09-29 09:32:55 +02:00
megamage 2730d51266 Fix possible total price overflow when buying items. Fix #3137.
Thanks to BroodWyrm for finding out the problem.
2011-09-28 16:03:46 -04:00
Spp 71228f90bb Core/Weather: Move static function to WeatherMgr. 2011-09-28 11:55:25 +02:00
Spp b93067350c Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :) 2011-09-28 11:38:56 +02:00
Spp cc06c41887 Core: Move FormationMgr to namespace
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
QAston 5f043e6291 Core/Spells: Bring back workaround removed in cd7060c65a - it's needed for compatibility with some scripts. 2011-09-27 22:04:26 +02:00
QAston 7fa2a64290 Merge branch 'master' of https://github.com/Chaplain/TrinityCore 2011-09-27 19:19:25 +02:00
QAston 23ba776767 Core/Entities: use Unit::GetReactionTo in Unit::IsFriendlyTo and Unit::IsHostileTo 2011-09-27 01:29:20 +02:00
QAston 75aeb15e90 Core/Spells: Allow AOE spells to hit stealthed targets. 2011-09-27 01:13:32 +02:00
Machiavelli f4ec95c752 Fixed a typo in pull request. (Edit via Github) 2011-09-26 21:05:16 +03:00
Cron 8622bedeac Core/Spells: Fixed glyph of Fire Blast. 2011-09-25 15:53:31 -03:00
QAston 210a770958 Core/Spells: Fix totem passive area auras stacking bug. 2011-09-25 19:00:37 +03:00
Chaplain 224bb96deb Core/Spells: Fix talent Sword Specialization. 2011-09-25 16:42:12 +03:00
Chaplain 877579d386 Revert "Core/Spells: Fix talent Sword Specialization for melee abilities"
This reverts commit cdd4160157.
2011-09-25 14:20:41 +03:00
Shauren da0229da8f Core/Scripts: Implemented 2 new target selectors, one specialized for spells, checking auras, range and attributes; and the other is a very simple non-tank selection what is sufficient for most cases 2011-09-24 19:40:57 +02:00
QAston cd7060c65a Core/Spells: Add more generic overload for Unit::CastSpell function and make all cast functions use it as a base. 2011-09-24 16:41:50 +02:00
QAston 71bbbaa21b Merge pull request #3146 from Havenard/fix0001
Reimplement WorldObject::IsInBetween() to work as intented.
2011-09-23 06:04:17 -07:00
Machiavelli 9ea40a4746 Scripts/Ulduar/Kologarn:
- Fix arm respawn and reinstall events
- Fix possible erratic event timers
- Fix Focused Eyebeams after recent spell system changes
- Fix looting the chest after the encounter
2011-09-22 21:19:26 +02:00
QAston 29fef71137 Merge pull request #2915 from idostyle/armorPen
Core/Mechanics: Cap armorPen to maxArmorPen - prevents having armor penetration rating greater than 100%.
2011-09-22 02:03:14 -07:00
QAston e2e784e7ea Merge pull request #3086 from LihO/master
Core/Groups: Refactored sending of update packets.
Closes #1042.
2011-09-21 01:05:53 -07:00
Havenard c298d09417 Reimplement WorldObject::IsInBetween() to work as intented.
Closes #2163 and #1329
2011-09-20 17:48:13 -03:00
click 872c2d4d63 Core/Build: Fix non-PCH builds 2011-09-18 16:30:18 +02:00
LihO 069162b9d4 Core/Entities: Restore group of player after teleport from BG. 2011-09-17 20:20:10 +02:00
QAston 8c2e58d036 Core/Entities: Allow 2 side parties to work. 2011-09-17 13:45:07 +02:00
Shauren a644e0d951 Core/Entities: GameObject's m_unique_users will now store full guids to get rid of silly casts 2011-09-17 13:20:21 +02:00
QAston a2d9aabbb3 Core/Entities: Allow creatures to attack players while in sanctuary. 2011-09-17 01:50:53 +02:00
QAston 580264b5a5 Core/Entities: Remove obsolete function Unit::canAttack. 2011-09-16 23:51:01 +02:00
QAston c0b1823524 Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget 2011-09-16 23:49:31 +02:00
QAston 3a3f2d927f Core/Misc: Whitespace and a minor typo fix (thanks Kapoeira) 2011-09-16 22:37:49 +02:00
QAston 31e755c291 Core/Entities: Add Unit::IsValidAssistTarget and Unit::IsValidAttackTarget functions for proper serverside checks of related entity flags. 2011-09-16 22:17:48 +02:00
Spp 2f83db28f2 Core/Instances: Fix client freeze when trying to enter an instance which have players inside and you have save but not in same group that people inside and your homebind is in the same continent that the instance 2011-09-16 21:52:49 +02:00
Spp 6c943bfb08 Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes 2011-09-16 10:53:24 +02:00
megamage bd4cf4b78b Store pendingInstanceId instead of pointer of instance save, because pointer may become invalid. Fix #2987. 2011-09-15 22:04:51 +02:00
Shocker 7afb179185 Misc/Util: Add a template function for returning a random element from any container 2011-09-15 21:28:40 +03:00
Nay 791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01: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
Nay 8af86aced7 Core/Loot: Do not allow a player that has instance bind pending to loot. By Moriquendu.
Closes #2415

Regarding this issue, binding everyone on the raid/party on boss kill regardless of being inside or outside the instance needs to be implemented.
2011-09-15 01:53:59 +01:00
Spp 8aadf83e93 Core/Dungeon Finder: Fix entry point not being saved to db. 2011-09-14 11:21:02 +02:00
Spp- 49686075c3 Core/Dungeon Finder: Use areatrigger coords when trying to get out from a lfg dungeon using the portal after player have been disconnected and original coords have not been saved 2011-09-14 10:16:14 +02:00