Skip to content

Commit

Permalink
Spell 1961 support
Browse files Browse the repository at this point in the history
Spell ID: 1961  should have a summon limit of 1.

Thanks @H0zen
  • Loading branch information
Necrovoice committed Nov 8, 2019
1 parent 579755f commit 10f3e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/WorldHandlers/SpellEffects.cpp
Expand Up @@ -5379,7 +5379,7 @@ void Spell::EffectSummonType(SpellEffectIndex eff_idx)
uint32 amount = damage > 0 ? damage : 1;

// basepoints of SUMMON_PROP_GROUP_VEHICLE is often a spellId, set amount to 1
if (summon_prop->Group == SUMMON_PROP_GROUP_VEHICLE)
if ((summon_prop->Group == SUMMON_PROP_GROUP_VEHICLE) || (prop_id == 1961))
amount = 1;

// Expected Level (Totem, Pet and Critter may not use this)
Expand Down

0 comments on commit 10f3e12

Please sign in to comment.