mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
Scripts/Spells: Gift of the Harvester (#24111)
* Scripts/Spells: Gift of the Harvester
* Scripts/Spells: nopch
* Scripts/Spells: nopch
* Scripts/Spells: validate
* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit e10239311c)
This commit is contained in:
@@ -3067,11 +3067,6 @@ void Spell::EffectScriptEffect()
|
||||
if (unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->IsSummon())
|
||||
unitTarget->ToTempSummon()->UnSummon();
|
||||
return;
|
||||
case 52479: // Gift of the Harvester
|
||||
if (unitTarget && unitCaster)
|
||||
unitCaster->CastSpell(unitTarget, urand(0, 1) ? damage : 52505, CastSpellExtraArgs(TRIGGERED_FULL_MASK)
|
||||
.SetOriginalCastId(m_castId));
|
||||
return;
|
||||
case 57347: // Retrieving (Wintergrasp RP-GG pickup spell)
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
|
||||
Reference in New Issue
Block a user