Commit Graph

476 Commits

Author SHA1 Message Date
Machiavelli
ff3c988ee7 Core/Entities: Allow Shaman totems to crit with spells, and add a temp workaround to make Fire Elemental Totem spawn crit with spells also.
Closes #252
Closes #1846
2011-08-01 18:30:00 +02:00
Machiavelli
f26edf09d3 Fix gcc build and remove redundant check from 0afc3c 2011-07-31 22:27:57 +02:00
Machiavelli
58f10c74f7 Core/Spells: Change low level bool triggered with bitmask TriggerCastFlags to better manipulate the behaviour of certain triggered spells. 2011-07-31 21:58:25 +02:00
QAston
db28ae55c9 Core/Spells: Add missing braces to possession spell check - fixes problems with being unable to cast target's spells while possesing. 2011-07-31 11:13:41 +02:00
Machiavelli
b2d37062a0 Core/Vehicles: Allow damaging NPC passengers.
+ Forgotten change from 2effb7
2011-07-30 21:55:06 +02:00
QAston
fe913bf66c Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura) - this time without additional changes (argh!) 2011-07-28 23:45:57 +02:00
QAston
495ead5f7f Revert "Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura)"
This reverts commit 07badd7385.
2011-07-28 23:44:39 +02:00
QAston
07badd7385 Core/Spells: Fix a crash on checking school immunity added to unit manually (not by aura) 2011-07-28 23:41:29 +02:00
QAston
045dec19fa CoreSpells: Typofixes: fix area auras autocast and usage of items in combat. 2011-07-28 13:21:31 +02:00
Shauren
3e5aa2d1ff Core/Movement: Implemented methods to animate creatures landing and takeoff and use them in Sindragosa script 2011-07-27 12:40:14 +02:00
Spp-
b2a84d9f1e Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons) 2011-07-27 12:14:27 +02:00
Spp-
fa50c0a464 Fix some warnings here and there 2011-07-27 11:00:39 +02:00
QAston
b0fe236265 Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
insider42
17c2c122da Core/Spells: Fix Glyph of Shadow Word: Death 2011-07-25 01:50:46 +07:00
tobmaps
55b0e550b9 Core/Spells: Properly fix Ignite 2011-07-24 19:37:57 +07:00
Sarjuuk
3e70742e81 Core/Units: Prevent dodge/parry/block while under the effects of fear or desorientation 2011-07-24 06:22:53 +07:00
Sarjuuk
f526b61e1a Core/Spells: Grounding Totem should respect line of sight 2011-07-24 00:44:29 +07:00
Sarjuuk
bfb5032937 Core/Spells: Bonuses from SPELL_AURA_MOD_CRIT_DAMAGE_BONUS should be multiplicative 2011-07-23 23:19:16 +07:00
tobmaps
bb0634c7c2 Core/Spells: Bonuses from SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN should be multiplicative 2011-07-23 22:17:16 +07:00
Sarjuuk
57c042e280 Core/Spells
* refactored the calculations of critical strike amount for damaging spells
* renamed and reimplemented SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE

Closes #2354
2011-07-23 06:11:26 +07:00
tobmaps
4c9269cd54 Core/Spells: Fix talent Deep Wounds. Original idea by DrTenma
Closes #395
Closes #954
Closes #1188
2011-07-23 00:10:44 +07:00
tobmaps
a3feb40eb6 Core/Spells: Define and implement SPELL_ATTR6_NO_DONE_PCT_DAMAGE_MODS; revert SPELL_ATTR4_FIXED_DAMAGE
Closes #1307
Closes #2270
2011-07-22 23:30:23 +07:00
tobmaps
ecc76277f1 Core/Spells: Update damage formulas for talent Ignite 2011-07-22 20:16:31 +07:00
tobmaps
dd2990e2a7 Core/Spells: Fix Glyph of Scourge Strike
Closes #391
2011-07-21 20:38:13 +07:00
Machiavelli
dae2a088fd Core/Entities: After some research redefine MOVEMENTFLAG_MASK_MOVING and make it entirely mutually exclusive with MOVEMENTFLAG_ROOT - fixes the last of the related client freezes. 2011-07-19 20:37:17 +02:00
DrTenma
cf9ce100ed Core/Spells: Fix talent Dirty Deeds
Closes #542
2011-07-16 22:21:15 +07:00
tobmaps
3c780bb0b4 Core/Spells: Fix exploit with Fiery Payback talent
Closes #182
2011-07-16 05:56:57 +07:00
tobmaps
66b217991c Core/Spells: Fix Unstable Affliction
Closes #94
Closes #1244
Closes #1528
2011-07-16 01:24:15 +07:00
tobmaps
e1c7d95699 Core/Spells: Fix Divine Hymn crits 2011-07-15 19:57:22 +07:00
Shauren
1e3c23a4e8 Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target 2011-07-15 12:33:03 +02:00
QAston
b9413f08b3 Core/Spells: Define and implement attributes SPELL_ATTR1_CANT_BE_REDIRECTED and SPELL_ATTR1_CANT_BE_REFLECTED, fixes some problems with Grounding Totem and Spell Reflection. 2011-07-13 20:14:55 +02:00
QAston
5b1d170272 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2011-07-13 17:22:04 +02:00
QAston
20e8c25b48 Core/Spells: Define and implement attribute SPELL_ATTR3_CANT_TRIGGER_PROC, change names of some attributes to better describe their functionality. 2011-07-13 17:18:04 +02:00
tobmaps
2400a8a1dd Core/Spells: Fix Beacon of Light in more correct way 2011-07-13 05:48:14 +07:00
Sarjuuk
1d5fbc3830 Core/Spells: Fix combat log bugs with Beacon of Light 2011-07-13 05:23:40 +07:00
Spp-
f441a159b1 Cosmetic: Some cosmetic changes in Unit.cpp and conversion of pVictim to victim 2011-07-12 13:18:18 +02:00
Machiavelli
145ff66382 Core/Entities: MOVEMENTFLAG_ROOT in conjunction with MOVEMENTFLAG_FALLING will cause client freezes, so make them mutually exclusive. 2011-07-12 00:22:38 +02:00
QAston
58c63f4cc5 Core/Spells: Breaking news: Spell Reflection cannot reflect abilities (patch 1.2 change) 2011-07-11 22:54:18 +02:00
QAston
72ea9c9fa8 Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code. 2011-07-10 13:13:02 +02:00
Shauren
d12194a006 Core/Units: Removed unused vehicle check 2011-07-08 18:16:28 +02:00
Spp-
e3729950b9 Core: Rename GetDispellMask to GetDispelMask 2011-07-06 13:21:39 +02:00
Shocker
8eea1ef807 Core/Achievements: ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL should be triggered by pet and controlled vehicle kill too 2011-07-05 01:19:07 +03:00
Nay
d6782fa826 Core/Misc: Refactor SendPlaySpellVisual and SendPlaySpellImpact and move them to Unit (from Spell) 2011-07-04 14:46:48 +01:00
QAston
1068583172 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-07-02 16:12:43 +02:00
QAston
86dde83dda Core/Spells: Define many unknown SpellCastTargetFlags enum values, rename some target type enum values to follow standards, also correctly implement TARGET_UNIT_TARGET_PASSENGER. 2011-07-02 16:12:19 +02:00
Shauren
f3dfa8066a Scripts/Icecrown Citadel
* Fixed combat logs for Essence of the Blood Queen healing
* Added missing initialization for weekly quest status Blood Quickening
* Build fix for previous revision
2011-07-02 14:05:40 +02:00
Spp-
bb921ae78c Core: Do not use STL container size method to check if container is empty 2011-07-01 14:58:44 +02:00
click
a9c9ab0efa Core: Clean up script variables to make variables consistant/standardized, and some additional warning-removals:
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
2011-07-01 03:00:39 +02:00
QAston
fb9719c653 Core/Spells: Define SPELL_ATTR0_ABILITY (old SPELL_ATTR0_UNK4) 2011-06-30 01:47:09 +02:00
tobmaps
c42db7af8c Core/Misc: Minor cleanup and code style fixes 2011-06-28 23:48:59 +07:00