Commit Graph
6485 Commits
Author SHA1 Message Date
Trisjdc 124398feef Core/Spells: Improve charge path logic, get a point to the target and then reduce it by the necessary distance 2014-07-04 22:22:28 +01:00
jackpoz 4302226a85 Core/Spells: Fix Charge pathing
Fallback to "straight path" pathing when raycast doesn't find a valid path.
Fixes #7931
2014-07-04 22:00:46 +02:00
Shauren d28b66bca8 Core/Skills: Fixed players getting all ranged skills when learning one of bows/crossbows/guns 2014-07-04 17:27:22 +02:00
joschiwald 7b74a725c8 Core/Spells: fixed Deep Freeze after 2a3546ca36
Closes #12424
2014-07-03 22:32:41 +02:00
Trisjdc 531de49fe7 Core/Spells: Spells which do not apply auras should not apply DR
- Solves issue where Intimidating Shout applied DR twice on the main target
2014-07-03 00:42:55 +01:00
joschiwald 22113d1626 Core/Spells: restore some special aura proc handling
Note: can cause some unexpected behavior

Closes: #12413
2014-07-02 03:11:47 +02:00
Shauren 2a3546ca36 Core/Skills: Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table playercreateinfo_skills
* Removed DK start skill hacks
* Resolved missing skills in character skill tab

Closes #12311
2014-07-01 17:20:48 +02:00
Shauren fd910567ec Core/Loot: Fixed looting creatures that have only quest items in their loot
Closes #12400
2014-06-30 00:24:40 +02:00
joschiwald 876e9dde01 Core/Battleground: addition to c28345e279 2014-06-29 16:53:28 +02:00
jackpoz c674f229cb Core/Mail: Fix exploit that didn't allow recipient to delete the email 2014-06-29 15:51:34 +02:00
jackpoz ee4602db3d Core/Battleground: Fix crash added in c28345e279
Fix a double-delete crash added in c28345e279 caused by copy-constructor copying pointers across different Battleground instances.

Valgrind log:
 Invalid read of size 8
  at : Battleground::~Battleground() (Battleground.cpp:231)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103)
  by : World::Update(unsigned int) (World.cpp:2067)
 Address 0x5675d140 is 0 bytes inside a block of size 24 free'd
  at : operator delete(void*) (vg_replace_malloc.c:509)
  by : ArenaTeamScore::~ArenaTeamScore() (ArenaScore.h:64)
  by : Battleground::~Battleground() (Battleground.cpp:231)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74)
  by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103)
2014-06-29 14:03:29 +02:00
Sebastian Valle Herrera 95f864f4ad Core/Creatures: Fixed a typo in respawn code
Creatures should now respawn correctly in their correct time.
Closes #12378
2014-06-28 13:19:00 -05:00
jackpoz b9ec488fd1 Core/Mail: Do not allow to create multiple copies of mail 2014-06-28 19:15:20 +02:00
jackpoz e77c6fc98b Core/Mails: Fix exploit that allowed to take COD items without paying 2014-06-28 18:23:10 +02:00
jackpoz f3852d19e7 COre/Mail: Don't allow to mark delete mails as read. 2014-06-28 17:53:17 +02:00
jackpoz 1bd4ff6cb9 Revert "Scripts/Ulduar: Implement Mimiron" 2014-06-28 13:49:34 +02:00
Trisjdc 0ac6f16896 Merge pull request #12268 from Unholychick/patch_mimironnew
Scripts/Ulduar: Implement Mimiron
2014-06-28 12:17:32 +01:00
joschiwald 745833ccbc Core/Battleground: removed hardcoded levels of alterac valley npcs 2014-06-28 02:30:02 +02:00
joschiwald d20a5f3df0 Scripts/Commands: fixed possible client crash with .go command 2014-06-28 00:57:44 +02:00
joschiwald c28345e279 Core/Battleground: refactored BattlegroundScore
(original code by Machiavelli)
2014-06-27 23:14:15 +02:00
jackpoz df164bf2d7 Core/Misc: Fix gcc warnings 2014-06-27 20:55:37 +02:00
Trisjdc 78ffaf6ca6 Core/Spells: Implement CREATURE_TYPEFLAGS_PROJECTILE_COLLISION, and solve some targeting problems with TARGET_DEST_TRAJ 2014-06-27 16:58:46 +01:00
Trisjdc 4ed4b165f1 Core/Misc: Define CREATURE_TYPEFLAGS_PROJECTILE_COLLISION 2014-06-27 00:39:24 +01:00
jackpoz c9a129708f Core/Mail: Fix exploit that allowed to send free emails 2014-06-26 23:11:12 +02:00
Vincent-Michael 27f2855248 Core: Fix warnings and kill again whitespace ... 2014-06-26 22:50:06 +02:00
Shauren 74850abcfc Core/Loot: Skinning improvements
* Set skinnable flag only after all loot was taken
* Creatures are skinnable only once - after skinning, the player only has to loot the creature again if he did not take all skinning loot
2014-06-26 22:01:55 +02:00
Shauren 224b5c08df Core/Spells: Fixed professions resetting back to 1 when learning new level (expert/artisan) 2014-06-26 17:39:09 +02:00
Subv ec4b8da3b5 Core/Items: Items shouldn't have a negative item level
Closes #11631
2014-06-25 18:40:20 -05:00
Shauren afd931550b Core/Skills: Check if a skill can be unlearned with SkillRaceClassInfo.dbc data and use max skill level from SkillTiers.dbc 2014-06-25 20:34:10 +02:00
Subv 1320c9f8d6 Core/SmartAI: Allow the use of SMART_ACTION_SET_EVENT_PHASE with SMART_EVENT_RESPAWN.
Closes #9289
2014-06-24 23:01:12 -05:00
Subv 8c944f1456 Core/Loot: Make the pickpocket loot refill every 10 minutes by default on the NPCs after they have been pickpocketed.
Configurable by Creature.PickPocketRefillDelay
Closes #935
2014-06-24 22:13:59 -05:00
Subv a0fedd1d78 Core/Skinning: Fixed the creatures becoming non-skinnable even before looting them completely.
Closes #5318
2014-06-24 20:04:26 -05:00
Trisjdc cac491bef8 Fix a warning picked by static code analysis (assignment of a temporary variable before destruction) 2014-06-25 01:03:24 +01:00
Sebastian Valle Herrera 3f21b14bc0 Core/Config: Fixed Rate.Corpse.Decay.Looted
Looted creatures should now correctly obey the Rate.Corpse.Decay.Looted value.
Closes #5358
2014-06-24 15:21:34 -05:00
Sebastian Valle Herrera 7f0d283599 Merge pull request #12332 from Rochet2/unitphase
Core/Phasing: Fix pet dismiss on phase with update
2014-06-24 08:13:16 -05:00
Shauren 05ea2f76b8 Core/Misc: Fixed warnings 2014-06-24 02:01:40 +02:00
Aokromes 84e6af26e6 Merge pull request #11976 from Ascathor/master
Core/Misc: New ability to log account IP access history
2014-06-23 22:48:35 +02:00
jackpoz 7b83213521 Core/Items: Fix disenchant/refund exploit
Fix exploit that allowed to refund an item after disenchanting it.
Closes #11227
2014-06-23 22:40:26 +02:00
Trisjdc 85176f1488 Typo fix 2014-06-23 19:23:46 +01:00
Sebastian Valle Herrera 5922c19249 Merge pull request #12342 from Rochet2/patch-1
Update WaypointMovementGenerator.cpp
2014-06-23 13:21:32 -05:00
Trisjdc 7a78d60d34 Core/Spells: Cloak of Shadows should not remove physical debuffs
Closes htps://github.com/TrinityCore/TrinityCore/issues/7581, probably others
2014-06-23 19:18:20 +01:00
Rochet2 b9b693e605 Update WaypointMovementGenerator.cpp
https://github.com/TrinityCore/TrinityCore/commit/e319472e718c5c7e5b7638ff81bf7b6629e5f0d2#commitcomment-6767582
2014-06-23 20:55:38 +03:00
Aokromes e319472e71 Merge pull request #11609 from zengwf/master
Core/Movement:Fix waypointed creature aggro
2014-06-23 15:10:20 +02:00
Unholychick 61f59acf81 Scripts/Ulduar: Implement Mimiron
TODO:
Make ACU hover properly (not fly, but hover).
Fix laser barrage visual not always being infront of VX-001. Problem is
caused by bad orientation update on spellcast.
2014-06-23 02:10:29 +02:00
jackpoz ae80fdcb51 Core/Loot: Fix disenchant exploit
Fix exploit that allowed to disenchant the same item multiple times.
Fixes #12116
2014-06-22 21:47:30 +02:00
jackpoz 4fb56fbfe0 Core/Calendar: Fix memory leak in CMSG_CALENDAR_ADD_EVENT handler.
Fix memory leak when malformed CMSG_CALENDAR_ADD_EVENT is received.
This properly fixes the memory leak that 51e38872c7 tried to fix, reverted in 927f16de49.
2014-06-22 19:25:17 +02:00
jackpoz ec8cccffe9 Core/Groups: Fix UpdatePlayerOutOfRange() not updating some out of range group members
Fix UpdatePlayerOutOfRange() not updating some out of range group members on different maps by also checking if both player and member are on same map.
2014-06-22 14:24:51 +02:00
Shauren 5e80f86514 Core/Spells: Defined unknown attribute 2014-06-22 12:40:34 +02:00
Trisjdc ddc8c35d1b Merge pull request #11750 from gecko32/upstream_master
core/spells: Cyclone & Farie Fire Piercing Cyclone
2014-06-22 09:07:11 +01:00
Rochet2 c22d51f468 Core: Fix pet dismiss on phase with update 2014-06-21 23:57:23 +03:00