diff options
| author | Subv <s.v.h21@hotmail.com> | 2012-08-12 20:04:47 -0500 |
|---|---|---|
| committer | Subv <s.v.h21@hotmail.com> | 2012-08-12 20:04:47 -0500 |
| commit | 29f8c1781bc711fa209113962aea58770474366c (patch) | |
| tree | cd1d28ad2c391a4ef4eefc5019261dd92606be31 /src/server/game/Spells/Spell.cpp | |
| parent | 5cc8bc200b2419b552a478b3a3cea3a78463a3ab (diff) | |
Core/Spells: Fixed:
* Hot Streak
* Improved Hot Streak
* Ignite
* And more
* Removed some old scripts, and updated some more
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rwxr-xr-x | src/server/game/Spells/Spell.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 5439007702c..fba3384b17b 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -3368,7 +3368,7 @@ void Spell::handle_immediate() // Remove used for cast item if need (it can be already NULL after TakeReagents call TakeCastItem(); - // handle ammo consumption for Hunter's volley spell + // handle ammo consumption for thrown weapons if (m_spellInfo->IsRangedWeaponSpell() && m_spellInfo->IsChanneled()) TakeAmmo(); @@ -4430,8 +4430,7 @@ void Spell::TakeAmmo() else { // decrease items amount for stackable throw weapon - uint32 count = 1; - m_caster->ToPlayer()->DestroyItemCount(pItem, count, true); + m_caster->ToPlayer()->DestroyItemCount(pItem, 1, true); } } } |
