Compare commits
3 Commits
e4df02af41
...
2761c15bd1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2761c15bd1 | ||
|
|
f6c4164765 | ||
|
|
d0c1832f34 |
@ -28,3 +28,4 @@ git clone --depth=1 --branch=master https://github.com/azerothcore/mod-server-au
|
||||
git clone --depth=1 --branch=master https://github.com/azerothcore/mod-transmog.git modules/mod-transmog
|
||||
git clone --depth=1 --branch=main https://github.com/azerothcore/mod-progression-system.git modules/mod-progression-system
|
||||
git clone --depth=1 --branch=master https://github.com/azerothcore/mod-arena-3v3-solo-queue.git modules/mod-arena-3v3-solo-queue
|
||||
git clone --depth=1 --branch=master https://github.com/azerothcore/mod-costumes.git modules/mod-costumes
|
||||
|
||||
@ -5408,7 +5408,11 @@ void Spell::TakeAmmo()
|
||||
}
|
||||
}
|
||||
else if (uint32 ammo = m_caster->ToPlayer()->GetUInt32Value(PLAYER_AMMO_ID))
|
||||
m_caster->ToPlayer()->DestroyItemCount(ammo, 1, true);
|
||||
// Handling of explosive shot ticks
|
||||
if (!(m_spellInfo->Id == 53352))
|
||||
{
|
||||
m_caster->ToPlayer()->DestroyItemCount(ammo, 1, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -8277,6 +8281,13 @@ void Spell::HandleLaunchPhase()
|
||||
|
||||
PrepareTargetProcessing();
|
||||
|
||||
// Handling of explosive shot initial cast without LnL proc
|
||||
if ((m_spellInfo->SpellFamilyFlags[1] & 0x80000000) != 0 && !m_caster->HasAura(56453))
|
||||
{
|
||||
TakeAmmo();
|
||||
usesAmmo = false;
|
||||
}
|
||||
|
||||
for (std::list<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)
|
||||
{
|
||||
TargetInfo& target = *ihit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user