mik1893
df744c75e7
Core/Spell: Triggered spells should inherit LOS checking from triggering aura
...
Avoid triggered spells to ignore LOS by default
Fixed wrong behaviour of Bladestorm spell
2014-08-25 17:16:02 +02:00
jackpoz
7fe7f30521
Core/Misc: Fix some -Wconversion warnings
2014-08-23 19:56:41 +02:00
Duarte Duarte
1255434882
Merge pull request #12885 from mik1893/channel_pushback
...
Core/Spells: Channeled spell pushback is now affected by haste
Closes #12879
2014-08-23 14:16:22 +01:00
mik1893
f2b5ac87f0
Core/Spells: Channeled spell pushback is now affected by haste
2014-08-19 18:48:58 +02:00
joschiwald
ccfa82e7d5
Core/Creature: update creature_template and some other small things
...
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-14 16:09:14 +02:00
MrSmite
5dcf111150
Fix pet spell cooldown being extended without successful cast
...
Closes #12560
2014-08-10 04:51:46 -04:00
DDuarte
df3b08d140
Core/Server: Use nullptr instead of 0 where pointers are expected
2014-08-09 21:32:26 +01:00
Shauren
e4d6d34f6e
Core/Spells: Fixed LoS checks for spells like shadowfury
2014-08-04 18:56:17 +02:00
Duarte Duarte
02a3b3d949
Core/Spell: Correct the hit and miss counters in WriteSpellGoTargets
...
Fixes a client crash when spells hit (or miss) more than 255 targets (it was capped at 256 in 80b61fa584 )
Thanks to @joschiwald for finding the mistake
Closes #12733
2014-08-03 17:55:13 +01:00
DDuarte
8e385ca6d9
Core/Spells: Fix an issue with previous commit ( a309ca9727)
2014-07-25 14:04:12 +01:00
Warpten
a309ca9727
Core/Spells: Fixed issues with Death and Decay and similar spells not ticking if players stepping in the AoE are not in LoS with the caster.
...
Not exactly sure if that behavior should *exactly* be as such, but until more informations ...
2014-07-25 14:47:07 +02:00
Shauren
7532864264
Buildsystem/MSVC: Warning fixes
...
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)
C4127 conditional expression is constant
2014-07-17 15:42:57 +02:00
Subv
dfdc19f3bc
Merge branch master into boost
...
Conflicts:
BattlegroundMgr.h
2014-07-13 16:52:38 -05:00
Trisjdc
124398feef
Core/Spells: Improve charge path logic, get a point to the target and then reduce it by the necessary distance
2014-07-04 22:22:28 +01:00
jackpoz
4302226a85
Core/Spells: Fix Charge pathing
...
Fallback to "straight path" pathing when raycast doesn't find a valid path.
Fixes #7931
2014-07-04 22:00:46 +02:00
joschiwald
7b74a725c8
Core/Spells: fixed Deep Freeze after 2a3546ca36
...
Closes #12424
2014-07-03 22:32:41 +02:00
Trisjdc
531de49fe7
Core/Spells: Spells which do not apply auras should not apply DR
...
- Solves issue where Intimidating Shout applied DR twice on the main target
2014-07-03 00:42:55 +01:00
Trisjdc
78ffaf6ca6
Core/Spells: Implement CREATURE_TYPEFLAGS_PROJECTILE_COLLISION, and solve some targeting problems with TARGET_DEST_TRAJ
2014-06-27 16:58:46 +01:00
Shauren
74850abcfc
Core/Loot: Skinning improvements
...
* Set skinnable flag only after all loot was taken
* Creatures are skinnable only once - after skinning, the player only has to loot the creature again if he did not take all skinning loot
2014-06-26 22:01:55 +02:00
Subv
a0fedd1d78
Core/Skinning: Fixed the creatures becoming non-skinnable even before looting them completely.
...
Closes #5318
2014-06-24 20:04:26 -05:00
Trisjdc
aca3795fa7
Core/Spells: Skip adding CAST_FLAG_RUNE_LIST to rune spells if it's a triggered cast. Solves some of the occasional Death Knight rune visual issues
2014-06-15 15:00:56 +01:00
Trisjdc
4615aa60a5
Core/Spells: Define and implement CAST_FLAG_NO_GCD
2014-06-15 14:49:03 +01:00
Trisjdc
4992c0290b
Core/Spells: Change haste benefit to cast time formulas, may need further correction
...
- With these changes, Paladin/Death Knight mount summons will no longer benefit from haste
2014-06-12 20:03:52 +01:00
Sebastian Valle Herrera
d0c9ac1d69
Merge pull request #12228 from Unholychick/patch_periodics
...
Core/Spells: Implement Periodic mechanics
2014-06-08 13:13:14 -05:00
Unholychick
d4bbc26261
Core/Spells: Implement Periodic mechanics
...
Change behaviour of single target periodic aura ticks to be more blizzlike
Also add some missing handling of SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
Fixes Deep wounds and Chimera Shot Serpent
Remove an ancient hack with Drain Soul, spell id 100001 can now be deleted from spell_dbc table
Allows Rolling dot mechanics and allows DK's to roll diseases with pestilence,
see link for info:
http://forums.elitistjerks.com/topic/82503-frost-dps-in-333this-will-be-a-day-long-remembered/page-88
2014-06-07 19:13:57 +02:00
Trisjdc
afb7c705c2
Core/Spells: *Properly* solve the Disarm vs Bladestorm issue
2014-06-05 11:48:43 +01:00
jackpoz
f091713086
Core/Misc: Fix typo
...
Fix typos about the word "Resurrect"
2014-05-24 18:25:53 +02:00
jackpoz
32386be8e7
Merge pull request #12021 from Trisjdc/spell_target_dest
...
Core/Spells: Replace MovePosition by MovePositionToFirstCollision in spell dest target handling.
2014-05-13 21:02:07 +02:00
Trisjdc
11f6eb91c0
Core/Spells: Fix fishing on areas with liquid data but no valid height
2014-05-11 14:43:12 +01:00
Trisjdc
cb7668ab5a
Core/Spells: Replace MovePosition by MovePositionToFirstCollision in spell dest target handling.
...
- Solves issues such as being able to summon creatures inside terrain/gameobjects, being able to fall through terrain by using Shadowstep/Feral Charge (Cat), and much more
2014-05-07 11:58:08 +01:00
jackpoz
2878b0d105
Core/Misc: Fix enchants broken in 3aca9e64b3
...
Compare cast item entry instead of checking cast item spells to fix the exploit mentioned in 3aca9e64b3 without breaking any functionality.
2014-05-05 20:05:33 +02:00
jackpoz
1c0c163485
Core/Misc: Fix warning
2014-05-04 14:03:42 +02:00
jackpoz
3aca9e64b3
Core/Misc: Fix exploit
...
Fix exploit that allowed to learn spells from recipes without consuming them.
2014-05-04 13:41:07 +02:00
jackpoz
720c3cbbd0
Core/Misc: Fix exploit
...
Fix exploit that allowed to duplicate stackable splitable items. If the item that cast the spell can't be found anymore, the spell is cancelled.
Fixes https://github.com/TrinityCore/TrinityCore/issues/11977
2014-05-03 21:22:12 +02:00
jackpoz
2585e799f9
Core/Misc: Change how Position struct is retrieved
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bcaf9 changes by return a Position object instead of accepting a Position parameter by reference.
2014-04-25 21:19:30 +02:00
Shauren
3a1a55bb0a
Core/Spells: Fixed target selection hooks running twice for each effect if both target A and B were using the same hook type (OnObjectAreaTargetSelect, OnObjectTargetSelect, OnDestinationTargetSelect)
2014-03-22 21:39:38 +01:00
Shauren
0758c47491
Core/Spells: Fixed crash happening when a spell script set target to NULL in OnObjectTargetSelect hook for spells using nearby target selection
2014-03-22 16:35:11 +01:00
jackpoz
6dcd8c8545
Core/Misc: Fix some static analysis issues
...
Fix some static analysis issues about:
- uninitialized values, most of which are false positives, always initialized before being accessed
- unchecked return values
- dead code never executed
- bad formatting leading to wrong behavior
Please ensure EventMap is never used with event id set to 0 or those events will never execute.
2014-03-22 14:54:32 +01:00
jackpoz
272009ebee
Core/MMAPs: Add support for raycast
...
Add an optional parameter "straightLine" to PathGenerator::CalculatePath() which will use raycast instead of path finding and will return only complete path from start to end position.
Implement this new type of path in SPELL_EFFECT_CHARGE , fixing strange behaviors when using Charge with mmaps enabled.
2014-02-24 21:01:50 +01:00
jackpoz
84e73448f2
Core/Spells: Possible crash fix
...
Get Unit target with the proper method instead of retrieving Object target and then casting it to Unit, possible dereferencing NULL.
Updates #11560
2014-02-06 22:11:06 +01:00
Shauren
d006f4b734
Core/Spells: Fixed AoE damage reduction auras, original patch by @Unholychick
2014-02-04 11:31:13 +01:00
joschiwald
acd46085d1
Core/Spells: drop last leftovers of hardcoded spell target selection and move it into spellscripts
...
Closes #1719
Closes #3186
2014-01-30 02:40:12 +01:00
joschiwald
fbddda52e7
Core/Spells: move more spells to spellscripts
2014-01-26 02:24:57 +01:00
joschiwald
96060bf007
Core/Spells: move some spells so spellscripts
2014-01-26 01:02:20 +01:00
joschiwald
a5b04e06f7
Core/SpellScripts: Implemeted SpellScript hook OnDestinationTargetSelect to easier modify SpellDestinations
2014-01-23 18:15:59 +01:00
jackpoz
8fcfabe784
Core/Spells: Fix potions cooldown in combat
...
Fix a cooldown issue related to potions allowing Players in combat to use more than 1 potion in a row, especially with high latency.
This also fixes an exploit about using infinite potions in combat just by skipping the client-side check.
The original implementation c064c2e2e1 was missing a check in Spell::CheckCast() about this particular case since Potion cooldown is added only after the Player goes out of combat.
Fixes #1259 .
2014-01-10 22:39:08 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Malcrom
fe95371d9a
Core/Scripting: Replace casted with cast as casted is not a word.
2013-12-25 14:16:55 -03:30
Shauren
a316b86a79
Core/Spells: Prevent adding sockets to items that have 3 sockets in item_template or already had a socket added to them
2013-12-23 14:25:34 +01:00
jackpoz
ca6b9df261
Core/Misc: Fix some static analysis issues
...
Fix some static analysis issues about uninitialized values.
2013-12-14 19:36:43 +01:00