25 Commits
Author SHA1 Message Date
Elron103 88ecc9533a Core/Entities: Fix combat state setting when FFA PvP flag is set
Description:
Currently there is an issue, when you are in FFA areas, but you dont have PvP flag activated.

You should get the PvP-In-Combat delay timer, but instead you just get the usual timer as if you would not fight in PvP.

Reproduction:
1) Get two players in FFA area Gurubashi arena down in the battle area (.tele Gurubashi)

2) Fight each other

3) When stopping combat, the combat state will switch off immediately. But it is supposed to switch off after some delay, because it was a PvP fight.

Closes #11103

Signed-off-by: Duarte Duarte <[email protected]>
2014-01-13 17:03:43 +00:00
Elron103 468425608a DB/Gossip: Update some data for trainer NPCs from sniffs 2013-10-20 16:40:39 +02:00
Elron103 23fa9ec018 DB/Conditions: Fix conditions for class trainer npcs, so gossip menus will show up correctly for every class 2013-10-20 04:08:11 +02:00
Elron103 2b7f29fef2 Core/Tickets: Fix crash in TicketMgr::ResetTickets() 2013-10-03 16:57:25 +02:00
Elron103 ae4f5f3dee Core/Spells: Fix power drain effect for heroic versions of spell 70759 (72015, 72016) - thanks to Shauren 2012-10-13 00:43:20 +02:00
Elron103 d45a768810 Core/GameObject: Implement method GetDisplayId, use it for GameObjectModels 2012-09-22 18:01:51 +02:00
Elron103 5b14848a10 Core/Mail: Fix merging of items taken from mail leading to invalid entries in item_instance 2012-09-13 03:15:22 +02:00
Elron103 6a701af13d Scripts/PitOfSaron: Fix Krick not casting Toxic Waste and Shadow Bolt 2012-09-05 15:34:07 +02:00
Elron103 1e361bc43a Scripts/MoltenCore: Fix boss Golemagg enrage behaviour 2012-09-03 01:57:01 +02:00
Elron103 24d1a5a98e Core/Scripting: Add missing entry in ScriptLoader for boss Ouro 2012-09-02 00:48:23 +02:00
Elron103 46852a3808 Core/Scripting: Fix DoAction function of SummonList incorrectly removing entries in SummonList 2012-09-02 00:19:13 +02:00
Elron103 8ba234e245 Scripts/Spells: Fix Deathknight ability Death Pact 48743 2012-06-29 18:45:18 +02:00
Elron103 dfdbc91e90 Core/Spells: Fix spell casting time reduce / increase effects for players and creatures 2012-06-29 00:11:05 +02:00
Elron103 f3aacb669c Scripts/Miscellaneous: Enable const-ness for various functions in ScriptedAI (Author: DorianGrey)
- Improve codestyle, since objects internal state is not changed here
- Make these functions available for inherited CanAIAttack() function
2012-06-20 21:29:41 +02:00
Elron103 35b444fdb8 Core/Movement: Implement speed changes for PointMovementGenerator 2012-06-20 01:52:31 +02:00
Elron103 f0d14c372c Core/Entities: Fix possible variable overflows in health calculation functions 2012-06-17 00:50:21 +02:00
Elron103 3164ba627b Core/Combat: Fix CanAIAttack implementation 2012-06-16 20:55:07 +02:00
Elron103 881138553b Core/Spells: Fix immunity checking for creatures (i.e. Mind Control) 2012-05-18 22:15:21 +02:00
Elron103 7daf69f20c Core: Fix warnings 2012-03-24 18:25:24 +01:00
Elron103 7eb473d0b8 Core/Spells: Fix loading order and apply custom spell flags correctly 2012-03-24 13:34:19 +01:00
Elron103 6d9dbefe94 Core/Units: Fix issues with threat management on phase changes 2012-03-20 22:15:11 +01:00
Elron103 51e3a687d5 Core/Movement: Fix random position finding near edges, avoid big z-coordinate differences 2012-03-11 15:50:41 +01:00
Elron103 e36027e90b Core/Misc: Add a validity check for coordinates, prevents crashes 2012-03-11 15:45:21 +01:00
Elron103 c044eb5711 Core/Auction House: Delete item_instance entries correctly, prevent invalid entries 2012-02-27 23:41:19 +01:00
Elron103 28310f0938 Core: Fix the SFMT randgen-initbug
Signed-off-by: click <[email protected]>
2012-02-25 02:16:08 +01:00