*Apply tenacity buff on vehicles of wintergrasp.
*Fix the bug that tenacity is not applied on horde players. --HG-- branch : trunk
This commit is contained in:
1 parent
afd79d7ebf
commit
13fd9ea601
5 files changed
+80
-14
No files matched your search
@@ -3295,7 +3295,8 @@ void Spell::EffectSummonType(uint32 i)
|
||||
return;
|
||||
|
||||
//vehicle->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_caster->GetGUID());
|
||||
vehicle->setFaction(m_caster->getFaction());
|
||||
if(m_originalCaster)
|
||||
vehicle->setFaction(m_originalCaster->getFaction());
|
||||
vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user