Commit Graph
100 Commits
Author SHA1 Message Date
QAston 1592fe9aa3 Backed out changeset 97d8a5f6449c
--HG--
branch : trunk
2009-06-27 17:59:57 +02:00
QAston ab7e83a72c *Merge 1600 from tc1.
--HG--
branch : trunk
2009-06-27 17:15:38 +02:00
QAston e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
QAston 81042a1f4f *Allow aura type SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT to mod weapon damage effects.
--HG--
branch : trunk
2009-06-26 22:45:06 +02:00
krz 10ac2b73b8 Better check to prevent exploiting in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 20:58:39 +02:00
BroodWyrm 23a47bee35 * Use int32 not int (i think it makes no different)
--HG--
branch : trunk
2009-06-26 20:39:05 +02:00
BroodWyrm 62dc6eb7bb * Add textids to unworthy_initiate script - thx to crackm of SD2
* Fix a bug that unworthy_initiate is attackable after reset - thx to seirge

--HG--
branch : trunk
2009-06-26 20:35:15 +02:00
QAston 80fc3b5c95 *Fix build on *nix.
--HG--
branch : trunk
2009-06-26 20:25:05 +02:00
QAston ad182a6b2c *Add debug log for asserts in BattleGroundAV::AssaultNode
--HG--
branch : trunk
2009-06-26 19:35:17 +02:00
QAston 09717d7d81 *Fix Survival of the Fittest.
--HG--
branch : trunk
2009-06-26 19:17:57 +02:00
krz a494b0436c Fix exploit in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 18:20:42 +02:00
QAston 63a936b0b7 *Fix exorcism target check and crit chance calculation
*Do not apply spelldmg bonuses to conflagrate multiple times.

--HG--
branch : trunk
2009-06-26 17:16:32 +02:00
QAston c3516ad8f3 *Fix sweeping strikes.
--HG--
branch : trunk
2009-06-26 14:25:48 +02:00
Muhaha f5cbcb40cf Fix - Death Grip Spell [Have to Grip the Vehicle instead Passenger]
--HG--
branch : trunk
2009-06-25 23:55:43 +02:00
QAston 1b12e2def7 *Fix beacon of light.
*Fix energize spells which are not self target.

--HG--
branch : trunk
2009-06-25 20:03:20 +02:00
QAston 70379983c3 *Implement aura type SPELL_AURA_ABILITY_PERIODIC_CRIT (286).
--HG--
branch : trunk
2009-06-25 17:55:19 +02:00
krz 8334693fe7 Backported from TC2: *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 17:14:56 +02:00
QAston 642a343d98 *Fix Nurturing Instinct.
--HG--
branch : trunk
2009-06-25 16:34:49 +02:00
raczman b8a1ffcf50 Implemented separate connection for SqlDelayThread
This should result in less locking when accessing database,
  and improved performance.
* Changed SqlDelay queue type to monitored queue,
  and removed 10ms check period.
thanks to Derex, mknjc, Jeniczek and Christyan for ideas and tests.

--HG--
branch : trunk
2009-06-25 15:56:45 +02:00
QAston 4ca17d4137 *Fix Recently bandagd debuf - by Maxxie
*Prevent possible crash in Chimera Shot handler.

--HG--
branch : trunk
2009-06-25 15:34:08 +02:00
tlexii bbc1578ab5 *Fix Conflagrate damage calculation formula
--HG--
branch : trunk
2009-06-25 14:09:16 +02:00
QAston d234b35a0c *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 13:50:11 +02:00
QAston 5ae6467fc7 *Fix the bug that DKs Death Coil is not learnable
*Remove some obsolete entries from spell_proc_event table.

--HG--
branch : trunk
2009-06-25 13:06:50 +02:00
QAston d719f75842 *Merge.
--HG--
branch : trunk
2009-06-25 12:10:45 +02:00
QAston db0a78e658 Backed out changeset c101c0a0a589 - that shouldn't go to repo:)
--HG--
branch : trunk
2009-06-25 12:10:03 +02:00
Machiavelli 6bc7a8b2c5 * Fix windfury proccing from a two handed weapon
--HG--
branch : trunk
2009-06-25 09:48:37 +02:00
krz e92f3cf01f Fix damage backlash from Shadow Word: Death and ranks
--HG--
branch : trunk
2009-06-25 03:11:10 +02:00
Machiavelli b0e42c0256 * Fix .ticket delete and .ticket viewid
--HG--
branch : trunk
2009-06-24 21:47:41 +02:00
Machiavelli c3c0ff3f3f * Update log message, fix build
--HG--
branch : trunk
2009-06-24 21:30:34 +02:00
Machiavelli 3c40065564 * Crash safety check in Bag::StoreItem by Visagalis/QAston
--HG--
branch : trunk
2009-06-24 20:09:19 +02:00
Machiavelli 7fd26a5fee * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets (Backported from TC2)
* Another crash exploit prevention using the same method in Bag::StoreItem, by Visagalis

--HG--
branch : trunk
2009-06-24 19:58:01 +02:00
QAston 3fcfbffde7 *Do not apply healing bonus for spells with SPELL_DAMAGE_CLASS_NONE
*Fix Heart of the Crusader.

--HG--
branch : trunk
2009-06-24 19:56:13 +02:00
Machiavelli 3c568253dc * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets
--HG--
branch : trunk
2009-06-24 19:46:54 +02:00
QAston 5090a5967a *Fix king of the Jungle.
--HG--
branch : trunk
2009-06-24 17:45:15 +02:00
QAston d5c0337a5e *Apply 4x damage mod for Drain Soul at targets with low health.
--HG--
branch : trunk
2009-06-24 16:20:40 +02:00
QAston 33b2917bb7 *Fix Ferocious Bite energy to dmg conversion
*Remove duplicated AP coefficients for Hammer of Wrath and Avengers Shield
*Correctly do effectaddcombopoints for spells which take them.
*Do not proc spelleffects on player login.

--HG--
branch : trunk
2009-06-24 15:58:44 +02:00
krz 13110a35c4 Do not check cooldown for triggered spells (triggered spells shouldn't trigger if they have cooldown)
--HG--
branch : trunk
2009-06-24 12:53:22 +02:00
Rat 0319f6a269 - properly reset Shada of Akama after wipe
- despawn summons if Shade is killed, so Akama can complete the event

--HG--
branch : trunk
2009-06-24 09:33:20 +02:00
QAston 329b020af4 *Add delete query for data in 4212_world.sql.(if you had problems with 4212 use 4222).
--HG--
branch : trunk
2009-06-24 02:03:06 +02:00
QAston e58230d506 *Add security check to Vehicle::InstallAccessory.
--HG--
branch : trunk
2009-06-24 01:50:59 +02:00
QAston 0a7691083d *Fix the bug that player gets dismounted during taxi flights with many flymasters.
*Mana feed now gives pet mana during Drain Mana spell.

--HG--
branch : trunk
2009-06-24 00:12:09 +02:00
BroodWyrm d6a3770597 *Fix Item 30639
--HG--
branch : trunk
2009-06-23 20:32:33 +02:00
BroodWyrm 51de1cd636 *Fix Item 30639
--HG--
branch : trunk
2009-06-23 20:12:30 +02:00
Machiavelli 6a6add72f5 * Fix some typo's in LoadPetFromDB SQL, spotted by Drahy
--HG--
branch : trunk
2009-06-23 18:50:33 +02:00
QAston 06cc101f4a *Fix Improved Aspect of the Hawk.
--HG--
branch : trunk
2009-06-23 16:13:51 +02:00
QAston 0c36f2ab24 [8071] Restore work .modify tp command. Allow apply it to selected
character's pet. Author: VladimirMangos.

--HG--
branch : trunk
2009-06-23 15:05:40 +02:00
QAston f558a785fc [8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes.

* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without
template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with
  itemtype==0

Note: required DB support in `spell_loot_termplate` Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 14:44:16 +02:00
QAston cc986dbdf3 [8068] Fixed crash from 33201 and ranks, remove outdated rank case. Author: SeT.
--HG--
branch : trunk
2009-06-23 14:25:08 +02:00
QAston 09a4fdc1c7 [8066] Fixed typo in Teleport call. Author: Ambal
--HG--
branch : trunk
2009-06-23 14:21:14 +02:00
QAston c5413dc462 [8061] Fixed 12834 and ranks stacking behaviour. Author: hunuza
--HG--
branch : trunk
2009-06-23 14:18:20 +02:00
QAston f2ec641e42 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza.

--HG--
branch : trunk
2009-06-23 14:05:37 +02:00
QAston 64786941dd [8055] Now spell 20911 and variations provided only mana percent back. Author: Den
--HG--
branch : trunk
2009-06-23 13:06:42 +02:00
QAston ad91c6b1e2 [8052] Fixed typo in error log output. Author: The_Game_Master
[8049] Added energize effect after last heal tick for 33763 and ranks. Author: bobaz
[8053] At character talents reset using chat command also reset talents
for all character pets. Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 13:05:15 +02:00
krz 97e4a59a75 * Author of CastItemCombatSpell part was freeganja. Sorry for typo.
* Some cleanup

--HG--
branch : trunk
2009-06-23 04:59:28 +02:00
krz 738f3567ca * Missing part from previous commit.
* First DealDamage then call ProcDamageAndspell.
* Correctly trigger SPELL_EFFECT_ADD_EXTRA_ATTACKS from spells.
* Some changes for SPELL_EFFECT_ADD_EXTRA_ATTACKS to allow proc self if there is no hidden cooldown (for example 12815)

--HG--
branch : trunk
2009-06-23 04:52:39 +02:00
krz dd52461d40 * Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja
* Tabs to spaces.

--HG--
branch : trunk
2009-06-23 04:47:46 +02:00
Machiavelli d1d26524d2 *merge
--HG--
branch : trunk
2009-06-22 23:55:00 +02:00
Machiavelli 2ce88f44aa * Update creature damage calculation by synchronising Creature::UpdateAttackPowerAndDamage and Creature::UpdateDamagePhysical with MaNGOS.
--HG--
branch : trunk
2009-06-22 23:53:37 +02:00
QAston e6d20d57de *Fix Death Pact and Corpse Explosion - original patch by Astellar, thanks for help in conversion for Azrael.
--HG--
branch : trunk
2009-06-22 23:30:17 +02:00
Machiavelli 8533946ac1 *Merge
--HG--
branch : trunk
2009-06-22 23:14:18 +02:00
Machiavelli 605b5670e3 * Update creature damage calculation.
--HG--
branch : trunk
2009-06-22 23:12:53 +02:00
Anubisss 7d8570f591 *Fix a typo in spell Rip. Thanks to Farah for found the incorrect SpellFamilyFlags value.
--HG--
branch : trunk
2009-06-22 23:00:47 +02:00
Machiavelli 2c7799bfef Backed out changeset 8569b2063da0
--HG--
branch : trunk
2009-06-22 22:44:07 +02:00
Machiavelli 9aa33f7a7b [7904] Change creature damage calculation formula. Author: Seizerkiller.
--HG--
branch : trunk
2009-06-22 22:04:24 +02:00
Machiavelli 662ef92caa *Clean up scripts, remove all per script declared functions to toggle gameobject state and use InstanceData::HandleGameObject instead.
--HG--
branch : trunk
2009-06-22 14:31:39 +02:00
Kudlaty e3d5e9af36 Remove option -DCENTOS, now should automaticaly check if its a CentOS system.
--HG--
branch : trunk
2009-06-22 03:45:47 +02:00
Kudlaty d05f86a182 Fix compile on CentOS(still need to use -DCENTOS=1)
--HG--
branch : trunk
2009-06-22 02:48:13 +02:00
Machiavelli 2660e0ff1c * Fix build, sorry
--HG--
branch : trunk
2009-06-22 02:23:12 +02:00
Anubisss 67e85144ef *Use macro GOLD in spell 46642.
--HG--
branch : trunk
2009-06-21 23:08:02 +02:00
Machiavelli 26b7e344db * Correctly update ticket status in database when closing via GM command.
--HG--
branch : trunk
2009-06-21 21:46:15 +02:00
Machiavelli 4a93373c06 * Use safer way to handle recently added mute reason command
--HG--
branch : trunk
2009-06-20 23:28:47 +02:00
Iskander a8d305c8c2 * fix of Spiritual Attunement
--HG--
branch : trunk
2009-06-20 21:53:59 +02:00
Machiavelli 1dd1f6db34 * Implement parameter 'reason' for mute command.
--HG--
branch : trunk
2009-06-20 14:16:42 +02:00
Muhaha b3711b9581 * Akama is summoned after the illidari council has been defeated. (remove your akama spawn from creature db)
--HG--
branch : trunk
2009-06-20 03:42:02 +02:00
Muhaha eab85d9d6e * Added LowerPlayerDamageReq function from TC2
* Akama is summoned after the illidari council has been deafeated. (remove your akama spawn from creature db)
* Dampen Magic timer
* Merging mother from TC2

--HG--
branch : trunk
2009-06-20 02:54:03 +02:00
megamage 06123fa3af *Add config option Arena.QueueAnnouncer.PlayerOnly
--HG--
branch : trunk
2009-06-19 19:30:32 -05:00
megamage 2940aeb681 [8048] Fixed typo in HandleBuyItemInSlotOpcode. Author: nos4r2zod
[8047] Little cleanup in C++ manner. Author: ApoC

--HG--
branch : trunk
2009-06-19 19:01:25 -05:00
megamage 8adfaceadf *Some cleanup of eventAI.
[8046] Use float for store AttackDistance as expected by using calls. Author: NoFantasy
[8045] Cleanup expression. Author: VladimirMangos

--HG--
branch : trunk
2009-06-19 17:34:24 -05:00
megamage 39d3b492fe *Update creature damage calculation.
--HG--
branch : trunk
2009-06-19 17:13:36 -05:00
megamage 8f0cb4a3a2 *Fix a crash caused by vehicles.
--HG--
branch : trunk
2009-06-19 17:04:45 -05:00
megamage 07c59aeff5 *Fix a crash caused by item
--HG--
branch : trunk
2009-06-19 17:01:45 -05:00
Machiavelli 3155500096 Merge
--HG--
branch : trunk
2009-06-19 20:08:09 +02:00
Machiavelli 5cc4b07a57 * Omit closed tickets when checking for an active GM ticket.
--HG--
branch : trunk
2009-06-19 20:07:29 +02:00
megamage 48ea016135 *Fix bg queue announce.
--HG--
branch : trunk
2009-06-19 12:41:16 -05:00
megamage 64bb4bce04 *Fix a crash in 4181. sorry
--HG--
branch : trunk
2009-06-19 12:11:16 -05:00
megamage c17e9d62ab *Fix incorrect level in the bg queue announce
--HG--
branch : trunk
2009-06-19 11:29:34 -05:00
megamage 15a753351c *Fix or add debug message for crash caused by controlled creatures
--HG--
branch : trunk
2009-06-19 11:19:23 -05:00
megamage b86ef4c3a8 *Lower creature damage.
--HG--
branch : trunk
2009-06-19 11:17:58 -05:00
megamage dbdc2db5f7 *Fix a crash caused by ~item.
--HG--
branch : trunk
2009-06-19 10:15:08 -05:00
Kudlaty 88137c07b9 Merge [SD2]
r1080 Update code with new and faster functions for distance checks.

--HG--
branch : trunk
2009-06-19 16:42:48 +02:00
Iskander 0bef9c2e59 * Correct group reward distance check
--HG--
branch : trunk
2009-06-19 13:14:33 +02:00
D_Skywalk 831320565e *The Author of r1583 is AlexDereka.
--HG--
branch : trunk
2009-06-19 13:03:22 +02:00
D_Skywalk d9c8770d45 *Avoid show quest sign for trainer under cursor if trianer have unavailable quest. Author: SeT
--HG--
branch : trunk
2009-06-19 12:56:27 +02:00
D_Skywalk abe4388eeb *Fixed gain reputation and xp reward between group mates in
--HG--
branch : trunk
2009-06-19 12:53:09 +02:00
Anubisss b28a7eb406 *Backport TrinityCore2 r4137.
--HG--
branch : trunk
2009-06-19 11:13:50 +02:00
Anubisss 9926aed1a6 *Move a SQL for the correct directory. Thanks Aokromes.
--HG--
branch : trunk
2009-06-19 11:06:30 +02:00
Anubisss 609986afed *Better reset time format in command .lookup map
--HG--
branch : trunk
2009-06-19 09:00:29 +02:00
Kudlaty 827d296372 Merge [SD2]
r1066 Added a few more encounters to SetData ZA instance - Skip
r1067 Added end boss' in ZA adds with random selection and their abilities. - Skip
r1068 Added support for quest 10994 (basic parts)
r1069 Added instance script for BFD
r1070 Remove enum type not related to boss/encounter.
r1071 Fix misunderstanding committed in 1067. Spawn 1 of 2 possible adds, each from 4 different groups instead of 4 random of 8 possible. - Skip
r1072 Save instance data for TYPE_EVENT_RUN in ZA when expected and not allow it to reset on Load(). Remove useless code for goFlags. - Skip
r1073 Added struct and enum for misc npc/go entries used in naxx instance - Skip
r1074 Restore Windows build after changes in Mangos rev 7810 - Skip
r1075 Added 6 new taxi paths (wyrmrest temple) - Skip, already implemented
r1076 Correcting berserk spell for najentus, also make sure spell are actually casted.
r1077 Update sources and use enum GossipOptionIcon instead of magic number.
r1078 Provide new .diff file to use with Mangos 7812+ - Skip
r1079 Update one old boss script, clean code.

--HG--
branch : trunk
2009-06-19 05:17:25 +02:00