Commit Graph
241 Commits
Author SHA1 Message Date
QAston 7e8c61c95a *Remove hack for Divine Storm from Unit::DealDamage
*"Zip" some data in SpellMgr::LoadSpellCustomAttr
*Add MaxAffectedTargets for Divine storm heal effect
*Move Divine Storm to correct spellfamily switch-case block in Spell::EffectDummy
*Some ordering fixes of case blocks in Spell::EffectDummy

--HG--
branch : trunk
2010-07-16 14:42:24 +02:00
QAston b406321c01 *Prevent possible problems with application of negative auras with 0 duration, now only spell hits which were diminished are immuned.
*Remove old code of SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE forgotten in c84e55b632.

--HG--
branch : trunk
2010-07-16 14:23:03 +02:00
QAston 719f13874e *Rename SPELL_AURA_RANGED_AP_ATTACKER_CREATURES_BONUS to SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE, and reimplement that aura type.
*Some more research about new aura types.

--HG--
branch : trunk
2010-07-16 13:20:50 +02:00
QAston 5ca1748326 *Implement aura type SPELL_AURA_SHARE_DAMAGE_PCT(300), somewhat based on patch by joshwhedon
*Add some guess comments about unknown aura types

--HG--
branch : trunk
2010-07-16 01:08:06 +02:00
_manuel_ 3c1887aab9 Fixed problems with Sacred Cleansing, by QAston.
Fixes issue 546.

--HG--
branch : trunk
2010-07-15 19:31:40 -03:00
QAston 0252202504 *Correctly set basepoints of Learn spells - patch by Toni.Shocker.
*Make sure that Spell::m_currentBasePoints are used correctly in any other place of the code.

--HG--
branch : trunk
2010-07-15 23:20:41 +02:00
Shauren 894a065203 Revert revisions 67325b1a0af0 and a0cba24b9060.
Made vendors ignore gold cost by default when extended cost is set, except when item has ITEM_FLAGS_EXTRA_EXT_COST_REQUIRES_GOLD flag

--HG--
branch : trunk
2010-07-15 10:12:51 +02:00
QAston d59cc55351 *Typofix
--HG--
branch : trunk
2010-07-14 17:09:30 +02:00
QAston a43ec3f158 *Add SpellMgr::CalculateSpellEffectAmount function for consistency of effect amount calculations in core
*Remove SpellEntry::CalculateSimpleValue function and use the new cuntion instead
*Remove some workarounds made because of incorrect effect amount calculations
*Since now aura effect amount problems should be gone.

--HG--
branch : trunk
2010-07-14 16:57:13 +02:00
Shauren 6aa9ee1a2f Fixed "At Gold Limit" popping every time you are gold capped and buy any item (with extended costs)
--HG--
branch : trunk
2010-07-14 12:02:27 +02:00
Shauren af8a2e754c Another basepoint fix, Thrill of the Hunt
--HG--
branch : trunk
2010-07-14 10:35:43 +02:00
Shauren 5ad02b578d Added support for all raid quest types
Added new config option to allow non-raid quest progression when in raid group

code by Vladimir

--HG--
branch : trunk
2010-07-12 14:38:24 +02:00
click 673c652ba6 change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
click 07c1d011d4 Reinstate ITEM_FLAGS_NO_EQUIP_COOLDOWN implementation and the serverside checks for ITEM_FLAGS_INDESTRUCTIBLE (with prototypes this time)
--HG--
branch : trunk
2010-07-11 23:53:48 +02:00
click 307bf7f73e Backed out changeset 6670e64b2d92
--HG--
branch : trunk
2010-07-11 22:33:18 +02:00
click 66547c5fbd Implement ITEM_FLAGS_NO_EQUIP_COOLDOWN support + add serverside checks for ITEM_FLAGS_INDESTRUCTIBLE (code by Vladimir)
--HG--
branch : trunk
2010-07-11 22:22:49 +02:00
Shauren aebbdcebc2 This should fix Savage Defense related crashes
--HG--
branch : trunk
2010-07-11 20:30:53 +02:00
Brian fe39f4f59a * Version update
--HG--
branch : trunk
2010-07-08 12:46:04 -06:00
Brian 5f119652ea * Proper quest reputation reward post 3.3.0
* Will require a DB update for all quest_templates that are pre 3.3.0

--HG--
branch : trunk
2010-07-08 12:43:13 -06:00
Brian f48b6d2f39 * Merge from private 335a repo
--HG--
branch : trunk
2010-07-08 09:56:40 -06:00
Shauren bf111e7d96 Fixed Savage Defense
Fixed Master Shapeshifter

Fixes issue #1299.

--HG--
branch : trunk
2010-07-08 20:35:01 +02:00
Brian 09c84f0a24 * Fix typo
--HG--
branch : trunk
2010-07-08 07:13:35 -06:00
Brian f182482c21 * Merge public repo
--HG--
branch : trunk
2010-07-07 15:00:20 -06:00
click 1416c83394 Fix: make sure healing potions doesn't benefit from spellhealing-power - patch by maxdestroyer
--HG--
branch : trunk
2010-07-04 20:17:22 +02:00
click 18dfd3a2aa Fix another uninitialized value in Player::m_AreaID
Thanks to ge0rg and his valgrinding (again)

--HG--
branch : trunk
2010-07-04 17:19:50 +02:00
click 962b48c6a3 Properly initialize CharmInfo states (fixes warning about noninitialized pointers) - Fix/patch by ge0rg
--HG--
branch : trunk
2010-07-04 16:27:33 +02:00
click cdf3514603 Use MAX_SPELL_CHARM as spellcount on GetPetAutoSpellSize(), fixes OOB array-access in Pet::UpdateAI()
Thanks to ge0rg for the heads up and patch

--HG--
branch : trunk
2010-07-04 16:15:29 +02:00
click 599d957a26 Fix SPELL_AURA_MOD_HEALING_DONE healing bonus with 0 misc value (patch by toni.shocker)
--HG--
branch : trunk
2010-07-04 15:43:20 +02:00
Shauren 255e7e8b83 Fixed Chain Lightning overproccing with Lightning Overload, patch by DrTenma
Closes issue #1198.

--HG--
branch : trunk
2010-07-02 14:24:05 +02:00
Brian a52233f40e * Merge public repo
--HG--
branch : trunk
2010-07-02 06:06:40 -06:00
Brian 4d00596e95 * Update for 3.3.5a
--HG--
branch : trunk
2010-06-30 13:11:44 -06:00
Brian 9b7da805f8 * Some update to chat enums
* Thanks TOM_RUS

--HG--
branch : trunk
2010-06-30 13:02:43 -06:00
Brian f1bcd2c5bc * Fix expected client build
--HG--
branch : trunk
2010-06-30 12:46:19 -06:00
Shauren 9a648e120d This should not be there
--HG--
branch : trunk
2010-06-29 14:33:07 +02:00
Shauren 4b19773df1 Added support for SPELL_AURA_SCHOOL_HEAL_ABSORB (301)
--HG--
branch : trunk
2010-06-29 14:20:49 +02:00
Tartalo 948f333dc3 Little fix for Vehicle inmunities hack.
Closes issue #2590
We must found a less hacky way to handle this

--HG--
branch : trunk
2010-06-28 22:23:57 +02:00
Tartalo de71d39abf Apply inmunities to vehicle's on its creation, by Josh
--HG--
branch : trunk
2010-06-28 20:56:29 +02:00
Brian d2f6ae6f77 * Fix creatures spawning with less than max health if curhealth field in
* creature is != maxhealth in creature_template and the creature is supposed
* to regenerate health.
* Patch courtesy of Visagalis
* Thanks for taking the time to fix this LONG outstanding bug

--HG--
branch : trunk
2010-06-28 06:42:01 -06:00
Supabad b9a2bd24f7 minor change to destructable buildings.
--HG--
branch : trunk
2010-06-28 18:45:54 +02:00
click 72de3dd6c4 Remove hardcoded stacking for ammunition-types (should now stack properly)
--HG--
branch : trunk
2010-06-28 17:12:36 +02:00
Xanadu 0485d99e5d Fixed periodic damage for stackable auras (Deadly Poison...). Patch by Lyall. Closes issue #1368.
--HG--
branch : trunk
2010-06-28 05:26:00 +02:00
Xanadu ba2e5ec2a2 Fixed Shiv.
* Now it does weapon dmg and adds a combo point even without poison (yes, that's blizzlike).
* Poisons from Shiv cannot crit.
* No more double poison procs.

--HG--
branch : trunk
2010-06-27 20:40:41 +02:00
Machiavelli 0b063e189b Better way to check for RandomProperty == -1, assign 0 to it for now.
--HG--
branch : trunk
2010-06-27 19:46:25 +02:00
Machiavelli 60349c5700 Remove some faulty code for picking a random item enchant if RandomProperty is -1. This will have to be implemented correctly later.
Also prevent the core throwing errors when loading items with RandomProperty -1

--HG--
branch : trunk
2010-06-27 11:48:33 +02:00
Machiavelli 26f4fae802 Fix bug that creatures which use FleeingMovementGenerator would not attack after respawning.
Bug was caused by improper react state

--HG--
branch : trunk
2010-06-27 03:47:18 +02:00
Tartalo 73a2a21ee4 Fix possible crash
--HG--
branch : trunk
2010-06-26 21:15:48 +02:00
Machiavelli d2553a138a Use valid coördinates for Unit::UpdateUnderWaterState instead of raw coördinates. Fixes another potential crash related to vmaps.
Updates issue #2748

--HG--
branch : trunk
2010-06-26 13:41:36 +02:00
Machiavelli 23ec7faf73 Typo
--HG--
branch : trunk
2010-06-26 13:06:36 +02:00
Machiavelli fac0ff3232 Also check for valid Y and O coordinates in Unit::SetPosition. Fixes another loophole related to vmaps.
--HG--
branch : trunk
2010-06-26 12:32:29 +02:00
Machiavelli 4357846c3c Remove a hack (added by someone that will NOt be NAMEd) that caused too high experience bonus for heirlooms. Heirloom experience bonus was already handled perfectly.
--HG--
branch : trunk
2010-06-26 02:02:59 +02:00