Commit Graph

751 Commits

Author SHA1 Message Date
XTZGZoReX
5a9ef604e2 * Fix CRLF.
--HG--
branch : trunk
2010-01-13 18:22:31 +01:00
thenecromancer
efbc71746f Fix pickpocket - reveal rogue only if spell is resisted
--HG--
branch : trunk
2010-01-13 11:47:50 +01:00
thenecromancer
531cd027aa Fix blink always teleporting to ground
--HG--
branch : trunk
2010-01-13 11:23:14 +01:00
thenecromancer
c36a8d2d5f Change SPELL_EFFECT_SUMMON_PHANTAS to SPELL_EFFECT_FORCE_DESELECT and allow it to be casted with active pet
This fixes Mirror Image not changing names when Water Elemental is active. (Note that deselect effect is done in linked spells for Killing Spree/Shadowmeld)

--HG--
branch : trunk
2010-01-13 10:27:44 +01:00
thenecromancer
a4cb03d9cd Remove unexpected arg, sorry for that
--HG--
branch : trunk
2010-01-13 10:20:28 +01:00
thenecromancer
ecd9470dc8 Fix Kill Shot damage (increase damage by attack power, not weapon damage ( that is already included in effects))
--HG--
branch : trunk
2010-01-13 09:54:03 +01:00
QAston
ef24d90472 * Make sure that aura is applied on unit before trying to remove it.
--HG--
branch : trunk
2010-01-10 20:09:44 +01:00
Rat
5b6079ea67 *cleaned up SharedDefines
--HG--
branch : trunk
2010-01-10 16:27:47 +01:00
QAston
f9c4030f59 *Implement attribute SPELL_ATTR_NEGATIVE_1
*Remove unneeded hacks from SpellMgr::_isPositiveSpell
*Missing ! in prev commit.

--HG--
branch : trunk
2010-01-10 13:48:57 +01:00
QAston
e3ff6145ee * Use pair<uint32, uint64> lists instead of <Aura*> lists in Dispel/SpellSteal effects handlers (prevent reference to aura removed from unit)
* Correctly fill EffectStealBeneficialBuff list with Stackable/Chargeable auras

--HG--
branch : trunk
2010-01-10 12:08:58 +01:00
QAston
8e9d2cdf01 Update aura system:
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras:
  * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type
  * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras
  * Aura data is shared for all units which have AuraApplication of the Aura
   * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now)
  * Remove spell source and AreaAuraEffect classes
  * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant)
  * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation
  * AreaAura updates are done in owner _UpdateSpells cycle
  * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list
  * And you can access area aura target list
  * Add basic support for aura amount recalculation
  * Save recalculation state and base amount of auras to db
  * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db
  * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets
  * Sort aura effect handlers in SpellAuras.cpp and .h by their use
  * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal
  * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly
  * Send aura application client update only once per unit update - prevent unnecesary packet spam
 * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet
 * Fix memory leak at player creation (not deleted auras)
 * Updated some naming conventions (too many to mention)
 * Added Unit::GetAuraOfRankedSpell() function
 * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead
 * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc)
 * Implement AURA_INTERRUPT_FLAG_LANDING
 * Implement EffectPlayerNotification (thanks to Spp)
 * Remove wrong aura 304 handler
 * Add better handler for death runes
 * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura
 * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script
 * Add many assert() procection from idiots using some functions in wrong way
 * I am to lazy to write here anything more
Thanks to Visagalis for testing this patch
PS: Do not make patches like this, please

--HG--
branch : trunk
2010-01-10 01:23:15 +01:00
Astellar
c239c380df Some Fixes for Earth Shield.
Now Dispel and Spellsteal effects will correctly dispel and steal Earth Shield's charges instead of entire aura.

--HG--
branch : trunk
2010-01-07 23:31:46 +03:00
Astellar
a886552c85 Glyph of Blocking proc moved to DB.
--HG--
branch : trunk
2010-01-05 15:52:44 +03:00
Astellar
53a7a7bd48 Cleanups for Devastate and Glyph of Devastate.
--HG--
branch : trunk
2010-01-05 14:36:06 +03:00
Win32
c2791f7d0e fix Pain and Suffering (reduces the damage you take from your own Shadow Word: Death)
and remove double dmg Shadow Word: Death

--HG--
branch : trunk
2010-01-04 15:53:19 +02:00
Win32
e8ebeff6bf fix Restorative Totems
--HG--
branch : trunk
2010-01-04 11:05:19 +02:00
p0wer
0aef7ea793 Fix Mind Blast applying Mind Trauma. Will now proc. Thanks to Morpheux for
pointing out that it wasn't proccing.

--HG--
branch : trunk
2009-12-27 18:38:09 -06:00
p0wer
be6b12af36 Fix whitespace for Flask of the North. Cleanliness and organization = win. =D
--HG--
branch : trunk
2009-12-27 18:09:41 -06:00
p0wer
3cf90a73a5 merge
--HG--
branch : trunk
2009-12-27 17:50:40 -06:00
p0wer
23c3086eb2 Backed out changeset: bcf447b68a92
--HG--
branch : trunk
2009-12-27 17:49:52 -06:00
maanuel
e2a6e6dd24 Support for spell 67751 used by Argent Confessor Paletress. Thanks to QAston and Gyullo.
--HG--
branch : trunk
2009-12-27 18:01:34 -03:00
p0wer
2ba1a48dd4 Replace some more id's with new variable names. Fix some whitespace formating.
--HG--
branch : trunk
2009-12-27 12:28:46 -06:00
n0n4m3
874751cd7b Fixed spell Master's Call, autor ?, thx sundark
--HG--
branch : trunk
2009-12-26 18:52:31 +01:00
maanuel
6272e29d90 Support for spell 67729.
--HG--
branch : trunk
2009-12-26 14:46:19 -03:00
n0n4m3
947b258479 Fixed Mana Gems, implement SPELL_EFFECT_CREATE_MANA_GEM and revert prev. commit...
--HG--
branch : trunk
2009-12-26 18:25:49 +01:00
p0wer
ccdaadf580 * Fix compile.
--HG--
branch : trunk
2009-12-25 14:39:41 -06:00
p0wer
d998e60e68 * Begin replacing SpellId's with their new variable names.
--HG--
branch : trunk
2009-12-25 13:10:54 -06:00
n0n4m3
3fedfe296d Fixed some typos
--HG--
branch : trunk
2009-12-25 16:01:19 +01:00
n0n4m3
162558d506 Fixed double bonus for Hammer of Wrath, already in spell_bonus_data
--HG--
branch : trunk
2009-12-25 15:33:41 +01:00
n0n4m3
806a018ae3 Update jugement damage calculation for 3.2. by tali
--HG--
branch : trunk
2009-12-25 11:11:27 +01:00
p0wer
ec7cc6c3cc * Begin removing hardcoded SpellFamilyFlags from the core.
* Now being placed in an enum. Starting with EffectDummy.

--HG--
branch : trunk
2009-12-24 12:37:26 -06:00
n0n4m3
7b19bea10f Fixed spell Spirit Walk. by Ouden
--HG--
branch : trunk
2009-12-24 13:01:39 +01:00
n0n4m3
3ab368caa7 Fixed overkill proc after vanish. by bodompelle
--HG--
branch : trunk
2009-12-24 12:55:29 +01:00
n0n4m3
250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
3fe0bc5254 Replaced time(NULL) on sGameTime.GetGameTime() this is used for better performance.
Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton.
2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs.

--HG--
branch : trunk
2009-12-23 08:04:10 +01:00
p0wer
cad203e680 Fix Mana Burn to remove fear on target. Closes #629.
--HG--
branch : trunk
2009-12-21 20:43:39 -06:00
win32
c92fbc0dfb Cleanup in spell code
--HG--
branch : trunk
2009-12-21 15:45:28 +02:00
p0wer
dfb3ca2611 Add missed change from rev6672.
--HG--
branch : trunk
2009-12-20 18:18:20 -06:00
p0wer
dcbcf5e016 Fix warning that became present in rev6655.
--HG--
branch : trunk
2009-12-20 17:38:23 -06:00
p0wer
6c718a9ef7 Fix Kill Shot. Patch partially by bodompelle. Closes #357.
Adds a second copy of weapon damage to total damage.
(Same as multiplying damage by 200%)
Spell's aura type isn't currently implemented into core, so fix isn't permanent.

--HG--
branch : trunk
2009-12-20 17:25:10 -06:00
n0n4m3
cc19e73174 Merge
--HG--
branch : trunk
2009-12-20 17:39:36 +01:00
n0n4m3
b5202f91b2 Fixed Improved Mind Blast heal reduction
--HG--
branch : trunk
2009-12-20 17:07:20 +01:00
n0n4m3
d0a68e16bb Fixed Hammer of Wrath
--HG--
branch : trunk
2009-12-20 15:28:24 +01:00
Rat
6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
n0n4m3
c412c437a3 Fixed spell Righteous Defense
--HG--
branch : trunk
2009-12-20 15:11:57 +01:00
n0n4m3
18d5940f5c merge
--HG--
branch : trunk
2009-12-20 06:00:39 +01:00
Paradox
a21f0da24f fix CRLF in last 3-4 commits, take note, new devs using windows need to configure the win32text extension properly before pushing anything else.
--HG--
branch : trunk
2009-12-19 23:42:19 -05:00
bkhorizon
fc2033176b Fix Glyph of Blocking (43425). Patch by chops. Closes #195.
--HG--
branch : trunk
2009-12-19 20:07:03 -06:00
bkhorizon
722abf4a81 Fix Envenom Damage Formula. Closes #655.
--HG--
branch : trunk
2009-12-19 20:00:01 -06:00
n0n4m3
1d79bc51ea Implement player's pet resilience, also fix DoT case. by VladimirMangos and thx tali
--HG--
branch : trunk
2009-12-19 18:46:51 +01:00